| 1 |
typedef unsigned int size_t; |
= |
1 |
typedef unsigned int size_t; |
| 2 |
typedef unsigned char __u_char; |
|
2 |
typedef unsigned char __u_char; |
| 3 |
typedef unsigned short __u_short; |
|
3 |
typedef unsigned short __u_short; |
| 4 |
typedef unsigned int __u_int; |
|
4 |
typedef unsigned int __u_int; |
| 5 |
typedef unsigned long __u_long; |
|
5 |
typedef unsigned long __u_long; |
| 6 |
typedef signed char __int8_t; |
|
6 |
typedef signed char __int8_t; |
| 7 |
typedef unsigned char __uint8_t; |
|
7 |
typedef unsigned char __uint8_t; |
| 8 |
typedef short __int16_t; |
|
8 |
typedef short __int16_t; |
| 9 |
typedef unsigned short __uint16_t; |
|
9 |
typedef unsigned short __uint16_t; |
| 10 |
typedef int __int32_t; |
|
10 |
typedef int __int32_t; |
| 11 |
typedef unsigned int __uint32_t; |
|
11 |
typedef unsigned int __uint32_t; |
| 12 |
typedef long long __int64_t; |
|
12 |
typedef long long __int64_t; |
| 13 |
typedef unsigned long long __uint64_t; |
|
13 |
typedef unsigned long long __uint64_t; |
| 14 |
typedef long long __quad_t; |
|
14 |
typedef long long __quad_t; |
| 15 |
typedef unsigned long long __u_quad_t; |
|
15 |
typedef unsigned long long __u_quad_t; |
| 16 |
typedef __u_quad_t __dev_t; |
|
16 |
typedef __u_quad_t __dev_t; |
| 17 |
typedef unsigned int __uid_t; |
|
17 |
typedef unsigned int __uid_t; |
| 18 |
typedef unsigned int __gid_t; |
|
18 |
typedef unsigned int __gid_t; |
| 19 |
typedef unsigned long __ino_t; |
|
19 |
typedef unsigned long __ino_t; |
| 20 |
typedef __u_quad_t __ino64_t; |
|
20 |
typedef __u_quad_t __ino64_t; |
| 21 |
typedef unsigned int __mode_t; |
|
21 |
typedef unsigned int __mode_t; |
| 22 |
typedef unsigned int __nlink_t; |
|
22 |
typedef unsigned int __nlink_t; |
| 23 |
typedef long __off_t; |
|
23 |
typedef long __off_t; |
| 24 |
typedef __quad_t __off64_t; |
|
24 |
typedef __quad_t __off64_t; |
| 25 |
typedef int __pid_t; |
|
25 |
typedef int __pid_t; |
| 26 |
struct __anonstruct___fsid_t_1 { |
|
26 |
struct __anonstruct___fsid_t_1 { |
| 27 |
int __val[2] ; |
|
27 |
int __val[2] ; |
| 28 |
}; |
|
28 |
}; |
| 29 |
typedef struct __anonstruct___fsid_t_1 __fsid_t; |
|
29 |
typedef struct __anonstruct___fsid_t_1 __fsid_t; |
| 30 |
typedef long __clock_t; |
|
30 |
typedef long __clock_t; |
| 31 |
typedef unsigned long __rlim_t; |
|
31 |
typedef unsigned long __rlim_t; |
| 32 |
typedef __u_quad_t __rlim64_t; |
|
32 |
typedef __u_quad_t __rlim64_t; |
| 33 |
typedef unsigned int __id_t; |
|
33 |
typedef unsigned int __id_t; |
| 34 |
typedef long __time_t; |
|
34 |
typedef long __time_t; |
| 35 |
typedef unsigned int __useconds_t; |
|
35 |
typedef unsigned int __useconds_t; |
| 36 |
typedef long __suseconds_t; |
|
36 |
typedef long __suseconds_t; |
| 37 |
typedef int __daddr_t; |
|
37 |
typedef int __daddr_t; |
| 38 |
typedef long __swblk_t; |
|
38 |
typedef long __swblk_t; |
| 39 |
typedef int __key_t; |
|
39 |
typedef int __key_t; |
| 40 |
typedef int __clockid_t; |
|
40 |
typedef int __clockid_t; |
| 41 |
typedef void *__timer_t; |
|
41 |
typedef void *__timer_t; |
| 42 |
typedef long __blksize_t; |
|
42 |
typedef long __blksize_t; |
| 43 |
typedef long __blkcnt_t; |
|
43 |
typedef long __blkcnt_t; |
| 44 |
typedef __quad_t __blkcnt64_t; |
|
44 |
typedef __quad_t __blkcnt64_t; |
| 45 |
typedef unsigned long __fsblkcnt_t; |
|
45 |
typedef unsigned long __fsblkcnt_t; |
| 46 |
typedef __u_quad_t __fsblkcnt64_t; |
|
46 |
typedef __u_quad_t __fsblkcnt64_t; |
| 47 |
typedef unsigned long __fsfilcnt_t; |
|
47 |
typedef unsigned long __fsfilcnt_t; |
| 48 |
typedef __u_quad_t __fsfilcnt64_t; |
|
48 |
typedef __u_quad_t __fsfilcnt64_t; |
| 49 |
typedef int __ssize_t; |
|
49 |
typedef int __ssize_t; |
| 50 |
typedef __off64_t __loff_t; |
|
50 |
typedef __off64_t __loff_t; |
| 51 |
typedef __quad_t *__qaddr_t; |
|
51 |
typedef __quad_t *__qaddr_t; |
| 52 |
typedef char *__caddr_t; |
|
52 |
typedef char *__caddr_t; |
| 53 |
typedef int __intptr_t; |
|
53 |
typedef int __intptr_t; |
| 54 |
typedef unsigned int __socklen_t; |
|
54 |
typedef unsigned int __socklen_t; |
| 55 |
struct _IO_FILE; |
|
55 |
struct _IO_FILE; |
| 56 |
struct _IO_FILE; |
|
56 |
struct _IO_FILE; |
| 57 |
typedef struct _IO_FILE FILE; |
|
57 |
typedef struct _IO_FILE FILE; |
| 58 |
typedef struct _IO_FILE __FILE; |
|
58 |
typedef struct _IO_FILE __FILE; |
| 59 |
union __anonunion___value_3 { |
|
59 |
union __anonunion___value_3 { |
| 60 |
unsigned int __wch ; |
|
60 |
unsigned int __wch ; |
| 61 |
char __wchb[4] ; |
|
61 |
char __wchb[4] ; |
| 62 |
}; |
|
62 |
}; |
| 63 |
struct __anonstruct___mbstate_t_2 { |
|
63 |
struct __anonstruct___mbstate_t_2 { |
| 64 |
int __count ; |
|
64 |
int __count ; |
| 65 |
union __anonunion___value_3 __value ; |
|
65 |
union __anonunion___value_3 __value ; |
| 66 |
}; |
|
66 |
}; |
| 67 |
typedef struct __anonstruct___mbstate_t_2 __mbstate_t; |
|
67 |
typedef struct __anonstruct___mbstate_t_2 __mbstate_t; |
| 68 |
struct __anonstruct__G_fpos_t_4 { |
|
68 |
struct __anonstruct__G_fpos_t_4 { |
| 69 |
__off_t __pos ; |
|
69 |
__off_t __pos ; |
| 70 |
__mbstate_t __state ; |
|
70 |
__mbstate_t __state ; |
| 71 |
}; |
|
71 |
}; |
| 72 |
typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t; |
|
72 |
typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t; |
| 73 |
struct __anonstruct__G_fpos64_t_5 { |
|
73 |
struct __anonstruct__G_fpos64_t_5 { |
| 74 |
__off64_t __pos ; |
|
74 |
__off64_t __pos ; |
| 75 |
__mbstate_t __state ; |
|
75 |
__mbstate_t __state ; |
| 76 |
}; |
|
76 |
}; |
| 77 |
typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t; |
|
77 |
typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t; |
| 78 |
typedef short _G_int16_t; |
|
78 |
typedef short _G_int16_t; |
| 79 |
typedef int _G_int32_t; |
|
79 |
typedef int _G_int32_t; |
| 80 |
typedef unsigned short _G_uint16_t; |
|
80 |
typedef unsigned short _G_uint16_t; |
| 81 |
typedef unsigned int _G_uint32_t; |
|
81 |
typedef unsigned int _G_uint32_t; |
| 82 |
typedef __builtin_va_list __gnuc_va_list; |
|
82 |
typedef __builtin_va_list __gnuc_va_list; |
| 83 |
struct _IO_jump_t; |
|
83 |
struct _IO_jump_t; |
| 84 |
struct _IO_jump_t; |
|
84 |
struct _IO_jump_t; |
| 85 |
struct _IO_FILE; |
|
85 |
struct _IO_FILE; |
| 86 |
typedef void _IO_lock_t; |
|
86 |
typedef void _IO_lock_t; |
| 87 |
struct _IO_marker { |
|
87 |
struct _IO_marker { |
| 88 |
struct _IO_marker *_next ; |
|
88 |
struct _IO_marker *_next ; |
| 89 |
struct _IO_FILE *_sbuf ; |
|
89 |
struct _IO_FILE *_sbuf ; |
| 90 |
int _pos ; |
|
90 |
int _pos ; |
| 91 |
}; |
|
91 |
}; |
| 92 |
enum __codecvt_result { |
|
92 |
enum __codecvt_result { |
| 93 |
__codecvt_ok = 0, |
|
93 |
__codecvt_ok = 0, |
| 94 |
__codecvt_partial = 1, |
|
94 |
__codecvt_partial = 1, |
| 95 |
__codecvt_error = 2, |
|
95 |
__codecvt_error = 2, |
| 96 |
__codecvt_noconv = 3 |
|
96 |
__codecvt_noconv = 3 |
| 97 |
} ; |
|
97 |
} ; |
| 98 |
struct _IO_FILE { |
|
98 |
struct _IO_FILE { |
| 99 |
int _flags ; |
|
99 |
int _flags ; |
| 100 |
char *_IO_read_ptr ; |
|
100 |
char *_IO_read_ptr ; |
| 101 |
char *_IO_read_end ; |
|
101 |
char *_IO_read_end ; |
| 102 |
char *_IO_read_base ; |
|
102 |
char *_IO_read_base ; |
| 103 |
char *_IO_write_base ; |
|
103 |
char *_IO_write_base ; |
| 104 |
char *_IO_write_ptr ; |
|
104 |
char *_IO_write_ptr ; |
| 105 |
char *_IO_write_end ; |
|
105 |
char *_IO_write_end ; |
| 106 |
char *_IO_buf_base ; |
|
106 |
char *_IO_buf_base ; |
| 107 |
char *_IO_buf_end ; |
|
107 |
char *_IO_buf_end ; |
| 108 |
char *_IO_save_base ; |
|
108 |
char *_IO_save_base ; |
| 109 |
char *_IO_backup_base ; |
|
109 |
char *_IO_backup_base ; |
| 110 |
char *_IO_save_end ; |
|
110 |
char *_IO_save_end ; |
| 111 |
struct _IO_marker *_markers ; |
|
111 |
struct _IO_marker *_markers ; |
| 112 |
struct _IO_FILE *_chain ; |
|
112 |
struct _IO_FILE *_chain ; |
| 113 |
int _fileno ; |
|
113 |
int _fileno ; |
| 114 |
int _flags2 ; |
|
114 |
int _flags2 ; |
| 115 |
__off_t _old_offset ; |
|
115 |
__off_t _old_offset ; |
| 116 |
unsigned short _cur_column ; |
|
116 |
unsigned short _cur_column ; |
| 117 |
signed char _vtable_offset ; |
|
117 |
signed char _vtable_offset ; |
| 118 |
char _shortbuf[1] ; |
|
118 |
char _shortbuf[1] ; |
| 119 |
_IO_lock_t *_lock ; |
|
119 |
_IO_lock_t *_lock ; |
| 120 |
__off64_t _offset ; |
|
120 |
__off64_t _offset ; |
| 121 |
void *__pad1 ; |
|
121 |
void *__pad1 ; |
| 122 |
void *__pad2 ; |
|
122 |
void *__pad2 ; |
| 123 |
void *__pad3 ; |
|
123 |
void *__pad3 ; |
| 124 |
void *__pad4 ; |
|
124 |
void *__pad4 ; |
| 125 |
size_t __pad5 ; |
|
125 |
size_t __pad5 ; |
| 126 |
int _mode ; |
|
126 |
int _mode ; |
| 127 |
char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ; |
|
127 |
char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ; |
| 128 |
}; |
|
128 |
}; |
| 129 |
typedef struct _IO_FILE _IO_FILE; |
|
129 |
typedef struct _IO_FILE _IO_FILE; |
| 130 |
struct _IO_FILE_plus; |
|
130 |
struct _IO_FILE_plus; |
| 131 |
struct _IO_FILE_plus; |
|
131 |
struct _IO_FILE_plus; |
| 132 |
typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes ); |
|
132 |
typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes ); |
| 133 |
typedef __ssize_t __io_write_fn(void *__cookie , char const *__buf , |
|
133 |
typedef __ssize_t __io_write_fn(void *__cookie , char const *__buf , |
| 134 |
size_t __n ); |
|
134 |
size_t __n ); |
| 135 |
typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w ); |
|
135 |
typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w ); |
| 136 |
typedef int __io_close_fn(void *__cookie ); |
|
136 |
typedef int __io_close_fn(void *__cookie ); |
| 137 |
typedef __gnuc_va_list va_list; |
|
137 |
typedef __gnuc_va_list va_list; |
| 138 |
typedef __off_t off_t; |
|
138 |
typedef __off_t off_t; |
| 139 |
typedef __ssize_t ssize_t; |
|
139 |
typedef __ssize_t ssize_t; |
| 140 |
typedef _G_fpos_t fpos_t; |
|
140 |
typedef _G_fpos_t fpos_t; |
| 141 |
typedef long wchar_t; |
|
141 |
typedef long wchar_t; |
| 142 |
struct __anonstruct___wait_terminated_6 { |
|
142 |
struct __anonstruct___wait_terminated_6 { |
| 143 |
unsigned int __w_termsig : 7 ; |
|
143 |
unsigned int __w_termsig : 7 ; |
| 144 |
unsigned int __w_coredump : 1 ; |
|
144 |
unsigned int __w_coredump : 1 ; |
| 145 |
unsigned int __w_retcode : 8 ; |
|
145 |
unsigned int __w_retcode : 8 ; |
| 146 |
unsigned int : 16 ; |
|
146 |
unsigned int : 16 ; |
| 147 |
}; |
|
147 |
}; |
| 148 |
struct __anonstruct___wait_stopped_7 { |
|
148 |
struct __anonstruct___wait_stopped_7 { |
| 149 |
unsigned int __w_stopval : 8 ; |
|
149 |
unsigned int __w_stopval : 8 ; |
| 150 |
unsigned int __w_stopsig : 8 ; |
|
150 |
unsigned int __w_stopsig : 8 ; |
| 151 |
unsigned int : 16 ; |
|
151 |
unsigned int : 16 ; |
| 152 |
}; |
|
152 |
}; |
| 153 |
union wait { |
|
153 |
union wait { |
| 154 |
int w_status ; |
|
154 |
int w_status ; |
| 155 |
struct __anonstruct___wait_terminated_6 __wait_terminated ; |
|
155 |
struct __anonstruct___wait_terminated_6 __wait_terminated ; |
| 156 |
struct __anonstruct___wait_stopped_7 __wait_stopped ; |
|
156 |
struct __anonstruct___wait_stopped_7 __wait_stopped ; |
| 157 |
}; |
|
157 |
}; |
| 158 |
union __anonunion___WAIT_STATUS_8 { |
|
158 |
union __anonunion___WAIT_STATUS_8 { |
| 159 |
union wait *__uptr ; |
|
159 |
union wait *__uptr ; |
| 160 |
int *__iptr ; |
|
160 |
int *__iptr ; |
| 161 |
}; |
|
161 |
}; |
| 162 |
typedef union __anonunion___WAIT_STATUS_8 __attribute__((__transparent_union__)) __WAIT_STATUS; |
|
162 |
typedef union __anonunion___WAIT_STATUS_8 __attribute__((__transparent_union__)) __WAIT_STATUS; |
| 163 |
struct __anonstruct_div_t_9 { |
|
163 |
struct __anonstruct_div_t_9 { |
| 164 |
int quot ; |
|
164 |
int quot ; |
| 165 |
int rem ; |
|
165 |
int rem ; |
| 166 |
}; |
|
166 |
}; |
| 167 |
typedef struct __anonstruct_div_t_9 div_t; |
|
167 |
typedef struct __anonstruct_div_t_9 div_t; |
| 168 |
struct __anonstruct_ldiv_t_10 { |
|
168 |
struct __anonstruct_ldiv_t_10 { |
| 169 |
long quot ; |
|
169 |
long quot ; |
| 170 |
long rem ; |
|
170 |
long rem ; |
| 171 |
}; |
|
171 |
}; |
| 172 |
typedef struct __anonstruct_ldiv_t_10 ldiv_t; |
|
172 |
typedef struct __anonstruct_ldiv_t_10 ldiv_t; |
| 173 |
struct __anonstruct_lldiv_t_11 { |
|
173 |
struct __anonstruct_lldiv_t_11 { |
| 174 |
long long quot ; |
|
174 |
long long quot ; |
| 175 |
long long rem ; |
|
175 |
long long rem ; |
| 176 |
}; |
|
176 |
}; |
| 177 |
typedef struct __anonstruct_lldiv_t_11 lldiv_t; |
|
177 |
typedef struct __anonstruct_lldiv_t_11 lldiv_t; |
| 178 |
typedef __u_char u_char; |
|
178 |
typedef __u_char u_char; |
| 179 |
typedef __u_short u_short; |
|
179 |
typedef __u_short u_short; |
| 180 |
typedef __u_int u_int; |
|
180 |
typedef __u_int u_int; |
| 181 |
typedef __u_long u_long; |
|
181 |
typedef __u_long u_long; |
| 182 |
typedef __quad_t quad_t; |
|
182 |
typedef __quad_t quad_t; |
| 183 |
typedef __u_quad_t u_quad_t; |
|
183 |
typedef __u_quad_t u_quad_t; |
| 184 |
typedef __fsid_t fsid_t; |
|
184 |
typedef __fsid_t fsid_t; |
| 185 |
typedef __loff_t loff_t; |
|
185 |
typedef __loff_t loff_t; |
| 186 |
typedef __ino_t ino_t; |
|
186 |
typedef __ino_t ino_t; |
| 187 |
typedef __dev_t dev_t; |
|
187 |
typedef __dev_t dev_t; |
| 188 |
typedef __gid_t gid_t; |
|
188 |
typedef __gid_t gid_t; |
| 189 |
typedef __mode_t mode_t; |
|
189 |
typedef __mode_t mode_t; |
| 190 |
typedef __nlink_t nlink_t; |
|
190 |
typedef __nlink_t nlink_t; |
| 191 |
typedef __uid_t uid_t; |
|
191 |
typedef __uid_t uid_t; |
| 192 |
typedef __pid_t pid_t; |
|
192 |
typedef __pid_t pid_t; |
| 193 |
typedef __id_t id_t; |
|
193 |
typedef __id_t id_t; |
| 194 |
typedef __daddr_t daddr_t; |
|
194 |
typedef __daddr_t daddr_t; |
| 195 |
typedef __caddr_t caddr_t; |
|
195 |
typedef __caddr_t caddr_t; |
| 196 |
typedef __key_t key_t; |
|
196 |
typedef __key_t key_t; |
| 197 |
typedef __clock_t clock_t; |
|
197 |
typedef __clock_t clock_t; |
| 198 |
typedef __time_t time_t; |
|
198 |
typedef __time_t time_t; |
| 199 |
typedef __clockid_t clockid_t; |
|
199 |
typedef __clockid_t clockid_t; |
| 200 |
typedef __timer_t timer_t; |
|
200 |
typedef __timer_t timer_t; |
| 201 |
typedef unsigned long ulong; |
|
201 |
typedef unsigned long ulong; |
| 202 |
typedef unsigned short ushort; |
|
202 |
typedef unsigned short ushort; |
| 203 |
typedef unsigned int uint; |
|
203 |
typedef unsigned int uint; |
| 204 |
typedef signed char int8_t; |
|
204 |
typedef signed char int8_t; |
| 205 |
typedef short int16_t; |
|
205 |
typedef short int16_t; |
| 206 |
typedef int int32_t; |
|
206 |
typedef int int32_t; |
| 207 |
typedef long long int64_t; |
|
207 |
typedef long long int64_t; |
| 208 |
typedef unsigned char u_int8_t; |
|
208 |
typedef unsigned char u_int8_t; |
| 209 |
typedef unsigned short u_int16_t; |
|
209 |
typedef unsigned short u_int16_t; |
| 210 |
typedef unsigned int u_int32_t; |
|
210 |
typedef unsigned int u_int32_t; |
| 211 |
typedef unsigned long long u_int64_t; |
|
211 |
typedef unsigned long long u_int64_t; |
| 212 |
typedef int register_t; |
|
212 |
typedef int register_t; |
| 213 |
typedef int __sig_atomic_t; |
|
213 |
typedef int __sig_atomic_t; |
| 214 |
struct __anonstruct___sigset_t_12 { |
|
214 |
struct __anonstruct___sigset_t_12 { |
| 215 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
|
215 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
| 216 |
}; |
|
216 |
}; |
| 217 |
typedef struct __anonstruct___sigset_t_12 __sigset_t; |
|
217 |
typedef struct __anonstruct___sigset_t_12 __sigset_t; |
| 218 |
typedef __sigset_t sigset_t; |
|
218 |
typedef __sigset_t sigset_t; |
| 219 |
struct timespec { |
|
219 |
struct timespec { |
| 220 |
__time_t tv_sec ; |
|
220 |
__time_t tv_sec ; |
| 221 |
long tv_nsec ; |
|
221 |
long tv_nsec ; |
| 222 |
}; |
|
222 |
}; |
| 223 |
struct timeval { |
|
223 |
struct timeval { |
| 224 |
__time_t tv_sec ; |
|
224 |
__time_t tv_sec ; |
| 225 |
__suseconds_t tv_usec ; |
|
225 |
__suseconds_t tv_usec ; |
| 226 |
}; |
|
226 |
}; |
| 227 |
typedef __suseconds_t suseconds_t; |
|
227 |
typedef __suseconds_t suseconds_t; |
| 228 |
typedef long __fd_mask; |
|
228 |
typedef long __fd_mask; |
| 229 |
struct __anonstruct_fd_set_13 { |
|
229 |
struct __anonstruct_fd_set_13 { |
| 230 |
__fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ; |
|
230 |
__fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ; |
| 231 |
}; |
|
231 |
}; |
| 232 |
typedef struct __anonstruct_fd_set_13 fd_set; |
|
232 |
typedef struct __anonstruct_fd_set_13 fd_set; |
| 233 |
typedef __fd_mask fd_mask; |
|
233 |
typedef __fd_mask fd_mask; |
| 234 |
typedef __blksize_t blksize_t; |
|
234 |
typedef __blksize_t blksize_t; |
| 235 |
typedef __blkcnt_t blkcnt_t; |
|
235 |
typedef __blkcnt_t blkcnt_t; |
| 236 |
typedef __fsblkcnt_t fsblkcnt_t; |
|
236 |
typedef __fsblkcnt_t fsblkcnt_t; |
| 237 |
typedef __fsfilcnt_t fsfilcnt_t; |
|
237 |
typedef __fsfilcnt_t fsfilcnt_t; |
| 238 |
typedef unsigned long pthread_t; |
|
238 |
typedef unsigned long pthread_t; |
| 239 |
union __anonunion_pthread_attr_t_14 { |
|
239 |
union __anonunion_pthread_attr_t_14 { |
| 240 |
char __size[36] ; |
|
240 |
char __size[36] ; |
| 241 |
long __align ; |
|
241 |
long __align ; |
| 242 |
}; |
|
242 |
}; |
| 243 |
typedef union __anonunion_pthread_attr_t_14 pthread_attr_t; |
|
243 |
typedef union __anonunion_pthread_attr_t_14 pthread_attr_t; |
| 244 |
struct __pthread_internal_slist { |
|
244 |
struct __pthread_internal_slist { |
| 245 |
struct __pthread_internal_slist *__next ; |
|
245 |
struct __pthread_internal_slist *__next ; |
| 246 |
}; |
|
246 |
}; |
| 247 |
typedef struct __pthread_internal_slist __pthread_slist_t; |
|
247 |
typedef struct __pthread_internal_slist __pthread_slist_t; |
| 248 |
union __anonunion____missing_field_name_16 { |
|
248 |
union __anonunion____missing_field_name_16 { |
| 249 |
int __spins ; |
|
249 |
int __spins ; |
| 250 |
__pthread_slist_t __list ; |
|
250 |
__pthread_slist_t __list ; |
| 251 |
}; |
|
251 |
}; |
| 252 |
struct __pthread_mutex_s { |
|
252 |
struct __pthread_mutex_s { |
| 253 |
int __lock ; |
|
253 |
int __lock ; |
| 254 |
unsigned int __count ; |
|
254 |
unsigned int __count ; |
| 255 |
int __owner ; |
|
255 |
int __owner ; |
| 256 |
int __kind ; |
|
256 |
int __kind ; |
| 257 |
unsigned int __nusers ; |
|
257 |
unsigned int __nusers ; |
| 258 |
union __anonunion____missing_field_name_16 __annonCompField1 ; |
|
258 |
union __anonunion____missing_field_name_16 __annonCompField1 ; |
| 259 |
}; |
|
259 |
}; |
| 260 |
union __anonunion_pthread_mutex_t_15 { |
|
260 |
union __anonunion_pthread_mutex_t_15 { |
| 261 |
struct __pthread_mutex_s __data ; |
|
261 |
struct __pthread_mutex_s __data ; |
| 262 |
char __size[24] ; |
|
262 |
char __size[24] ; |
| 263 |
long __align ; |
|
263 |
long __align ; |
| 264 |
}; |
|
264 |
}; |
| 265 |
typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t; |
|
265 |
typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t; |
| 266 |
union __anonunion_pthread_mutexattr_t_17 { |
|
266 |
union __anonunion_pthread_mutexattr_t_17 { |
| 267 |
char __size[4] ; |
|
267 |
char __size[4] ; |
| 268 |
long __align ; |
|
268 |
long __align ; |
| 269 |
}; |
|
269 |
}; |
| 270 |
typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t; |
|
270 |
typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t; |
| 271 |
struct __anonstruct___data_19 { |
|
271 |
struct __anonstruct___data_19 { |
| 272 |
int __lock ; |
|
272 |
int __lock ; |
| 273 |
unsigned int __futex ; |
|
273 |
unsigned int __futex ; |
| 274 |
unsigned long long __total_seq ; |
|
274 |
unsigned long long __total_seq ; |
| 275 |
unsigned long long __wakeup_seq ; |
|
275 |
unsigned long long __wakeup_seq ; |
| 276 |
unsigned long long __woken_seq ; |
|
276 |
unsigned long long __woken_seq ; |
| 277 |
void *__mutex ; |
|
277 |
void *__mutex ; |
| 278 |
unsigned int __nwaiters ; |
|
278 |
unsigned int __nwaiters ; |
| 279 |
unsigned int __broadcast_seq ; |
|
279 |
unsigned int __broadcast_seq ; |
| 280 |
}; |
|
280 |
}; |
| 281 |
union __anonunion_pthread_cond_t_18 { |
|
281 |
union __anonunion_pthread_cond_t_18 { |
| 282 |
struct __anonstruct___data_19 __data ; |
|
282 |
struct __anonstruct___data_19 __data ; |
| 283 |
char __size[48] ; |
|
283 |
char __size[48] ; |
| 284 |
long long __align ; |
|
284 |
long long __align ; |
| 285 |
}; |
|
285 |
}; |
| 286 |
typedef union __anonunion_pthread_cond_t_18 pthread_cond_t; |
|
286 |
typedef union __anonunion_pthread_cond_t_18 pthread_cond_t; |
| 287 |
union __anonunion_pthread_condattr_t_20 { |
|
287 |
union __anonunion_pthread_condattr_t_20 { |
| 288 |
char __size[4] ; |
|
288 |
char __size[4] ; |
| 289 |
long __align ; |
|
289 |
long __align ; |
| 290 |
}; |
|
290 |
}; |
| 291 |
typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t; |
|
291 |
typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t; |
| 292 |
typedef unsigned int pthread_key_t; |
|
292 |
typedef unsigned int pthread_key_t; |
| 293 |
typedef int pthread_once_t; |
|
293 |
typedef int pthread_once_t; |
| 294 |
struct __anonstruct___data_22 { |
|
294 |
struct __anonstruct___data_22 { |
| 295 |
int __lock ; |
|
295 |
int __lock ; |
| 296 |
unsigned int __nr_readers ; |
|
296 |
unsigned int __nr_readers ; |
| 297 |
unsigned int __readers_wakeup ; |
|
297 |
unsigned int __readers_wakeup ; |
| 298 |
unsigned int __writer_wakeup ; |
|
298 |
unsigned int __writer_wakeup ; |
| 299 |
unsigned int __nr_readers_queued ; |
|
299 |
unsigned int __nr_readers_queued ; |
| 300 |
unsigned int __nr_writers_queued ; |
|
300 |
unsigned int __nr_writers_queued ; |
| 301 |
unsigned char __flags ; |
|
301 |
unsigned char __flags ; |
| 302 |
unsigned char __shared ; |
|
302 |
unsigned char __shared ; |
| 303 |
unsigned char __pad1 ; |
|
303 |
unsigned char __pad1 ; |
| 304 |
unsigned char __pad2 ; |
|
304 |
unsigned char __pad2 ; |
| 305 |
int __writer ; |
|
305 |
int __writer ; |
| 306 |
}; |
|
306 |
}; |
| 307 |
union __anonunion_pthread_rwlock_t_21 { |
|
307 |
union __anonunion_pthread_rwlock_t_21 { |
| 308 |
struct __anonstruct___data_22 __data ; |
|
308 |
struct __anonstruct___data_22 __data ; |
| 309 |
char __size[32] ; |
|
309 |
char __size[32] ; |
| 310 |
long __align ; |
|
310 |
long __align ; |
| 311 |
}; |
|
311 |
}; |
| 312 |
typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t; |
|
312 |
typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t; |
| 313 |
union __anonunion_pthread_rwlockattr_t_23 { |
|
313 |
union __anonunion_pthread_rwlockattr_t_23 { |
| 314 |
char __size[8] ; |
|
314 |
char __size[8] ; |
| 315 |
long __align ; |
|
315 |
long __align ; |
| 316 |
}; |
|
316 |
}; |
| 317 |
typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t; |
|
317 |
typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t; |
| 318 |
typedef int volatile pthread_spinlock_t; |
|
318 |
typedef int volatile pthread_spinlock_t; |
| 319 |
union __anonunion_pthread_barrier_t_24 { |
|
319 |
union __anonunion_pthread_barrier_t_24 { |
| 320 |
char __size[20] ; |
|
320 |
char __size[20] ; |
| 321 |
long __align ; |
|
321 |
long __align ; |
| 322 |
}; |
|
322 |
}; |
| 323 |
typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t; |
|
323 |
typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t; |
| 324 |
union __anonunion_pthread_barrierattr_t_25 { |
|
324 |
union __anonunion_pthread_barrierattr_t_25 { |
| 325 |
char __size[4] ; |
|
325 |
char __size[4] ; |
| 326 |
int __align ; |
|
326 |
int __align ; |
| 327 |
}; |
|
327 |
}; |
| 328 |
typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t; |
|
328 |
typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t; |
| 329 |
struct random_data { |
|
329 |
struct random_data { |
| 330 |
int32_t *fptr ; |
|
330 |
int32_t *fptr ; |
| 331 |
int32_t *rptr ; |
|
331 |
int32_t *rptr ; |
| 332 |
int32_t *state ; |
|
332 |
int32_t *state ; |
| 333 |
int rand_type ; |
|
333 |
int rand_type ; |
| 334 |
int rand_deg ; |
|
334 |
int rand_deg ; |
| 335 |
int rand_sep ; |
|
335 |
int rand_sep ; |
| 336 |
int32_t *end_ptr ; |
|
336 |
int32_t *end_ptr ; |
| 337 |
}; |
|
337 |
}; |
| 338 |
struct drand48_data { |
|
338 |
struct drand48_data { |
| 339 |
unsigned short __x[3] ; |
|
339 |
unsigned short __x[3] ; |
| 340 |
unsigned short __old_x[3] ; |
|
340 |
unsigned short __old_x[3] ; |
| 341 |
unsigned short __c ; |
|
341 |
unsigned short __c ; |
| 342 |
unsigned short __init ; |
|
342 |
unsigned short __init ; |
| 343 |
unsigned long long __a ; |
|
343 |
unsigned long long __a ; |
| 344 |
}; |
|
344 |
}; |
| 345 |
typedef int (*__compar_fn_t)(void const * , void const * ); |
|
345 |
typedef int (*__compar_fn_t)(void const * , void const * ); |
| 346 |
struct __locale_data; |
|
346 |
struct __locale_data; |
| 347 |
struct __locale_struct { |
|
347 |
struct __locale_struct { |
| 348 |
struct __locale_data *__locales[13] ; |
|
348 |
struct __locale_data *__locales[13] ; |
| 349 |
unsigned short const *__ctype_b ; |
|
349 |
unsigned short const *__ctype_b ; |
| 350 |
int const *__ctype_tolower ; |
|
350 |
int const *__ctype_tolower ; |
| 351 |
int const *__ctype_toupper ; |
|
351 |
int const *__ctype_toupper ; |
| 352 |
char const *__names[13] ; |
|
352 |
char const *__names[13] ; |
| 353 |
}; |
|
353 |
}; |
| 354 |
typedef struct __locale_struct *__locale_t; |
|
354 |
typedef struct __locale_struct *__locale_t; |
| 355 |
typedef __locale_t locale_t; |
|
355 |
typedef __locale_t locale_t; |
| 356 |
typedef long double float_t; |
|
356 |
typedef long double float_t; |
| 357 |
typedef long double double_t; |
|
357 |
typedef long double double_t; |
| 358 |
enum __anonenum_26 { |
|
358 |
enum __anonenum_26 { |
| 359 |
FP_NAN = 0, |
|
359 |
FP_NAN = 0, |
| 360 |
FP_INFINITE = 1, |
|
360 |
FP_INFINITE = 1, |
| 361 |
FP_ZERO = 2, |
|
361 |
FP_ZERO = 2, |
| 362 |
FP_SUBNORMAL = 3, |
|
362 |
FP_SUBNORMAL = 3, |
| 363 |
FP_NORMAL = 4 |
|
363 |
FP_NORMAL = 4 |
| 364 |
} ; |
|
364 |
} ; |
| 365 |
enum __anonenum__LIB_VERSION_TYPE_27 { |
|
365 |
enum __anonenum__LIB_VERSION_TYPE_27 { |
| 366 |
_IEEE_ = -1, |
|
366 |
_IEEE_ = -1, |
| 367 |
_SVID_ = 0, |
|
367 |
_SVID_ = 0, |
| 368 |
_XOPEN_ = 1, |
|
368 |
_XOPEN_ = 1, |
| 369 |
_POSIX_ = 2, |
|
369 |
_POSIX_ = 2, |
| 370 |
_ISOC_ = 3 |
|
370 |
_ISOC_ = 3 |
| 371 |
} ; |
|
371 |
} ; |
| 372 |
typedef enum __anonenum__LIB_VERSION_TYPE_27 _LIB_VERSION_TYPE; |
|
372 |
typedef enum __anonenum__LIB_VERSION_TYPE_27 _LIB_VERSION_TYPE; |
| 373 |
struct exception { |
|
373 |
struct exception { |
| 374 |
int type ; |
|
374 |
int type ; |
| 375 |
char *name ; |
|
375 |
char *name ; |
| 376 |
double arg1 ; |
|
376 |
double arg1 ; |
| 377 |
double arg2 ; |
|
377 |
double arg2 ; |
| 378 |
double retval ; |
|
378 |
double retval ; |
| 379 |
}; |
|
379 |
}; |
| 380 |
union __anonunion___u_28 { |
|
380 |
union __anonunion___u_28 { |
| 381 |
float __f ; |
|
381 |
float __f ; |
| 382 |
int __i ; |
|
382 |
int __i ; |
| 383 |
}; |
|
383 |
}; |
| 384 |
union __anonunion___u_29 { |
|
384 |
union __anonunion___u_29 { |
| 385 |
double __d ; |
|
385 |
double __d ; |
| 386 |
int __i[2] ; |
|
386 |
int __i[2] ; |
| 387 |
}; |
|
387 |
}; |
| 388 |
union __anonunion___u_30 { |
|
388 |
union __anonunion___u_30 { |
| 389 |
long double __l ; |
|
389 |
long double __l ; |
| 390 |
int __i[3] ; |
|
390 |
int __i[3] ; |
| 391 |
}; |
|
391 |
}; |
| 392 |
union __anonunion___n_31 { |
|
392 |
union __anonunion___n_31 { |
| 393 |
long double __xld ; |
|
393 |
long double __xld ; |
| 394 |
unsigned int __xi[3] ; |
|
394 |
unsigned int __xi[3] ; |
| 395 |
}; |
|
395 |
}; |
| 396 |
union __anonunion_32 { |
|
396 |
union __anonunion_32 { |
| 397 |
double __d ; |
|
397 |
double __d ; |
| 398 |
int __i[2] ; |
|
398 |
int __i[2] ; |
| 399 |
}; |
|
399 |
}; |
| 400 |
typedef long tsrm_intptr_t; |
|
400 |
typedef long tsrm_intptr_t; |
| 401 |
typedef unsigned long tsrm_uintptr_t; |
|
401 |
typedef unsigned long tsrm_uintptr_t; |
| 402 |
struct _zend_leak_info { |
|
402 |
struct _zend_leak_info { |
| 403 |
void *addr ; |
|
403 |
void *addr ; |
| 404 |
size_t size ; |
|
404 |
size_t size ; |
| 405 |
char *filename ; |
|
405 |
char *filename ; |
| 406 |
uint lineno ; |
|
406 |
uint lineno ; |
| 407 |
char *orig_filename ; |
|
407 |
char *orig_filename ; |
| 408 |
uint orig_lineno ; |
|
408 |
uint orig_lineno ; |
| 409 |
}; |
|
409 |
}; |
| 410 |
typedef struct _zend_leak_info zend_leak_info; |
|
410 |
typedef struct _zend_leak_info zend_leak_info; |
| 411 |
struct _zend_mm_heap; |
|
411 |
struct _zend_mm_heap; |
| 412 |
typedef struct _zend_mm_heap zend_mm_heap; |
|
412 |
typedef struct _zend_mm_heap zend_mm_heap; |
| 413 |
struct _zend_mm_storage; |
|
413 |
struct _zend_mm_storage; |
| 414 |
typedef struct _zend_mm_storage zend_mm_storage; |
|
414 |
typedef struct _zend_mm_storage zend_mm_storage; |
| 415 |
struct _zend_mm_segment { |
|
415 |
struct _zend_mm_segment { |
| 416 |
size_t size ; |
|
416 |
size_t size ; |
| 417 |
struct _zend_mm_segment *next_segment ; |
|
417 |
struct _zend_mm_segment *next_segment ; |
| 418 |
}; |
|
418 |
}; |
| 419 |
typedef struct _zend_mm_segment zend_mm_segment; |
|
419 |
typedef struct _zend_mm_segment zend_mm_segment; |
| 420 |
struct _zend_mm_mem_handlers { |
|
420 |
struct _zend_mm_mem_handlers { |
| 421 |
char const *name ; |
|
421 |
char const *name ; |
| 422 |
zend_mm_storage *(*init)(void *params ) ; |
|
422 |
zend_mm_storage *(*init)(void *params ) ; |
| 423 |
void (*dtor)(zend_mm_storage *storage ) ; |
|
423 |
void (*dtor)(zend_mm_storage *storage ) ; |
| 424 |
void (*compact)(zend_mm_storage *storage ) ; |
|
424 |
void (*compact)(zend_mm_storage *storage ) ; |
| 425 |
zend_mm_segment *(*_alloc)(zend_mm_storage *storage , size_t size ) ; |
|
425 |
zend_mm_segment *(*_alloc)(zend_mm_storage *storage , size_t size ) ; |
| 426 |
zend_mm_segment *(*_realloc)(zend_mm_storage *storage , |
|
426 |
zend_mm_segment *(*_realloc)(zend_mm_storage *storage , |
| 427 |
zend_mm_segment *ptr , size_t size ) ; |
|
427 |
zend_mm_segment *ptr , size_t size ) ; |
| 428 |
void (*_free)(zend_mm_storage *storage , zend_mm_segment *ptr ) ; |
|
428 |
void (*_free)(zend_mm_storage *storage , zend_mm_segment *ptr ) ; |
| 429 |
}; |
|
429 |
}; |
| 430 |
typedef struct _zend_mm_mem_handlers zend_mm_mem_handlers; |
|
430 |
typedef struct _zend_mm_mem_handlers zend_mm_mem_handlers; |
| 431 |
struct _zend_mm_storage { |
|
431 |
struct _zend_mm_storage { |
| 432 |
zend_mm_mem_handlers const *handlers ; |
|
432 |
zend_mm_mem_handlers const *handlers ; |
| 433 |
void *data ; |
|
433 |
void *data ; |
| 434 |
}; |
|
434 |
}; |
| 435 |
typedef unsigned char zend_bool; |
|
435 |
typedef unsigned char zend_bool; |
| 436 |
typedef unsigned char zend_uchar; |
|
436 |
typedef unsigned char zend_uchar; |
| 437 |
typedef unsigned int zend_uint; |
|
437 |
typedef unsigned int zend_uint; |
| 438 |
typedef unsigned long zend_ulong; |
|
438 |
typedef unsigned long zend_ulong; |
| 439 |
typedef unsigned short zend_ushort; |
|
439 |
typedef unsigned short zend_ushort; |
| 440 |
typedef long long zend_long64; |
|
440 |
typedef long long zend_long64; |
| 441 |
typedef unsigned long long zend_ulong64; |
|
441 |
typedef unsigned long long zend_ulong64; |
| 442 |
typedef long zend_intptr_t; |
|
442 |
typedef long zend_intptr_t; |
| 443 |
typedef unsigned long zend_uintptr_t; |
|
443 |
typedef unsigned long zend_uintptr_t; |
| 444 |
typedef unsigned int zend_object_handle; |
|
444 |
typedef unsigned int zend_object_handle; |
| 445 |
struct _zend_object_handlers; |
|
445 |
struct _zend_object_handlers; |
| 446 |
typedef struct _zend_object_handlers zend_object_handlers; |
|
446 |
typedef struct _zend_object_handlers zend_object_handlers; |
| 447 |
struct _zend_object_value { |
|
447 |
struct _zend_object_value { |
| 448 |
zend_object_handle handle ; |
|
448 |
zend_object_handle handle ; |
| 449 |
zend_object_handlers *handlers ; |
|
449 |
zend_object_handlers *handlers ; |
| 450 |
}; |
|
450 |
}; |
| 451 |
typedef struct _zend_object_value zend_object_value; |
|
451 |
typedef struct _zend_object_value zend_object_value; |
| 452 |
typedef ulong (*hash_func_t)(char const *arKey , uint nKeyLength ); |
|
452 |
typedef ulong (*hash_func_t)(char const *arKey , uint nKeyLength ); |
| 453 |
typedef int (*compare_func_t)(void const * , void const * ); |
|
453 |
typedef int (*compare_func_t)(void const * , void const * ); |
| 454 |
typedef void (*sort_func_t)(void * , size_t , size_t , |
|
454 |
typedef void (*sort_func_t)(void * , size_t , size_t , |
| 455 |
int (*)(void const * , void const * ) ); |
|
455 |
int (*)(void const * , void const * ) ); |
| 456 |
typedef void (*dtor_func_t)(void *pDest ); |
|
456 |
typedef void (*dtor_func_t)(void *pDest ); |
| 457 |
typedef void (*copy_ctor_func_t)(void *pElement ); |
|
457 |
typedef void (*copy_ctor_func_t)(void *pElement ); |
| 458 |
typedef void (*copy_ctor_param_func_t)(void *pElement , void *pParam ); |
|
458 |
typedef void (*copy_ctor_param_func_t)(void *pElement , void *pParam ); |
| 459 |
struct _hashtable; |
|
459 |
struct _hashtable; |
| 460 |
struct _hashtable; |
|
460 |
struct _hashtable; |
| 461 |
struct bucket { |
|
461 |
struct bucket { |
| 462 |
ulong h ; |
|
462 |
ulong h ; |
| 463 |
uint nKeyLength ; |
|
463 |
uint nKeyLength ; |
| 464 |
void *pData ; |
|
464 |
void *pData ; |
| 465 |
void *pDataPtr ; |
|
465 |
void *pDataPtr ; |
| 466 |
struct bucket *pListNext ; |
|
466 |
struct bucket *pListNext ; |
| 467 |
struct bucket *pListLast ; |
|
467 |
struct bucket *pListLast ; |
| 468 |
struct bucket *pNext ; |
|
468 |
struct bucket *pNext ; |
| 469 |
struct bucket *pLast ; |
|
469 |
struct bucket *pLast ; |
| 470 |
char *arKey ; |
|
470 |
char *arKey ; |
| 471 |
}; |
|
471 |
}; |
| 472 |
typedef struct bucket Bucket; |
|
472 |
typedef struct bucket Bucket; |
| 473 |
struct _hashtable { |
|
473 |
struct _hashtable { |
| 474 |
uint nTableSize ; |
|
474 |
uint nTableSize ; |
| 475 |
uint nTableMask ; |
|
475 |
uint nTableMask ; |
| 476 |
uint nNumOfElements ; |
|
476 |
uint nNumOfElements ; |
| 477 |
ulong nNextFreeElement ; |
|
477 |
ulong nNextFreeElement ; |
| 478 |
Bucket *pInternalPointer ; |
|
478 |
Bucket *pInternalPointer ; |
| 479 |
Bucket *pListHead ; |
|
479 |
Bucket *pListHead ; |
| 480 |
Bucket *pListTail ; |
|
480 |
Bucket *pListTail ; |
| 481 |
Bucket **arBuckets ; |
|
481 |
Bucket **arBuckets ; |
| 482 |
void (*pDestructor)(void *pDest ) ; |
|
482 |
void (*pDestructor)(void *pDest ) ; |
| 483 |
zend_bool persistent ; |
|
483 |
zend_bool persistent ; |
| 484 |
unsigned char nApplyCount ; |
|
484 |
unsigned char nApplyCount ; |
| 485 |
zend_bool bApplyProtection ; |
|
485 |
zend_bool bApplyProtection ; |
| 486 |
}; |
|
486 |
}; |
| 487 |
typedef struct _hashtable HashTable; |
|
487 |
typedef struct _hashtable HashTable; |
| 488 |
struct _zend_hash_key { |
|
488 |
struct _zend_hash_key { |
| 489 |
char *arKey ; |
|
489 |
char *arKey ; |
| 490 |
uint nKeyLength ; |
|
490 |
uint nKeyLength ; |
| 491 |
ulong h ; |
|
491 |
ulong h ; |
| 492 |
}; |
|
492 |
}; |
| 493 |
typedef struct _zend_hash_key zend_hash_key; |
|
493 |
typedef struct _zend_hash_key zend_hash_key; |
| 494 |
typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht , |
|
494 |
typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht , |
| 495 |
void *source_data , |
|
495 |
void *source_data , |
| 496 |
zend_hash_key *hash_key , |
|
496 |
zend_hash_key *hash_key , |
| 497 |
void *pParam ); |
|
497 |
void *pParam ); |
| 498 |
typedef Bucket *HashPosition; |
|
498 |
typedef Bucket *HashPosition; |
| 499 |
typedef int (*apply_func_t)(void *pDest ); |
|
499 |
typedef int (*apply_func_t)(void *pDest ); |
| 500 |
typedef int (*apply_func_arg_t)(void *pDest , void *argument ); |
|
500 |
typedef int (*apply_func_arg_t)(void *pDest , void *argument ); |
| 501 |
typedef int (*apply_func_args_t)(void *pDest , int num_args , va_list args , |
|
501 |
typedef int (*apply_func_args_t)(void *pDest , int num_args , va_list args , |
| 502 |
zend_hash_key *hash_key ); |
|
502 |
zend_hash_key *hash_key ); |
| 503 |
struct _HashPointer { |
|
503 |
struct _HashPointer { |
| 504 |
HashPosition pos ; |
|
504 |
HashPosition pos ; |
| 505 |
ulong h ; |
|
505 |
ulong h ; |
| 506 |
}; |
|
506 |
}; |
| 507 |
typedef struct _HashPointer HashPointer; |
|
507 |
typedef struct _HashPointer HashPointer; |
| 508 |
struct _zend_ts_hashtable { |
|
508 |
struct _zend_ts_hashtable { |
| 509 |
HashTable hash ; |
|
509 |
HashTable hash ; |
| 510 |
zend_uint reader ; |
|
510 |
zend_uint reader ; |
| 511 |
}; |
|
511 |
}; |
| 512 |
typedef struct _zend_ts_hashtable TsHashTable; |
|
512 |
typedef struct _zend_ts_hashtable TsHashTable; |
| 513 |
struct _zend_llist_element { |
|
513 |
struct _zend_llist_element { |
| 514 |
struct _zend_llist_element *next ; |
|
514 |
struct _zend_llist_element *next ; |
| 515 |
struct _zend_llist_element *prev ; |
|
515 |
struct _zend_llist_element *prev ; |
| 516 |
char data[1] ; |
|
516 |
char data[1] ; |
| 517 |
}; |
|
517 |
}; |
| 518 |
typedef struct _zend_llist_element zend_llist_element; |
|
518 |
typedef struct _zend_llist_element zend_llist_element; |
| 519 |
typedef void (*llist_dtor_func_t)(void * ); |
|
519 |
typedef void (*llist_dtor_func_t)(void * ); |
| 520 |
typedef int (*llist_compare_func_t)(zend_llist_element const ** , |
|
520 |
typedef int (*llist_compare_func_t)(zend_llist_element const ** , |
| 521 |
zend_llist_element const ** ); |
|
521 |
zend_llist_element const ** ); |
| 522 |
typedef void (*llist_apply_with_args_func_t)(void *data , int num_args , |
|
522 |
typedef void (*llist_apply_with_args_func_t)(void *data , int num_args , |
| 523 |
va_list args ); |
|
523 |
va_list args ); |
| 524 |
typedef void (*llist_apply_with_arg_func_t)(void *data , void *arg ); |
|
524 |
typedef void (*llist_apply_with_arg_func_t)(void *data , void *arg ); |
| 525 |
typedef void (*llist_apply_func_t)(void * ); |
|
525 |
typedef void (*llist_apply_func_t)(void * ); |
| 526 |
struct _zend_llist { |
|
526 |
struct _zend_llist { |
| 527 |
zend_llist_element *head ; |
|
527 |
zend_llist_element *head ; |
| 528 |
zend_llist_element *tail ; |
|
528 |
zend_llist_element *tail ; |
| 529 |
size_t count ; |
|
529 |
size_t count ; |
| 530 |
size_t size ; |
|
530 |
size_t size ; |
| 531 |
void (*dtor)(void * ) ; |
|
531 |
void (*dtor)(void * ) ; |
| 532 |
unsigned char persistent ; |
|
532 |
unsigned char persistent ; |
| 533 |
zend_llist_element *traverse_ptr ; |
|
533 |
zend_llist_element *traverse_ptr ; |
| 534 |
}; |
|
534 |
}; |
| 535 |
typedef struct _zend_llist zend_llist; |
|
535 |
typedef struct _zend_llist zend_llist; |
| 536 |
typedef zend_llist_element *zend_llist_position; |
|
536 |
typedef zend_llist_element *zend_llist_position; |
| 537 |
struct _zval_struct; |
|
537 |
struct _zval_struct; |
| 538 |
typedef struct _zval_struct zval; |
|
538 |
typedef struct _zval_struct zval; |
| 539 |
struct _zend_class_entry; |
|
539 |
struct _zend_class_entry; |
| 540 |
typedef struct _zend_class_entry zend_class_entry; |
|
540 |
typedef struct _zend_class_entry zend_class_entry; |
| 541 |
struct _zend_guard { |
|
541 |
struct _zend_guard { |
| 542 |
zend_bool in_get ; |
|
542 |
zend_bool in_get ; |
| 543 |
zend_bool in_set ; |
|
543 |
zend_bool in_set ; |
| 544 |
zend_bool in_unset ; |
|
544 |
zend_bool in_unset ; |
| 545 |
zend_bool in_isset ; |
|
545 |
zend_bool in_isset ; |
| 546 |
zend_bool dummy ; |
|
546 |
zend_bool dummy ; |
| 547 |
}; |
|
547 |
}; |
| 548 |
typedef struct _zend_guard zend_guard; |
|
548 |
typedef struct _zend_guard zend_guard; |
| 549 |
struct _zend_object { |
|
549 |
struct _zend_object { |
| 550 |
zend_class_entry *ce ; |
|
550 |
zend_class_entry *ce ; |
| 551 |
HashTable *properties ; |
|
551 |
HashTable *properties ; |
| 552 |
zval **properties_table ; |
|
552 |
zval **properties_table ; |
| 553 |
HashTable *guards ; |
|
553 |
HashTable *guards ; |
| 554 |
}; |
|
554 |
}; |
| 555 |
typedef struct _zend_object zend_object; |
|
555 |
typedef struct _zend_object zend_object; |
| 556 |
union _zend_function; |
|
556 |
union _zend_function; |
| 557 |
union _zend_function; |
|
557 |
union _zend_function; |
| 558 |
struct _zend_property_info; |
|
558 |
struct _zend_property_info; |
| 559 |
struct _zend_property_info; |
|
559 |
struct _zend_property_info; |
| 560 |
struct _zend_literal; |
|
560 |
struct _zend_literal; |
| 561 |
struct _zend_literal; |
|
561 |
struct _zend_literal; |
| 562 |
typedef zval *(*zend_object_read_property_t)(zval *object , zval *member , |
|
562 |
typedef zval *(*zend_object_read_property_t)(zval *object , zval *member , |
| 563 |
int type , |
|
563 |
int type , |
| 564 |
struct _zend_literal const *key ); |
|
564 |
struct _zend_literal const *key ); |
| 565 |
typedef zval *(*zend_object_read_dimension_t)(zval *object , zval *offset , |
|
565 |
typedef zval *(*zend_object_read_dimension_t)(zval *object , zval *offset , |
| 566 |
int type ); |
|
566 |
int type ); |
| 567 |
typedef void (*zend_object_write_property_t)(zval *object , zval *member , |
|
567 |
typedef void (*zend_object_write_property_t)(zval *object , zval *member , |
| 568 |
zval *value , |
|
568 |
zval *value , |
| 569 |
struct _zend_literal const *key ); |
|
569 |
struct _zend_literal const *key ); |
| 570 |
typedef void (*zend_object_write_dimension_t)(zval *object , zval *offset , |
|
570 |
typedef void (*zend_object_write_dimension_t)(zval *object , zval *offset , |
| 571 |
zval *value ); |
|
571 |
zval *value ); |
| 572 |
typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object , |
|
572 |
typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object , |
| 573 |
zval *member , |
|
573 |
zval *member , |
| 574 |
struct _zend_literal const *key ); |
|
574 |
struct _zend_literal const *key ); |
| 575 |
typedef void (*zend_object_set_t)(zval **object , zval *value ); |
|
575 |
typedef void (*zend_object_set_t)(zval **object , zval *value ); |
| 576 |
typedef zval *(*zend_object_get_t)(zval *object ); |
|
576 |
typedef zval *(*zend_object_get_t)(zval *object ); |
| 577 |
typedef int (*zend_object_has_property_t)(zval *object , zval *member , |
|
577 |
typedef int (*zend_object_has_property_t)(zval *object , zval *member , |
| 578 |
int has_set_exists , |
|
578 |
int has_set_exists , |
| 579 |
struct _zend_literal const *key ); |
|
579 |
struct _zend_literal const *key ); |
| 580 |
typedef int (*zend_object_has_dimension_t)(zval *object , zval *member , |
|
580 |
typedef int (*zend_object_has_dimension_t)(zval *object , zval *member , |
| 581 |
int check_empty ); |
|
581 |
int check_empty ); |
| 582 |
typedef void (*zend_object_unset_property_t)(zval *object , zval *member , |
|
582 |
typedef void (*zend_object_unset_property_t)(zval *object , zval *member , |
| 583 |
struct _zend_literal const *key ); |
|
583 |
struct _zend_literal const *key ); |
| 584 |
typedef void (*zend_object_unset_dimension_t)(zval *object , zval *offset ); |
|
584 |
typedef void (*zend_object_unset_dimension_t)(zval *object , zval *offset ); |
| 585 |
typedef HashTable *(*zend_object_get_properties_t)(zval *object ); |
|
585 |
typedef HashTable *(*zend_object_get_properties_t)(zval *object ); |
| 586 |
typedef HashTable *(*zend_object_get_debug_info_t)(zval *object , int *is_temp ); |
|
586 |
typedef HashTable *(*zend_object_get_debug_info_t)(zval *object , int *is_temp ); |
| 587 |
typedef int (*zend_object_call_method_t)(char *method , int ht , |
|
587 |
typedef int (*zend_object_call_method_t)(char *method , int ht , |
| 588 |
zval *return_value , |
|
588 |
zval *return_value , |
| 589 |
zval **return_value_ptr , |
|
589 |
zval **return_value_ptr , |
| 590 |
zval *this_ptr , int return_value_used ); |
|
590 |
zval *this_ptr , int return_value_used ); |
| 591 |
typedef union _zend_function *(*zend_object_get_method_t)(zval **object_ptr , |
|
591 |
typedef union _zend_function *(*zend_object_get_method_t)(zval **object_ptr , |
| 592 |
char *method , |
|
592 |
char *method , |
| 593 |
int method_len , |
|
593 |
int method_len , |
| 594 |
struct _zend_literal const *key ); |
|
594 |
struct _zend_literal const *key ); |
| 595 |
typedef union _zend_function *(*zend_object_get_constructor_t)(zval *object ); |
|
595 |
typedef union _zend_function *(*zend_object_get_constructor_t)(zval *object ); |
| 596 |
typedef void (*zend_object_add_ref_t)(zval *object ); |
|
596 |
typedef void (*zend_object_add_ref_t)(zval *object ); |
| 597 |
typedef void (*zend_object_del_ref_t)(zval *object ); |
|
597 |
typedef void (*zend_object_del_ref_t)(zval *object ); |
| 598 |
typedef void (*zend_object_delete_obj_t)(zval *object ); |
|
598 |
typedef void (*zend_object_delete_obj_t)(zval *object ); |
| 599 |
typedef zend_object_value (*zend_object_clone_obj_t)(zval *object ); |
|
599 |
typedef zend_object_value (*zend_object_clone_obj_t)(zval *object ); |
| 600 |
typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval const *object ); |
|
600 |
typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval const *object ); |
| 601 |
typedef int (*zend_object_get_class_name_t)(zval const *object , |
|
601 |
typedef int (*zend_object_get_class_name_t)(zval const *object , |
| 602 |
char **class_name , |
|
602 |
char **class_name , |
| 603 |
zend_uint *class_name_len , |
|
603 |
zend_uint *class_name_len , |
| 604 |
int parent ); |
|
604 |
int parent ); |
| 605 |
typedef int (*zend_object_compare_t)(zval *object1 , zval *object2 ); |
|
605 |
typedef int (*zend_object_compare_t)(zval *object1 , zval *object2 ); |
| 606 |
typedef int (*zend_object_cast_t)(zval *readobj , zval *retval , int type ); |
|
606 |
typedef int (*zend_object_cast_t)(zval *readobj , zval *retval , int type ); |
| 607 |
typedef int (*zend_object_count_elements_t)(zval *object , long *count ); |
|
607 |
typedef int (*zend_object_count_elements_t)(zval *object , long *count ); |
| 608 |
typedef int (*zend_object_get_closure_t)(zval *obj , zend_class_entry **ce_ptr , |
|
608 |
typedef int (*zend_object_get_closure_t)(zval *obj , zend_class_entry **ce_ptr , |
| 609 |
union _zend_function **fptr_ptr , |
|
609 |
union _zend_function **fptr_ptr , |
| 610 |
zval **zobj_ptr ); |
|
610 |
zval **zobj_ptr ); |
| 611 |
struct _zend_object_handlers { |
|
611 |
struct _zend_object_handlers { |
| 612 |
void (*add_ref)(zval *object ) ; |
|
612 |
void (*add_ref)(zval *object ) ; |
| 613 |
void (*del_ref)(zval *object ) ; |
|
613 |
void (*del_ref)(zval *object ) ; |
| 614 |
zend_object_value (*clone_obj)(zval *object ) ; |
|
614 |
zend_object_value (*clone_obj)(zval *object ) ; |
| 615 |
zval *(*read_property)(zval *object , zval *member , int type , |
|
615 |
zval *(*read_property)(zval *object , zval *member , int type , |
| 616 |
struct _zend_literal const *key ) ; |
|
616 |
struct _zend_literal const *key ) ; |
| 617 |
void (*write_property)(zval *object , zval *member , zval *value , |
|
617 |
void (*write_property)(zval *object , zval *member , zval *value , |
| 618 |
struct _zend_literal const *key ) ; |
|
618 |
struct _zend_literal const *key ) ; |
| 619 |
zval *(*read_dimension)(zval *object , zval *offset , int type ) ; |
|
619 |
zval *(*read_dimension)(zval *object , zval *offset , int type ) ; |
| 620 |
void (*write_dimension)(zval *object , zval *offset , zval *value ) ; |
|
620 |
void (*write_dimension)(zval *object , zval *offset , zval *value ) ; |
| 621 |
zval **(*get_property_ptr_ptr)(zval *object , zval *member , |
|
621 |
zval **(*get_property_ptr_ptr)(zval *object , zval *member , |
| 622 |
struct _zend_literal const *key ) ; |
|
622 |
struct _zend_literal const *key ) ; |
| 623 |
zval *(*get)(zval *object ) ; |
|
623 |
zval *(*get)(zval *object ) ; |
| 624 |
void (*set)(zval **object , zval *value ) ; |
|
624 |
void (*set)(zval **object , zval *value ) ; |
| 625 |
int (*has_property)(zval *object , zval *member , int has_set_exists , |
|
625 |
int (*has_property)(zval *object , zval *member , int has_set_exists , |
| 626 |
struct _zend_literal const *key ) ; |
|
626 |
struct _zend_literal const *key ) ; |
| 627 |
void (*unset_property)(zval *object , zval *member , |
|
627 |
void (*unset_property)(zval *object , zval *member , |
| 628 |
struct _zend_literal const *key ) ; |
|
628 |
struct _zend_literal const *key ) ; |
| 629 |
int (*has_dimension)(zval *object , zval *member , int check_empty ) ; |
|
629 |
int (*has_dimension)(zval *object , zval *member , int check_empty ) ; |
| 630 |
void (*unset_dimension)(zval *object , zval *offset ) ; |
|
630 |
void (*unset_dimension)(zval *object , zval *offset ) ; |
| 631 |
HashTable *(*get_properties)(zval *object ) ; |
|
631 |
HashTable *(*get_properties)(zval *object ) ; |
| 632 |
union _zend_function *(*get_method)(zval **object_ptr , char *method , |
|
632 |
union _zend_function *(*get_method)(zval **object_ptr , char *method , |
| 633 |
int method_len , |
|
633 |
int method_len , |
| 634 |
struct _zend_literal const *key ) ; |
|
634 |
struct _zend_literal const *key ) ; |
| 635 |
int (*call_method)(char *method , int ht , zval *return_value , |
|
635 |
int (*call_method)(char *method , int ht , zval *return_value , |
| 636 |
zval **return_value_ptr , zval *this_ptr , |
|
636 |
zval **return_value_ptr , zval *this_ptr , |
| 637 |
int return_value_used ) ; |
|
637 |
int return_value_used ) ; |
| 638 |
union _zend_function *(*get_constructor)(zval *object ) ; |
|
638 |
union _zend_function *(*get_constructor)(zval *object ) ; |
| 639 |
zend_class_entry *(*get_class_entry)(zval const *object ) ; |
|
639 |
zend_class_entry *(*get_class_entry)(zval const *object ) ; |
| 640 |
int (*get_class_name)(zval const *object , char **class_name , |
|
640 |
int (*get_class_name)(zval const *object , char **class_name , |
| 641 |
zend_uint *class_name_len , int parent ) ; |
|
641 |
zend_uint *class_name_len , int parent ) ; |
| 642 |
int (*compare_objects)(zval *object1 , zval *object2 ) ; |
|
642 |
int (*compare_objects)(zval *object1 , zval *object2 ) ; |
| 643 |
int (*cast_object)(zval *readobj , zval *retval , int type ) ; |
|
643 |
int (*cast_object)(zval *readobj , zval *retval , int type ) ; |
| 644 |
int (*count_elements)(zval *object , long *count ) ; |
|
644 |
int (*count_elements)(zval *object , long *count ) ; |
| 645 |
HashTable *(*get_debug_info)(zval *object , int *is_temp ) ; |
|
645 |
HashTable *(*get_debug_info)(zval *object , int *is_temp ) ; |
| 646 |
int (*get_closure)(zval *obj , zend_class_entry **ce_ptr , |
|
646 |
int (*get_closure)(zval *obj , zend_class_entry **ce_ptr , |
| 647 |
union _zend_function **fptr_ptr , zval **zobj_ptr ) ; |
|
647 |
union _zend_function **fptr_ptr , zval **zobj_ptr ) ; |
| 648 |
}; |
|
648 |
}; |
| 649 |
struct __anonstruct_str_33 { |
|
649 |
struct __anonstruct_str_33 { |
| 650 |
char *val ; |
|
650 |
char *val ; |
| 651 |
int len ; |
|
651 |
int len ; |
| 652 |
}; |
|
652 |
}; |
| 653 |
union _zvalue_value { |
|
653 |
union _zvalue_value { |
| 654 |
long lval ; |
|
654 |
long lval ; |
| 655 |
double dval ; |
|
655 |
double dval ; |
| 656 |
struct __anonstruct_str_33 str ; |
|
656 |
struct __anonstruct_str_33 str ; |
| 657 |
HashTable *ht ; |
|
657 |
HashTable *ht ; |
| 658 |
zend_object_value obj ; |
|
658 |
zend_object_value obj ; |
| 659 |
}; |
|
659 |
}; |
| 660 |
typedef union _zvalue_value zvalue_value; |
|
660 |
typedef union _zvalue_value zvalue_value; |
| 661 |
struct _zval_struct { |
|
661 |
struct _zval_struct { |
| 662 |
zvalue_value value ; |
|
662 |
zvalue_value value ; |
| 663 |
zend_uint refcount__gc ; |
|
663 |
zend_uint refcount__gc ; |
| 664 |
zend_uchar type ; |
|
664 |
zend_uchar type ; |
| 665 |
zend_uchar is_ref__gc ; |
|
665 |
zend_uchar is_ref__gc ; |
| 666 |
}; |
|
666 |
}; |
| 667 |
union _zend_function; |
|
667 |
union _zend_function; |
| 668 |
struct _zend_object_iterator; |
|
668 |
struct _zend_object_iterator; |
| 669 |
typedef struct _zend_object_iterator zend_object_iterator; |
|
669 |
typedef struct _zend_object_iterator zend_object_iterator; |
| 670 |
struct _zend_object_iterator_funcs { |
|
670 |
struct _zend_object_iterator_funcs { |
| 671 |
void (*dtor)(zend_object_iterator *iter ) ; |
|
671 |
void (*dtor)(zend_object_iterator *iter ) ; |
| 672 |
int (*valid)(zend_object_iterator *iter ) ; |
|
672 |
int (*valid)(zend_object_iterator *iter ) ; |
| 673 |
void (*get_current_data)(zend_object_iterator *iter , zval ***data ) ; |
|
673 |
void (*get_current_data)(zend_object_iterator *iter , zval ***data ) ; |
| 674 |
int (*get_current_key)(zend_object_iterator *iter , char **str_key , |
|
674 |
int (*get_current_key)(zend_object_iterator *iter , char **str_key , |
| 675 |
uint *str_key_len , ulong *int_key ) ; |
|
675 |
uint *str_key_len , ulong *int_key ) ; |
| 676 |
void (*move_forward)(zend_object_iterator *iter ) ; |
|
676 |
void (*move_forward)(zend_object_iterator *iter ) ; |
| 677 |
void (*rewind)(zend_object_iterator *iter ) ; |
|
677 |
void (*rewind)(zend_object_iterator *iter ) ; |
| 678 |
void (*invalidate_current)(zend_object_iterator *iter ) ; |
|
678 |
void (*invalidate_current)(zend_object_iterator *iter ) ; |
| 679 |
}; |
|
679 |
}; |
| 680 |
typedef struct _zend_object_iterator_funcs zend_object_iterator_funcs; |
|
680 |
typedef struct _zend_object_iterator_funcs zend_object_iterator_funcs; |
| 681 |
struct _zend_object_iterator { |
|
681 |
struct _zend_object_iterator { |
| 682 |
void *data ; |
|
682 |
void *data ; |
| 683 |
zend_object_iterator_funcs *funcs ; |
|
683 |
zend_object_iterator_funcs *funcs ; |
| 684 |
ulong index ; |
|
684 |
ulong index ; |
| 685 |
}; |
|
685 |
}; |
| 686 |
struct _zend_class_iterator_funcs { |
|
686 |
struct _zend_class_iterator_funcs { |
| 687 |
zend_object_iterator_funcs *funcs ; |
|
687 |
zend_object_iterator_funcs *funcs ; |
| 688 |
union _zend_function *zf_new_iterator ; |
|
688 |
union _zend_function *zf_new_iterator ; |
| 689 |
union _zend_function *zf_valid ; |
|
689 |
union _zend_function *zf_valid ; |
| 690 |
union _zend_function *zf_current ; |
|
690 |
union _zend_function *zf_current ; |
| 691 |
union _zend_function *zf_key ; |
|
691 |
union _zend_function *zf_key ; |
| 692 |
union _zend_function *zf_next ; |
|
692 |
union _zend_function *zf_next ; |
| 693 |
union _zend_function *zf_rewind ; |
|
693 |
union _zend_function *zf_rewind ; |
| 694 |
}; |
|
694 |
}; |
| 695 |
typedef struct _zend_class_iterator_funcs zend_class_iterator_funcs; |
|
695 |
typedef struct _zend_class_iterator_funcs zend_class_iterator_funcs; |
| 696 |
enum zend_object_iterator_kind { |
|
696 |
enum zend_object_iterator_kind { |
| 697 |
ZEND_ITER_INVALID = 0, |
|
697 |
ZEND_ITER_INVALID = 0, |
| 698 |
ZEND_ITER_PLAIN_ARRAY = 1, |
|
698 |
ZEND_ITER_PLAIN_ARRAY = 1, |
| 699 |
ZEND_ITER_PLAIN_OBJECT = 2, |
|
699 |
ZEND_ITER_PLAIN_OBJECT = 2, |
| 700 |
ZEND_ITER_OBJECT = 3 |
|
700 |
ZEND_ITER_OBJECT = 3 |
| 701 |
} ; |
|
701 |
} ; |
| 702 |
struct _zend_serialize_data; |
|
702 |
struct _zend_serialize_data; |
| 703 |
struct _zend_serialize_data; |
|
703 |
struct _zend_serialize_data; |
| 704 |
struct _zend_unserialize_data; |
|
704 |
struct _zend_unserialize_data; |
| 705 |
struct _zend_unserialize_data; |
|
705 |
struct _zend_unserialize_data; |
| 706 |
typedef struct _zend_serialize_data zend_serialize_data; |
|
706 |
typedef struct _zend_serialize_data zend_serialize_data; |
| 707 |
typedef struct _zend_unserialize_data zend_unserialize_data; |
|
707 |
typedef struct _zend_unserialize_data zend_unserialize_data; |
| 708 |
struct _zend_trait_method_reference { |
|
708 |
struct _zend_trait_method_reference { |
| 709 |
char *method_name ; |
|
709 |
char *method_name ; |
| 710 |
unsigned int mname_len ; |
|
710 |
unsigned int mname_len ; |
| 711 |
zend_class_entry *ce ; |
|
711 |
zend_class_entry *ce ; |
| 712 |
char *class_name ; |
|
712 |
char *class_name ; |
| 713 |
unsigned int cname_len ; |
|
713 |
unsigned int cname_len ; |
| 714 |
}; |
|
714 |
}; |
| 715 |
typedef struct _zend_trait_method_reference zend_trait_method_reference; |
|
715 |
typedef struct _zend_trait_method_reference zend_trait_method_reference; |
| 716 |
struct _zend_trait_precedence { |
|
716 |
struct _zend_trait_precedence { |
| 717 |
zend_trait_method_reference *trait_method ; |
|
717 |
zend_trait_method_reference *trait_method ; |
| 718 |
zend_class_entry **exclude_from_classes ; |
|
718 |
zend_class_entry **exclude_from_classes ; |
| 719 |
union _zend_function *function ; |
|
719 |
union _zend_function *function ; |
| 720 |
}; |
|
720 |
}; |
| 721 |
typedef struct _zend_trait_precedence zend_trait_precedence; |
|
721 |
typedef struct _zend_trait_precedence zend_trait_precedence; |
| 722 |
struct _zend_trait_alias { |
|
722 |
struct _zend_trait_alias { |
| 723 |
zend_trait_method_reference *trait_method ; |
|
723 |
zend_trait_method_reference *trait_method ; |
| 724 |
char *alias ; |
|
724 |
char *alias ; |
| 725 |
unsigned int alias_len ; |
|
725 |
unsigned int alias_len ; |
| 726 |
zend_uint modifiers ; |
|
726 |
zend_uint modifiers ; |
| 727 |
union _zend_function *function ; |
|
727 |
union _zend_function *function ; |
| 728 |
}; |
|
728 |
}; |
| 729 |
typedef struct _zend_trait_alias zend_trait_alias; |
|
729 |
typedef struct _zend_trait_alias zend_trait_alias; |
| 730 |
struct __anonstruct_user_35 { |
|
730 |
struct __anonstruct_user_35 { |
| 731 |
char *filename ; |
|
731 |
char *filename ; |
| 732 |
zend_uint line_start ; |
|
732 |
zend_uint line_start ; |
| 733 |
zend_uint line_end ; |
|
733 |
zend_uint line_end ; |
| 734 |
char *doc_comment ; |
|
734 |
char *doc_comment ; |
| 735 |
zend_uint doc_comment_len ; |
|
735 |
zend_uint doc_comment_len ; |
| 736 |
}; |
|
736 |
}; |
| 737 |
struct _zend_function_entry; |
|
737 |
struct _zend_function_entry; |
| 738 |
struct _zend_module_entry; |
|
738 |
struct _zend_module_entry; |
| 739 |
struct __anonstruct_internal_36 { |
|
739 |
struct __anonstruct_internal_36 { |
| 740 |
struct _zend_function_entry const *builtin_functions ; |
|
740 |
struct _zend_function_entry const *builtin_functions ; |
| 741 |
struct _zend_module_entry *module ; |
|
741 |
struct _zend_module_entry *module ; |
| 742 |
}; |
|
742 |
}; |
| 743 |
union __anonunion_info_34 { |
|
743 |
union __anonunion_info_34 { |
| 744 |
struct __anonstruct_user_35 user ; |
|
744 |
struct __anonstruct_user_35 user ; |
| 745 |
struct __anonstruct_internal_36 internal ; |
|
745 |
struct __anonstruct_internal_36 internal ; |
| 746 |
}; |
|
746 |
}; |
| 747 |
struct _zend_class_entry { |
|
747 |
struct _zend_class_entry { |
| 748 |
char type ; |
|
748 |
char type ; |
| 749 |
char const *name ; |
|
749 |
char const *name ; |
| 750 |
zend_uint name_length ; |
|
750 |
zend_uint name_length ; |
| 751 |
struct _zend_class_entry *parent ; |
|
751 |
struct _zend_class_entry *parent ; |
| 752 |
int refcount ; |
|
752 |
int refcount ; |
| 753 |
zend_uint ce_flags ; |
|
753 |
zend_uint ce_flags ; |
| 754 |
HashTable function_table ; |
|
754 |
HashTable function_table ; |
| 755 |
HashTable properties_info ; |
|
755 |
HashTable properties_info ; |
| 756 |
zval **default_properties_table ; |
|
756 |
zval **default_properties_table ; |
| 757 |
zval **default_static_members_table ; |
|
757 |
zval **default_static_members_table ; |
| 758 |
zval **static_members_table ; |
|
758 |
zval **static_members_table ; |
| 759 |
HashTable constants_table ; |
|
759 |
HashTable constants_table ; |
| 760 |
int default_properties_count ; |
|
760 |
int default_properties_count ; |
| 761 |
int default_static_members_count ; |
|
761 |
int default_static_members_count ; |
| 762 |
union _zend_function *constructor ; |
|
762 |
union _zend_function *constructor ; |
| 763 |
union _zend_function *destructor ; |
|
763 |
union _zend_function *destructor ; |
| 764 |
union _zend_function *clone ; |
|
764 |
union _zend_function *clone ; |
| 765 |
union _zend_function *__get ; |
|
765 |
union _zend_function *__get ; |
| 766 |
union _zend_function *__set ; |
|
766 |
union _zend_function *__set ; |
| 767 |
union _zend_function *__unset ; |
|
767 |
union _zend_function *__unset ; |
| 768 |
union _zend_function *__isset ; |
|
768 |
union _zend_function *__isset ; |
| 769 |
union _zend_function *__call ; |
|
769 |
union _zend_function *__call ; |
| 770 |
union _zend_function *__callstatic ; |
|
770 |
union _zend_function *__callstatic ; |
| 771 |
union _zend_function *__tostring ; |
|
771 |
union _zend_function *__tostring ; |
| 772 |
union _zend_function *serialize_func ; |
|
772 |
union _zend_function *serialize_func ; |
| 773 |
union _zend_function *unserialize_func ; |
|
773 |
union _zend_function *unserialize_func ; |
| 774 |
zend_class_iterator_funcs iterator_funcs ; |
|
774 |
zend_class_iterator_funcs iterator_funcs ; |
| 775 |
zend_object_value (*create_object)(zend_class_entry *class_type ) ; |
|
775 |
zend_object_value (*create_object)(zend_class_entry *class_type ) ; |
| 776 |
zend_object_iterator *(*get_iterator)(zend_class_entry *ce , zval *object , |
|
776 |
zend_object_iterator *(*get_iterator)(zend_class_entry *ce , zval *object , |
| 777 |
int by_ref ) ; |
|
777 |
int by_ref ) ; |
| 778 |
int (*interface_gets_implemented)(zend_class_entry *iface , |
|
778 |
int (*interface_gets_implemented)(zend_class_entry *iface , |
| 779 |
zend_class_entry *class_type ) ; |
|
779 |
zend_class_entry *class_type ) ; |
| 780 |
union _zend_function *(*get_static_method)(zend_class_entry *ce , |
|
780 |
union _zend_function *(*get_static_method)(zend_class_entry *ce , |
| 781 |
char *method , int method_len ) ; |
|
781 |
char *method , int method_len ) ; |
| 782 |
int (*serialize)(zval *object , unsigned char **buffer , zend_uint *buf_len , |
|
782 |
int (*serialize)(zval *object , unsigned char **buffer , zend_uint *buf_len , |
| 783 |
zend_serialize_data *data ) ; |
|
783 |
zend_serialize_data *data ) ; |
| 784 |
int (*unserialize)(zval **object , zend_class_entry *ce , |
|
784 |
int (*unserialize)(zval **object , zend_class_entry *ce , |
| 785 |
unsigned char const *buf , zend_uint buf_len , |
|
785 |
unsigned char const *buf , zend_uint buf_len , |
| 786 |
zend_unserialize_data *data ) ; |
|
786 |
zend_unserialize_data *data ) ; |
| 787 |
zend_class_entry **interfaces ; |
|
787 |
zend_class_entry **interfaces ; |
| 788 |
zend_uint num_interfaces ; |
|
788 |
zend_uint num_interfaces ; |
| 789 |
zend_class_entry **traits ; |
|
789 |
zend_class_entry **traits ; |
| 790 |
zend_uint num_traits ; |
|
790 |
zend_uint num_traits ; |
| 791 |
zend_trait_alias **trait_aliases ; |
|
791 |
zend_trait_alias **trait_aliases ; |
| 792 |
zend_trait_precedence **trait_precedences ; |
|
792 |
zend_trait_precedence **trait_precedences ; |
| 793 |
union __anonunion_info_34 info ; |
|
793 |
union __anonunion_info_34 info ; |
| 794 |
}; |
|
794 |
}; |
| 795 |
typedef size_t (*zend_stream_fsizer_t)(void *handle ); |
|
795 |
typedef size_t (*zend_stream_fsizer_t)(void *handle ); |
| 796 |
typedef size_t (*zend_stream_reader_t)(void *handle , char *buf , size_t len ); |
|
796 |
typedef size_t (*zend_stream_reader_t)(void *handle , char *buf , size_t len ); |
| 797 |
typedef void (*zend_stream_closer_t)(void *handle ); |
|
797 |
typedef void (*zend_stream_closer_t)(void *handle ); |
| 798 |
enum __anonenum_zend_stream_type_37 { |
|
798 |
enum __anonenum_zend_stream_type_37 { |
| 799 |
ZEND_HANDLE_FILENAME = 0, |
|
799 |
ZEND_HANDLE_FILENAME = 0, |
| 800 |
ZEND_HANDLE_FD = 1, |
|
800 |
ZEND_HANDLE_FD = 1, |
| 801 |
ZEND_HANDLE_FP = 2, |
|
801 |
ZEND_HANDLE_FP = 2, |
| 802 |
ZEND_HANDLE_STREAM = 3, |
|
802 |
ZEND_HANDLE_STREAM = 3, |
| 803 |
ZEND_HANDLE_MAPPED = 4 |
|
803 |
ZEND_HANDLE_MAPPED = 4 |
| 804 |
} ; |
|
804 |
} ; |
| 805 |
typedef enum __anonenum_zend_stream_type_37 zend_stream_type; |
|
805 |
typedef enum __anonenum_zend_stream_type_37 zend_stream_type; |
| 806 |
struct _zend_mmap { |
|
806 |
struct _zend_mmap { |
| 807 |
size_t len ; |
|
807 |
size_t len ; |
| 808 |
size_t pos ; |
|
808 |
size_t pos ; |
| 809 |
void *map ; |
|
809 |
void *map ; |
| 810 |
char *buf ; |
|
810 |
char *buf ; |
| 811 |
void *old_handle ; |
|
811 |
void *old_handle ; |
| 812 |
void (*old_closer)(void *handle ) ; |
|
812 |
void (*old_closer)(void *handle ) ; |
| 813 |
}; |
|
813 |
}; |
| 814 |
typedef struct _zend_mmap zend_mmap; |
|
814 |
typedef struct _zend_mmap zend_mmap; |
| 815 |
struct _zend_stream { |
|
815 |
struct _zend_stream { |
| 816 |
void *handle ; |
|
816 |
void *handle ; |
| 817 |
int isatty ; |
|
817 |
int isatty ; |
| 818 |
zend_mmap mmap ; |
|
818 |
zend_mmap mmap ; |
| 819 |
size_t (*reader)(void *handle , char *buf , size_t len ) ; |
|
819 |
size_t (*reader)(void *handle , char *buf , size_t len ) ; |
| 820 |
size_t (*fsizer)(void *handle ) ; |
|
820 |
size_t (*fsizer)(void *handle ) ; |
| 821 |
void (*closer)(void *handle ) ; |
|
821 |
void (*closer)(void *handle ) ; |
| 822 |
}; |
|
822 |
}; |
| 823 |
typedef struct _zend_stream zend_stream; |
|
823 |
typedef struct _zend_stream zend_stream; |
| 824 |
union __anonunion_handle_38 { |
|
824 |
union __anonunion_handle_38 { |
| 825 |
int fd ; |
|
825 |
int fd ; |
| 826 |
FILE *fp ; |
|
826 |
FILE *fp ; |
| 827 |
zend_stream stream ; |
|
827 |
zend_stream stream ; |
| 828 |
}; |
|
828 |
}; |
| 829 |
struct _zend_file_handle { |
|
829 |
struct _zend_file_handle { |
| 830 |
zend_stream_type type ; |
|
830 |
zend_stream_type type ; |
| 831 |
char *filename ; |
|
831 |
char *filename ; |
| 832 |
char *opened_path ; |
|
832 |
char *opened_path ; |
| 833 |
union __anonunion_handle_38 handle ; |
|
833 |
union __anonunion_handle_38 handle ; |
| 834 |
zend_bool free_filename ; |
|
834 |
zend_bool free_filename ; |
| 835 |
}; |
|
835 |
}; |
| 836 |
typedef struct _zend_file_handle zend_file_handle; |
|
836 |
typedef struct _zend_file_handle zend_file_handle; |
| 837 |
struct _zend_utility_functions { |
|
837 |
struct _zend_utility_functions { |
| 838 |
void ( (*error_function))(int type , |
|
838 |
void ( (*error_function))(int type , |
| 839 |
char const *error_filename , |
|
839 |
char const *error_filename , |
| 840 |
uint const error_lineno , |
|
840 |
uint const error_lineno , |
| 841 |
char const *format , |
|
841 |
char const *format , |
| 842 |
va_list args ) ; |
|
842 |
va_list args ) ; |
| 843 |
int ( (*printf_function))(char const *format , ...) ; |
|
843 |
int ( (*printf_function))(char const *format , ...) ; |
| 844 |
int (*write_function)(char const *str , uint str_length ) ; |
|
844 |
int (*write_function)(char const *str , uint str_length ) ; |
| 845 |
FILE *(*fopen_function)(char const *filename , char **opened_path ) ; |
|
845 |
FILE *(*fopen_function)(char const *filename , char **opened_path ) ; |
| 846 |
void (*message_handler)(long message , void *data ) ; |
|
846 |
void (*message_handler)(long message , void *data ) ; |
| 847 |
void (*block_interruptions)(void) ; |
|
847 |
void (*block_interruptions)(void) ; |
| 848 |
void (*unblock_interruptions)(void) ; |
|
848 |
void (*unblock_interruptions)(void) ; |
| 849 |
int (*get_configuration_directive)(char const *name , uint name_length , |
|
849 |
int (*get_configuration_directive)(char const *name , uint name_length , |
| 850 |
zval *contents ) ; |
|
850 |
zval *contents ) ; |
| 851 |
void (*ticks_function)(int ticks ) ; |
|
851 |
void (*ticks_function)(int ticks ) ; |
| 852 |
void (*on_timeout)(int seconds ) ; |
|
852 |
void (*on_timeout)(int seconds ) ; |
| 853 |
int (*stream_open_function)(char const *filename , |
|
853 |
int (*stream_open_function)(char const *filename , |
| 854 |
zend_file_handle *handle ) ; |
|
854 |
zend_file_handle *handle ) ; |
| 855 |
int (*vspprintf_function)(char **pbuf , size_t max_len , |
|
855 |
int (*vspprintf_function)(char **pbuf , size_t max_len , |
| 856 |
char const *format , va_list ap ) ; |
|
856 |
char const *format , va_list ap ) ; |
| 857 |
char *(*getenv_function)(char *name , size_t name_len ) ; |
|
857 |
char *(*getenv_function)(char *name , size_t name_len ) ; |
| 858 |
char *(*resolve_path_function)(char const *filename , int filename_len ) ; |
|
858 |
char *(*resolve_path_function)(char const *filename , int filename_len ) ; |
| 859 |
}; |
|
859 |
}; |
| 860 |
typedef struct _zend_utility_functions zend_utility_functions; |
|
860 |
typedef struct _zend_utility_functions zend_utility_functions; |
| 861 |
struct _zend_utility_values { |
|
861 |
struct _zend_utility_values { |
| 862 |
char *import_use_extension ; |
|
862 |
char *import_use_extension ; |
| 863 |
uint import_use_extension_length ; |
|
863 |
uint import_use_extension_length ; |
| 864 |
zend_bool html_errors ; |
|
864 |
zend_bool html_errors ; |
| 865 |
}; |
|
865 |
}; |
| 866 |
typedef struct _zend_utility_values zend_utility_values; |
|
866 |
typedef struct _zend_utility_values zend_utility_values; |
| 867 |
typedef int (*zend_write_func_t)(char const *str , uint str_length ); |
|
867 |
typedef int (*zend_write_func_t)(char const *str , uint str_length ); |
| 868 |
union __anonunion_u_39 { |
|
868 |
union __anonunion_u_39 { |
| 869 |
zval *pz ; |
|
869 |
zval *pz ; |
| 870 |
zend_object_handlers *handlers ; |
|
870 |
zend_object_handlers *handlers ; |
| 871 |
}; |
|
871 |
}; |
| 872 |
struct _gc_root_buffer { |
|
872 |
struct _gc_root_buffer { |
| 873 |
struct _gc_root_buffer *prev ; |
|
873 |
struct _gc_root_buffer *prev ; |
| 874 |
struct _gc_root_buffer *next ; |
|
874 |
struct _gc_root_buffer *next ; |
| 875 |
zend_object_handle handle ; |
|
875 |
zend_object_handle handle ; |
| 876 |
union __anonunion_u_39 u ; |
|
876 |
union __anonunion_u_39 u ; |
| 877 |
}; |
|
877 |
}; |
| 878 |
typedef struct _gc_root_buffer gc_root_buffer; |
|
878 |
typedef struct _gc_root_buffer gc_root_buffer; |
| 879 |
union __anonunion_u_40 { |
|
879 |
union __anonunion_u_40 { |
| 880 |
gc_root_buffer *buffered ; |
|
880 |
gc_root_buffer *buffered ; |
| 881 |
struct _zval_gc_info *next ; |
|
881 |
struct _zval_gc_info *next ; |
| 882 |
}; |
|
882 |
}; |
| 883 |
struct _zval_gc_info { |
|
883 |
struct _zval_gc_info { |
| 884 |
zval z ; |
|
884 |
zval z ; |
| 885 |
union __anonunion_u_40 u ; |
|
885 |
union __anonunion_u_40 u ; |
| 886 |
}; |
|
886 |
}; |
| 887 |
typedef struct _zval_gc_info zval_gc_info; |
|
887 |
typedef struct _zval_gc_info zval_gc_info; |
| 888 |
struct _zend_gc_globals { |
|
888 |
struct _zend_gc_globals { |
| 889 |
zend_bool gc_enabled ; |
|
889 |
zend_bool gc_enabled ; |
| 890 |
zend_bool gc_active ; |
|
890 |
zend_bool gc_active ; |
| 891 |
gc_root_buffer *buf ; |
|
891 |
gc_root_buffer *buf ; |
| 892 |
gc_root_buffer roots ; |
|
892 |
gc_root_buffer roots ; |
| 893 |
gc_root_buffer *unused ; |
|
893 |
gc_root_buffer *unused ; |
| 894 |
gc_root_buffer *first_unused ; |
|
894 |
gc_root_buffer *first_unused ; |
| 895 |
gc_root_buffer *last_unused ; |
|
895 |
gc_root_buffer *last_unused ; |
| 896 |
zval_gc_info *zval_to_free ; |
|
896 |
zval_gc_info *zval_to_free ; |
| 897 |
zval_gc_info *free_list ; |
|
897 |
zval_gc_info *free_list ; |
| 898 |
zval_gc_info *next_to_free ; |
|
898 |
zval_gc_info *next_to_free ; |
| 899 |
zend_uint gc_runs ; |
|
899 |
zend_uint gc_runs ; |
| 900 |
zend_uint collected ; |
|
900 |
zend_uint collected ; |
| 901 |
}; |
|
901 |
}; |
| 902 |
typedef struct _zend_gc_globals zend_gc_globals; |
|
902 |
typedef struct _zend_gc_globals zend_gc_globals; |
| 903 |
enum __anonenum_zend_error_handling_t_41 { |
|
903 |
enum __anonenum_zend_error_handling_t_41 { |
| 904 |
EH_NORMAL = 0, |
|
904 |
EH_NORMAL = 0, |
| 905 |
EH_SUPPRESS = 1, |
|
905 |
EH_SUPPRESS = 1, |
| 906 |
EH_THROW = 2 |
|
906 |
EH_THROW = 2 |
| 907 |
} ; |
|
907 |
} ; |
| 908 |
typedef enum __anonenum_zend_error_handling_t_41 zend_error_handling_t; |
|
908 |
typedef enum __anonenum_zend_error_handling_t_41 zend_error_handling_t; |
| 909 |
struct __anonstruct_zend_error_handling_42 { |
|
909 |
struct __anonstruct_zend_error_handling_42 { |
| 910 |
zend_error_handling_t handling ; |
|
910 |
zend_error_handling_t handling ; |
| 911 |
zend_class_entry *exception ; |
|
911 |
zend_class_entry *exception ; |
| 912 |
zval *user_handler ; |
|
912 |
zval *user_handler ; |
| 913 |
}; |
|
913 |
}; |
| 914 |
typedef struct __anonstruct_zend_error_handling_42 zend_error_handling; |
|
914 |
typedef struct __anonstruct_zend_error_handling_42 zend_error_handling; |
| 915 |
struct _zend_op_array; |
|
915 |
struct _zend_op_array; |
| 916 |
typedef struct _zend_op_array zend_op_array; |
|
916 |
typedef struct _zend_op_array zend_op_array; |
| 917 |
struct _zend_op; |
|
917 |
struct _zend_op; |
| 918 |
typedef struct _zend_op zend_op; |
|
918 |
typedef struct _zend_op zend_op; |
| 919 |
struct _zend_compiler_context { |
|
919 |
struct _zend_compiler_context { |
| 920 |
zend_uint opcodes_size ; |
|
920 |
zend_uint opcodes_size ; |
| 921 |
int vars_size ; |
|
921 |
int vars_size ; |
| 922 |
int literals_size ; |
|
922 |
int literals_size ; |
| 923 |
int current_brk_cont ; |
|
923 |
int current_brk_cont ; |
| 924 |
int backpatch_count ; |
|
924 |
int backpatch_count ; |
| 925 |
HashTable *labels ; |
|
925 |
HashTable *labels ; |
| 926 |
}; |
|
926 |
}; |
| 927 |
typedef struct _zend_compiler_context zend_compiler_context; |
|
927 |
typedef struct _zend_compiler_context zend_compiler_context; |
| 928 |
struct _zend_literal { |
|
928 |
struct _zend_literal { |
| 929 |
zval constant ; |
|
929 |
zval constant ; |
| 930 |
zend_ulong hash_value ; |
|
930 |
zend_ulong hash_value ; |
| 931 |
zend_uint cache_slot ; |
|
931 |
zend_uint cache_slot ; |
| 932 |
}; |
|
932 |
}; |
| 933 |
typedef struct _zend_literal zend_literal; |
|
933 |
typedef struct _zend_literal zend_literal; |
| 934 |
union _znode_op { |
|
934 |
union _znode_op { |
| 935 |
zend_uint constant ; |
|
935 |
zend_uint constant ; |
| 936 |
zend_uint var ; |
|
936 |
zend_uint var ; |
| 937 |
zend_uint num ; |
|
937 |
zend_uint num ; |
| 938 |
zend_ulong hash ; |
|
938 |
zend_ulong hash ; |
| 939 |
zend_uint opline_num ; |
|
939 |
zend_uint opline_num ; |
| 940 |
zend_op *jmp_addr ; |
|
940 |
zend_op *jmp_addr ; |
| 941 |
zval *zv ; |
|
941 |
zval *zv ; |
| 942 |
zend_literal *literal ; |
|
942 |
zend_literal *literal ; |
| 943 |
void *ptr ; |
|
943 |
void *ptr ; |
| 944 |
}; |
|
944 |
}; |
| 945 |
typedef union _znode_op znode_op; |
|
945 |
typedef union _znode_op znode_op; |
| 946 |
union __anonunion_u_43 { |
|
946 |
union __anonunion_u_43 { |
| 947 |
znode_op op ; |
|
947 |
znode_op op ; |
| 948 |
zval constant ; |
|
948 |
zval constant ; |
| 949 |
zend_op_array *op_array ; |
|
949 |
zend_op_array *op_array ; |
| 950 |
}; |
|
950 |
}; |
| 951 |
struct _znode { |
|
951 |
struct _znode { |
| 952 |
int op_type ; |
|
952 |
int op_type ; |
| 953 |
union __anonunion_u_43 u ; |
|
953 |
union __anonunion_u_43 u ; |
| 954 |
zend_uint EA ; |
|
954 |
zend_uint EA ; |
| 955 |
}; |
|
955 |
}; |
| 956 |
typedef struct _znode znode; |
|
956 |
typedef struct _znode znode; |
| 957 |
struct _zend_execute_data; |
|
957 |
struct _zend_execute_data; |
| 958 |
typedef struct _zend_execute_data zend_execute_data; |
|
958 |
typedef struct _zend_execute_data zend_execute_data; |
| 959 |
typedef int (*user_opcode_handler_t)(zend_execute_data *execute_data ); |
|
959 |
typedef int (*user_opcode_handler_t)(zend_execute_data *execute_data ); |
| 960 |
typedef int ( __attribute__((__fastcall__)) (*opcode_handler_t))(zend_execute_data *execute_data ); |
|
960 |
typedef int ( __attribute__((__fastcall__)) (*opcode_handler_t))(zend_execute_data *execute_data ); |
| 961 |
struct _zend_op { |
|
961 |
struct _zend_op { |
| 962 |
int ( __attribute__((__fastcall__)) (*handler))(zend_execute_data *execute_data ) ; |
|
962 |
int ( __attribute__((__fastcall__)) (*handler))(zend_execute_data *execute_data ) ; |
| 963 |
znode_op op1 ; |
|
963 |
znode_op op1 ; |
| 964 |
znode_op op2 ; |
|
964 |
znode_op op2 ; |
| 965 |
znode_op result ; |
|
965 |
znode_op result ; |
| 966 |
ulong extended_value ; |
|
966 |
ulong extended_value ; |
| 967 |
uint lineno ; |
|
967 |
uint lineno ; |
| 968 |
zend_uchar opcode ; |
|
968 |
zend_uchar opcode ; |
| 969 |
zend_uchar op1_type ; |
|
969 |
zend_uchar op1_type ; |
| 970 |
zend_uchar op2_type ; |
|
970 |
zend_uchar op2_type ; |
| 971 |
zend_uchar result_type ; |
|
971 |
zend_uchar result_type ; |
| 972 |
}; |
|
972 |
}; |
| 973 |
struct _zend_brk_cont_element { |
|
973 |
struct _zend_brk_cont_element { |
| 974 |
int start ; |
|
974 |
int start ; |
| 975 |
int cont ; |
|
975 |
int cont ; |
| 976 |
int brk ; |
|
976 |
int brk ; |
| 977 |
int parent ; |
|
977 |
int parent ; |
| 978 |
}; |
|
978 |
}; |
| 979 |
typedef struct _zend_brk_cont_element zend_brk_cont_element; |
|
979 |
typedef struct _zend_brk_cont_element zend_brk_cont_element; |
| 980 |
struct _zend_label { |
|
980 |
struct _zend_label { |
| 981 |
int brk_cont ; |
|
981 |
int brk_cont ; |
| 982 |
zend_uint opline_num ; |
|
982 |
zend_uint opline_num ; |
| 983 |
}; |
|
983 |
}; |
| 984 |
typedef struct _zend_label zend_label; |
|
984 |
typedef struct _zend_label zend_label; |
| 985 |
struct _zend_try_catch_element { |
|
985 |
struct _zend_try_catch_element { |
| 986 |
zend_uint try_op ; |
|
986 |
zend_uint try_op ; |
| 987 |
zend_uint catch_op ; |
|
987 |
zend_uint catch_op ; |
| 988 |
}; |
|
988 |
}; |
| 989 |
typedef struct _zend_try_catch_element zend_try_catch_element; |
|
989 |
typedef struct _zend_try_catch_element zend_try_catch_element; |
| 990 |
struct _zend_property_info { |
|
990 |
struct _zend_property_info { |
| 991 |
zend_uint flags ; |
|
991 |
zend_uint flags ; |
| 992 |
char *name ; |
|
992 |
char *name ; |
| 993 |
int name_length ; |
|
993 |
int name_length ; |
| 994 |
ulong h ; |
|
994 |
ulong h ; |
| 995 |
int offset ; |
|
995 |
int offset ; |
| 996 |
char *doc_comment ; |
|
996 |
char *doc_comment ; |
| 997 |
int doc_comment_len ; |
|
997 |
int doc_comment_len ; |
| 998 |
zend_class_entry *ce ; |
|
998 |
zend_class_entry *ce ; |
| 999 |
}; |
|
999 |
}; |
| 1000 |
typedef struct _zend_property_info zend_property_info; |
|
1000 |
typedef struct _zend_property_info zend_property_info; |
| 1001 |
struct _zend_arg_info { |
|
1001 |
struct _zend_arg_info { |
| 1002 |
char const *name ; |
|
1002 |
char const *name ; |
| 1003 |
zend_uint name_len ; |
|
1003 |
zend_uint name_len ; |
| 1004 |
char const *class_name ; |
|
1004 |
char const *class_name ; |
| 1005 |
zend_uint class_name_len ; |
|
1005 |
zend_uint class_name_len ; |
| 1006 |
zend_uchar type_hint ; |
|
1006 |
zend_uchar type_hint ; |
| 1007 |
zend_bool allow_null ; |
|
1007 |
zend_bool allow_null ; |
| 1008 |
zend_bool pass_by_reference ; |
|
1008 |
zend_bool pass_by_reference ; |
| 1009 |
}; |
|
1009 |
}; |
| 1010 |
typedef struct _zend_arg_info zend_arg_info; |
|
1010 |
typedef struct _zend_arg_info zend_arg_info; |
| 1011 |
struct _zend_internal_function_info { |
|
1011 |
struct _zend_internal_function_info { |
| 1012 |
char const *_name ; |
|
1012 |
char const *_name ; |
| 1013 |
zend_uint _name_len ; |
|
1013 |
zend_uint _name_len ; |
| 1014 |
char const *_class_name ; |
|
1014 |
char const *_class_name ; |
| 1015 |
zend_uint required_num_args ; |
|
1015 |
zend_uint required_num_args ; |
| 1016 |
zend_uchar _type_hint ; |
|
1016 |
zend_uchar _type_hint ; |
| 1017 |
zend_bool return_reference ; |
|
1017 |
zend_bool return_reference ; |
| 1018 |
zend_bool pass_rest_by_reference ; |
|
1018 |
zend_bool pass_rest_by_reference ; |
| 1019 |
}; |
|
1019 |
}; |
| 1020 |
typedef struct _zend_internal_function_info zend_internal_function_info; |
|
1020 |
typedef struct _zend_internal_function_info zend_internal_function_info; |
| 1021 |
struct _zend_compiled_variable { |
|
1021 |
struct _zend_compiled_variable { |
| 1022 |
char *name ; |
|
1022 |
char *name ; |
| 1023 |
int name_len ; |
|
1023 |
int name_len ; |
| 1024 |
ulong hash_value ; |
|
1024 |
ulong hash_value ; |
| 1025 |
}; |
|
1025 |
}; |
| 1026 |
typedef struct _zend_compiled_variable zend_compiled_variable; |
|
1026 |
typedef struct _zend_compiled_variable zend_compiled_variable; |
| 1027 |
struct _zend_op_array { |
|
1027 |
struct _zend_op_array { |
| 1028 |
zend_uchar type ; |
|
1028 |
zend_uchar type ; |
| 1029 |
char *function_name ; |
|
1029 |
char *function_name ; |
| 1030 |
zend_class_entry *scope ; |
|
1030 |
zend_class_entry *scope ; |
| 1031 |
zend_uint fn_flags ; |
|
1031 |
zend_uint fn_flags ; |
| 1032 |
union _zend_function *prototype ; |
|
1032 |
union _zend_function *prototype ; |
| 1033 |
zend_uint num_args ; |
|
1033 |
zend_uint num_args ; |
| 1034 |
zend_uint required_num_args ; |
|
1034 |
zend_uint required_num_args ; |
| 1035 |
zend_arg_info *arg_info ; |
|
1035 |
zend_arg_info *arg_info ; |
| 1036 |
zend_uint *refcount ; |
|
1036 |
zend_uint *refcount ; |
| 1037 |
zend_op *opcodes ; |
|
1037 |
zend_op *opcodes ; |
| 1038 |
zend_uint last ; |
|
1038 |
zend_uint last ; |
| 1039 |
zend_compiled_variable *vars ; |
|
1039 |
zend_compiled_variable *vars ; |
| 1040 |
int last_var ; |
|
1040 |
int last_var ; |
| 1041 |
zend_uint T ; |
|
1041 |
zend_uint T ; |
| 1042 |
zend_brk_cont_element *brk_cont_array ; |
|
1042 |
zend_brk_cont_element *brk_cont_array ; |
| 1043 |
int last_brk_cont ; |
|
1043 |
int last_brk_cont ; |
| 1044 |
zend_try_catch_element *try_catch_array ; |
|
1044 |
zend_try_catch_element *try_catch_array ; |
| 1045 |
int last_try_catch ; |
|
1045 |
int last_try_catch ; |
| 1046 |
HashTable *static_variables ; |
|
1046 |
HashTable *static_variables ; |
| 1047 |
zend_uint this_var ; |
|
1047 |
zend_uint this_var ; |
| 1048 |
char *filename ; |
|
1048 |
char *filename ; |
| 1049 |
zend_uint line_start ; |
|
1049 |
zend_uint line_start ; |
| 1050 |
zend_uint line_end ; |
|
1050 |
zend_uint line_end ; |
| 1051 |
char *doc_comment ; |
|
1051 |
char *doc_comment ; |
| 1052 |
zend_uint doc_comment_len ; |
|
1052 |
zend_uint doc_comment_len ; |
| 1053 |
zend_uint early_binding ; |
|
1053 |
zend_uint early_binding ; |
| 1054 |
zend_literal *literals ; |
|
1054 |
zend_literal *literals ; |
| 1055 |
int last_literal ; |
|
1055 |
int last_literal ; |
| 1056 |
void **run_time_cache ; |
|
1056 |
void **run_time_cache ; |
| 1057 |
int last_cache_slot ; |
|
1057 |
int last_cache_slot ; |
| 1058 |
void *reserved[4] ; |
|
1058 |
void *reserved[4] ; |
| 1059 |
}; |
|
1059 |
}; |
| 1060 |
struct _zend_internal_function { |
|
1060 |
struct _zend_internal_function { |
| 1061 |
zend_uchar type ; |
|
1061 |
zend_uchar type ; |
| 1062 |
char *function_name ; |
|
1062 |
char *function_name ; |
| 1063 |
zend_class_entry *scope ; |
|
1063 |
zend_class_entry *scope ; |
| 1064 |
zend_uint fn_flags ; |
|
1064 |
zend_uint fn_flags ; |
| 1065 |
union _zend_function *prototype ; |
|
1065 |
union _zend_function *prototype ; |
| 1066 |
zend_uint num_args ; |
|
1066 |
zend_uint num_args ; |
| 1067 |
zend_uint required_num_args ; |
|
1067 |
zend_uint required_num_args ; |
| 1068 |
zend_arg_info *arg_info ; |
|
1068 |
zend_arg_info *arg_info ; |
| 1069 |
void (*handler)(int ht , zval *return_value , zval **return_value_ptr , |
|
1069 |
void (*handler)(int ht , zval *return_value , zval **return_value_ptr , |
| 1070 |
zval *this_ptr , int return_value_used ) ; |
|
1070 |
zval *this_ptr , int return_value_used ) ; |
| 1071 |
struct _zend_module_entry *module ; |
|
1071 |
struct _zend_module_entry *module ; |
| 1072 |
}; |
|
1072 |
}; |
| 1073 |
typedef struct _zend_internal_function zend_internal_function; |
|
1073 |
typedef struct _zend_internal_function zend_internal_function; |
| 1074 |
struct __anonstruct_common_44 { |
|
1074 |
struct __anonstruct_common_44 { |
| 1075 |
zend_uchar type ; |
|
1075 |
zend_uchar type ; |
| 1076 |
char *function_name ; |
|
1076 |
char *function_name ; |
| 1077 |
zend_class_entry *scope ; |
|
1077 |
zend_class_entry *scope ; |
| 1078 |
zend_uint fn_flags ; |
|
1078 |
zend_uint fn_flags ; |
| 1079 |
union _zend_function *prototype ; |
|
1079 |
union _zend_function *prototype ; |
| 1080 |
zend_uint num_args ; |
|
1080 |
zend_uint num_args ; |
| 1081 |
zend_uint required_num_args ; |
|
1081 |
zend_uint required_num_args ; |
| 1082 |
zend_arg_info *arg_info ; |
|
1082 |
zend_arg_info *arg_info ; |
| 1083 |
}; |
|
1083 |
}; |
| 1084 |
union _zend_function { |
|
1084 |
union _zend_function { |
| 1085 |
zend_uchar type ; |
|
1085 |
zend_uchar type ; |
| 1086 |
struct __anonstruct_common_44 common ; |
|
1086 |
struct __anonstruct_common_44 common ; |
| 1087 |
zend_op_array op_array ; |
|
1087 |
zend_op_array op_array ; |
| 1088 |
zend_internal_function internal_function ; |
|
1088 |
zend_internal_function internal_function ; |
| 1089 |
}; |
|
1089 |
}; |
| 1090 |
typedef union _zend_function zend_function; |
|
1090 |
typedef union _zend_function zend_function; |
| 1091 |
struct _zend_function_state { |
|
1091 |
struct _zend_function_state { |
| 1092 |
zend_function *function ; |
|
1092 |
zend_function *function ; |
| 1093 |
void **arguments ; |
|
1093 |
void **arguments ; |
| 1094 |
}; |
|
1094 |
}; |
| 1095 |
typedef struct _zend_function_state zend_function_state; |
|
1095 |
typedef struct _zend_function_state zend_function_state; |
| 1096 |
struct _zend_switch_entry { |
|
1096 |
struct _zend_switch_entry { |
| 1097 |
znode cond ; |
|
1097 |
znode cond ; |
| 1098 |
int default_case ; |
|
1098 |
int default_case ; |
| 1099 |
int control_var ; |
|
1099 |
int control_var ; |
| 1100 |
}; |
|
1100 |
}; |
| 1101 |
typedef struct _zend_switch_entry zend_switch_entry; |
|
1101 |
typedef struct _zend_switch_entry zend_switch_entry; |
| 1102 |
struct _list_llist_element { |
|
1102 |
struct _list_llist_element { |
| 1103 |
znode var ; |
|
1103 |
znode var ; |
| 1104 |
zend_llist dimensions ; |
|
1104 |
zend_llist dimensions ; |
| 1105 |
znode value ; |
|
1105 |
znode value ; |
| 1106 |
}; |
|
1106 |
}; |
| 1107 |
typedef struct _list_llist_element list_llist_element; |
|
1107 |
typedef struct _list_llist_element list_llist_element; |
| 1108 |
union _temp_variable; |
|
1108 |
union _temp_variable; |
| 1109 |
union _temp_variable; |
|
1109 |
union _temp_variable; |
| 1110 |
struct _zend_execute_data { |
|
1110 |
struct _zend_execute_data { |
| 1111 |
struct _zend_op *opline ; |
|
1111 |
struct _zend_op *opline ; |
| 1112 |
zend_function_state function_state ; |
|
1112 |
zend_function_state function_state ; |
| 1113 |
zend_function *fbc ; |
|
1113 |
zend_function *fbc ; |
| 1114 |
zend_class_entry *called_scope ; |
|
1114 |
zend_class_entry *called_scope ; |
| 1115 |
zend_op_array *op_array ; |
|
1115 |
zend_op_array *op_array ; |
| 1116 |
zval *object ; |
|
1116 |
zval *object ; |
| 1117 |
union _temp_variable *Ts ; |
|
1117 |
union _temp_variable *Ts ; |
| 1118 |
zval ***CVs ; |
|
1118 |
zval ***CVs ; |
| 1119 |
HashTable *symbol_table ; |
|
1119 |
HashTable *symbol_table ; |
| 1120 |
struct _zend_execute_data *prev_execute_data ; |
|
1120 |
struct _zend_execute_data *prev_execute_data ; |
| 1121 |
zval *old_error_reporting ; |
|
1121 |
zval *old_error_reporting ; |
| 1122 |
zend_bool nested ; |
|
1122 |
zend_bool nested ; |
| 1123 |
zval **original_return_value ; |
|
1123 |
zval **original_return_value ; |
| 1124 |
zend_class_entry *current_scope ; |
|
1124 |
zend_class_entry *current_scope ; |
| 1125 |
zend_class_entry *current_called_scope ; |
|
1125 |
zend_class_entry *current_called_scope ; |
| 1126 |
zval *current_this ; |
|
1126 |
zval *current_this ; |
| 1127 |
zval *current_object ; |
|
1127 |
zval *current_object ; |
| 1128 |
}; |
|
1128 |
}; |
| 1129 |
typedef int __jmp_buf[6]; |
|
1129 |
typedef int __jmp_buf[6]; |
| 1130 |
struct __jmp_buf_tag { |
|
1130 |
struct __jmp_buf_tag { |
| 1131 |
__jmp_buf __jmpbuf ; |
|
1131 |
__jmp_buf __jmpbuf ; |
| 1132 |
int __mask_was_saved ; |
|
1132 |
int __mask_was_saved ; |
| 1133 |
__sigset_t __saved_mask ; |
|
1133 |
__sigset_t __saved_mask ; |
| 1134 |
}; |
|
1134 |
}; |
| 1135 |
typedef struct __jmp_buf_tag jmp_buf[1]; |
|
1135 |
typedef struct __jmp_buf_tag jmp_buf[1]; |
| 1136 |
typedef struct __jmp_buf_tag sigjmp_buf[1]; |
|
1136 |
typedef struct __jmp_buf_tag sigjmp_buf[1]; |
| 1137 |
struct _zend_compiler_globals; |
|
1137 |
struct _zend_compiler_globals; |
| 1138 |
typedef struct _zend_compiler_globals zend_compiler_globals; |
|
1138 |
typedef struct _zend_compiler_globals zend_compiler_globals; |
| 1139 |
struct _zend_executor_globals; |
|
1139 |
struct _zend_executor_globals; |
| 1140 |
typedef struct _zend_executor_globals zend_executor_globals; |
|
1140 |
typedef struct _zend_executor_globals zend_executor_globals; |
| 1141 |
struct _zend_php_scanner_globals; |
|
1141 |
struct _zend_php_scanner_globals; |
| 1142 |
typedef struct _zend_php_scanner_globals zend_php_scanner_globals; |
|
1142 |
typedef struct _zend_php_scanner_globals zend_php_scanner_globals; |
| 1143 |
struct _zend_ini_scanner_globals; |
|
1143 |
struct _zend_ini_scanner_globals; |
| 1144 |
typedef struct _zend_ini_scanner_globals zend_ini_scanner_globals; |
|
1144 |
typedef struct _zend_ini_scanner_globals zend_ini_scanner_globals; |
| 1145 |
struct _zend_stack { |
|
1145 |
struct _zend_stack { |
| 1146 |
int top ; |
|
1146 |
int top ; |
| 1147 |
int max ; |
|
1147 |
int max ; |
| 1148 |
void **elements ; |
|
1148 |
void **elements ; |
| 1149 |
}; |
|
1149 |
}; |
| 1150 |
typedef struct _zend_stack zend_stack; |
|
1150 |
typedef struct _zend_stack zend_stack; |
| 1151 |
struct _zend_ptr_stack { |
|
1151 |
struct _zend_ptr_stack { |
| 1152 |
int top ; |
|
1152 |
int top ; |
| 1153 |
int max ; |
|
1153 |
int max ; |
| 1154 |
void **elements ; |
|
1154 |
void **elements ; |
| 1155 |
void **top_element ; |
|
1155 |
void **top_element ; |
| 1156 |
zend_bool persistent ; |
|
1156 |
zend_bool persistent ; |
| 1157 |
}; |
|
1157 |
}; |
| 1158 |
typedef struct _zend_ptr_stack zend_ptr_stack; |
|
1158 |
typedef struct _zend_ptr_stack zend_ptr_stack; |
| 1159 |
typedef void (*zend_objects_store_dtor_t)(void *object , |
|
1159 |
typedef void (*zend_objects_store_dtor_t)(void *object , |
| 1160 |
zend_object_handle handle ); |
|
1160 |
zend_object_handle handle ); |
| 1161 |
typedef void (*zend_objects_free_object_storage_t)(void *object ); |
|
1161 |
typedef void (*zend_objects_free_object_storage_t)(void *object ); |
| 1162 |
typedef void (*zend_objects_store_clone_t)(void *object , void **object_clone ); |
|
1162 |
typedef void (*zend_objects_store_clone_t)(void *object , void **object_clone ); |
| 1163 |
struct _store_object { |
|
1163 |
struct _store_object { |
| 1164 |
void *object ; |
|
1164 |
void *object ; |
| 1165 |
void (*dtor)(void *object , zend_object_handle handle ) ; |
|
1165 |
void (*dtor)(void *object , zend_object_handle handle ) ; |
| 1166 |
void (*free_storage)(void *object ) ; |
|
1166 |
void (*free_storage)(void *object ) ; |
| 1167 |
void (*clone)(void *object , void **object_clone ) ; |
|
1167 |
void (*clone)(void *object , void **object_clone ) ; |
| 1168 |
zend_object_handlers const *handlers ; |
|
1168 |
zend_object_handlers const *handlers ; |
| 1169 |
zend_uint refcount ; |
|
1169 |
zend_uint refcount ; |
| 1170 |
gc_root_buffer *buffered ; |
|
1170 |
gc_root_buffer *buffered ; |
| 1171 |
}; |
|
1171 |
}; |
| 1172 |
struct __anonstruct_free_list_45 { |
|
1172 |
struct __anonstruct_free_list_45 { |
| 1173 |
int next ; |
|
1173 |
int next ; |
| 1174 |
}; |
|
1174 |
}; |
| 1175 |
union _store_bucket { |
|
1175 |
union _store_bucket { |
| 1176 |
struct _store_object obj ; |
|
1176 |
struct _store_object obj ; |
| 1177 |
struct __anonstruct_free_list_45 free_list ; |
|
1177 |
struct __anonstruct_free_list_45 free_list ; |
| 1178 |
}; |
|
1178 |
}; |
| 1179 |
struct _zend_object_store_bucket { |
|
1179 |
struct _zend_object_store_bucket { |
| 1180 |
zend_bool destructor_called ; |
|
1180 |
zend_bool destructor_called ; |
| 1181 |
zend_bool valid ; |
|
1181 |
zend_bool valid ; |
| 1182 |
union _store_bucket bucket ; |
|
1182 |
union _store_bucket bucket ; |
| 1183 |
}; |
|
1183 |
}; |
| 1184 |
typedef struct _zend_object_store_bucket zend_object_store_bucket; |
|
1184 |
typedef struct _zend_object_store_bucket zend_object_store_bucket; |
| 1185 |
struct _zend_objects_store { |
|
1185 |
struct _zend_objects_store { |
| 1186 |
zend_object_store_bucket *object_buckets ; |
|
1186 |
zend_object_store_bucket *object_buckets ; |
| 1187 |
zend_uint top ; |
|
1187 |
zend_uint top ; |
| 1188 |
zend_uint size ; |
|
1188 |
zend_uint size ; |
| 1189 |
int free_list_head ; |
|
1189 |
int free_list_head ; |
| 1190 |
}; |
|
1190 |
}; |
| 1191 |
typedef struct _zend_objects_store zend_objects_store; |
|
1191 |
typedef struct _zend_objects_store zend_objects_store; |
| 1192 |
typedef unsigned short fpu_control_t; |
|
1192 |
typedef unsigned short fpu_control_t; |
| 1193 |
struct _zend_encoding; |
|
1193 |
struct _zend_encoding; |
| 1194 |
typedef struct _zend_encoding zend_encoding; |
|
1194 |
typedef struct _zend_encoding zend_encoding; |
| 1195 |
typedef size_t (*zend_encoding_filter)(unsigned char **str , |
|
1195 |
typedef size_t (*zend_encoding_filter)(unsigned char **str , |
| 1196 |
size_t *str_length , |
|
1196 |
size_t *str_length , |
| 1197 |
unsigned char const *buf , |
|
1197 |
unsigned char const *buf , |
| 1198 |
size_t length ); |
|
1198 |
size_t length ); |
| 1199 |
typedef zend_encoding const *(*zend_encoding_fetcher)(char const *encoding_name ); |
|
1199 |
typedef zend_encoding const *(*zend_encoding_fetcher)(char const *encoding_name ); |
| 1200 |
typedef char const *(*zend_encoding_name_getter)(zend_encoding const *encoding ); |
|
1200 |
typedef char const *(*zend_encoding_name_getter)(zend_encoding const *encoding ); |
| 1201 |
typedef int (*zend_encoding_lexer_compatibility_checker)(zend_encoding const *encoding ); |
|
1201 |
typedef int (*zend_encoding_lexer_compatibility_checker)(zend_encoding const *encoding ); |
| 1202 |
typedef zend_encoding const *(*zend_encoding_detector)(unsigned char const *string , |
|
1202 |
typedef zend_encoding const *(*zend_encoding_detector)(unsigned char const *string , |
| 1203 |
size_t length , |
|
1203 |
size_t length , |
| 1204 |
zend_encoding const **list , |
|
1204 |
zend_encoding const **list , |
| 1205 |
size_t list_size ); |
|
1205 |
size_t list_size ); |
| 1206 |
typedef size_t (*zend_encoding_converter)(unsigned char **to , |
|
1206 |
typedef size_t (*zend_encoding_converter)(unsigned char **to , |
| 1207 |
size_t *to_length , |
|
1207 |
size_t *to_length , |
| 1208 |
unsigned char const *from , |
|
1208 |
unsigned char const *from , |
| 1209 |
size_t from_length , |
|
1209 |
size_t from_length , |
| 1210 |
zend_encoding const *encoding_to , |
|
1210 |
zend_encoding const *encoding_to , |
| 1211 |
zend_encoding const *encoding_from ); |
|
1211 |
zend_encoding const *encoding_from ); |
| 1212 |
typedef int (*zend_encoding_list_parser)(char const *encoding_list , |
|
1212 |
typedef int (*zend_encoding_list_parser)(char const *encoding_list , |
| 1213 |
size_t encoding_list_len , |
|
1213 |
size_t encoding_list_len , |
| 1214 |
zend_encoding const ***return_list , |
|
1214 |
zend_encoding const ***return_list , |
| 1215 |
size_t *return_size , int persistent ); |
|
1215 |
size_t *return_size , int persistent ); |
| 1216 |
typedef zend_encoding const *(*zend_encoding_internal_encoding_getter)(void); |
|
1216 |
typedef zend_encoding const *(*zend_encoding_internal_encoding_getter)(void); |
| 1217 |
typedef int (*zend_encoding_internal_encoding_setter)(zend_encoding const *encoding ); |
|
1217 |
typedef int (*zend_encoding_internal_encoding_setter)(zend_encoding const *encoding ); |
| 1218 |
struct _zend_multibyte_functions { |
|
1218 |
struct _zend_multibyte_functions { |
| 1219 |
char const *provider_name ; |
|
1219 |
char const *provider_name ; |
| 1220 |
zend_encoding const *(*encoding_fetcher)(char const *encoding_name ) ; |
|
1220 |
zend_encoding const *(*encoding_fetcher)(char const *encoding_name ) ; |
| 1221 |
char const *(*encoding_name_getter)(zend_encoding const *encoding ) ; |
|
1221 |
char const *(*encoding_name_getter)(zend_encoding const *encoding ) ; |
| 1222 |
int (*lexer_compatibility_checker)(zend_encoding const *encoding ) ; |
|
1222 |
int (*lexer_compatibility_checker)(zend_encoding const *encoding ) ; |
| 1223 |
zend_encoding const *(*encoding_detector)(unsigned char const *string , |
|
1223 |
zend_encoding const *(*encoding_detector)(unsigned char const *string , |
| 1224 |
size_t length , |
|
1224 |
size_t length , |
| 1225 |
zend_encoding const **list , |
|
1225 |
zend_encoding const **list , |
| 1226 |
size_t list_size ) ; |
|
1226 |
size_t list_size ) ; |
| 1227 |
size_t (*encoding_converter)(unsigned char **to , size_t *to_length , |
|
1227 |
size_t (*encoding_converter)(unsigned char **to , size_t *to_length , |
| 1228 |
unsigned char const *from , |
|
1228 |
unsigned char const *from , |
| 1229 |
size_t from_length , |
|
1229 |
size_t from_length , |
| 1230 |
zend_encoding const *encoding_to , |
|
1230 |
zend_encoding const *encoding_to , |
| 1231 |
zend_encoding const *encoding_from ) ; |
|
1231 |
zend_encoding const *encoding_from ) ; |
| 1232 |
int (*encoding_list_parser)(char const *encoding_list , |
|
1232 |
int (*encoding_list_parser)(char const *encoding_list , |
| 1233 |
size_t encoding_list_len , |
|
1233 |
size_t encoding_list_len , |
| 1234 |
zend_encoding const ***return_list , |
|
1234 |
zend_encoding const ***return_list , |
| 1235 |
size_t *return_size , int persistent ) ; |
|
1235 |
size_t *return_size , int persistent ) ; |
| 1236 |
zend_encoding const *(*internal_encoding_getter)(void) ; |
|
1236 |
zend_encoding const *(*internal_encoding_getter)(void) ; |
| 1237 |
int (*internal_encoding_setter)(zend_encoding const *encoding ) ; |
|
1237 |
int (*internal_encoding_setter)(zend_encoding const *encoding ) ; |
| 1238 |
}; |
|
1238 |
}; |
| 1239 |
typedef struct _zend_multibyte_functions zend_multibyte_functions; |
|
1239 |
typedef struct _zend_multibyte_functions zend_multibyte_functions; |
| 1240 |
struct _zend_declarables { |
|
1240 |
struct _zend_declarables { |
| 1241 |
zval ticks ; |
|
1241 |
zval ticks ; |
| 1242 |
}; |
|
1242 |
}; |
| 1243 |
typedef struct _zend_declarables zend_declarables; |
|
1243 |
typedef struct _zend_declarables zend_declarables; |
| 1244 |
struct _zend_vm_stack; |
|
1244 |
struct _zend_vm_stack; |
| 1245 |
typedef struct _zend_vm_stack *zend_vm_stack; |
|
1245 |
typedef struct _zend_vm_stack *zend_vm_stack; |
| 1246 |
struct _zend_ini_entry; |
|
1246 |
struct _zend_ini_entry; |
| 1247 |
typedef struct _zend_ini_entry zend_ini_entry; |
|
1247 |
typedef struct _zend_ini_entry zend_ini_entry; |
| 1248 |
struct _zend_ini_parser_param; |
|
1248 |
struct _zend_ini_parser_param; |
| 1249 |
struct _zend_compiler_globals { |
|
1249 |
struct _zend_compiler_globals { |
| 1250 |
zend_stack bp_stack ; |
|
1250 |
zend_stack bp_stack ; |
| 1251 |
zend_stack switch_cond_stack ; |
|
1251 |
zend_stack switch_cond_stack ; |
| 1252 |
zend_stack foreach_copy_stack ; |
|
1252 |
zend_stack foreach_copy_stack ; |
| 1253 |
zend_stack object_stack ; |
|
1253 |
zend_stack object_stack ; |
| 1254 |
zend_stack declare_stack ; |
|
1254 |
zend_stack declare_stack ; |
| 1255 |
zend_class_entry *active_class_entry ; |
|
1255 |
zend_class_entry *active_class_entry ; |
| 1256 |
zend_llist list_llist ; |
|
1256 |
zend_llist list_llist ; |
| 1257 |
zend_llist dimension_llist ; |
|
1257 |
zend_llist dimension_llist ; |
| 1258 |
zend_stack list_stack ; |
|
1258 |
zend_stack list_stack ; |
| 1259 |
zend_stack function_call_stack ; |
|
1259 |
zend_stack function_call_stack ; |
| 1260 |
char *compiled_filename ; |
|
1260 |
char *compiled_filename ; |
| 1261 |
int zend_lineno ; |
|
1261 |
int zend_lineno ; |
| 1262 |
char *heredoc ; |
|
1262 |
char *heredoc ; |
| 1263 |
int heredoc_len ; |
|
1263 |
int heredoc_len ; |
| 1264 |
zend_op_array *active_op_array ; |
|
1264 |
zend_op_array *active_op_array ; |
| 1265 |
HashTable *function_table ; |
|
1265 |
HashTable *function_table ; |
| 1266 |
HashTable *class_table ; |
|
1266 |
HashTable *class_table ; |
| 1267 |
HashTable filenames_table ; |
|
1267 |
HashTable filenames_table ; |
| 1268 |
HashTable *auto_globals ; |
|
1268 |
HashTable *auto_globals ; |
| 1269 |
zend_bool in_compilation ; |
|
1269 |
zend_bool in_compilation ; |
| 1270 |
zend_bool short_tags ; |
|
1270 |
zend_bool short_tags ; |
| 1271 |
zend_bool asp_tags ; |
|
1271 |
zend_bool asp_tags ; |
| 1272 |
zend_declarables declarables ; |
|
1272 |
zend_declarables declarables ; |
| 1273 |
zend_bool unclean_shutdown ; |
|
1273 |
zend_bool unclean_shutdown ; |
| 1274 |
zend_bool ini_parser_unbuffered_errors ; |
|
1274 |
zend_bool ini_parser_unbuffered_errors ; |
| 1275 |
zend_llist open_files ; |
|
1275 |
zend_llist open_files ; |
| 1276 |
long catch_begin ; |
|
1276 |
long catch_begin ; |
| 1277 |
struct _zend_ini_parser_param *ini_parser_param ; |
|
1277 |
struct _zend_ini_parser_param *ini_parser_param ; |
| 1278 |
int interactive ; |
|
1278 |
int interactive ; |
| 1279 |
zend_uint start_lineno ; |
|
1279 |
zend_uint start_lineno ; |
| 1280 |
zend_bool increment_lineno ; |
|
1280 |
zend_bool increment_lineno ; |
| 1281 |
znode implementing_class ; |
|
1281 |
znode implementing_class ; |
| 1282 |
zend_uint access_type ; |
|
1282 |
zend_uint access_type ; |
| 1283 |
char *doc_comment ; |
|
1283 |
char *doc_comment ; |
| 1284 |
zend_uint doc_comment_len ; |
|
1284 |
zend_uint doc_comment_len ; |
| 1285 |
zend_uint compiler_options ; |
|
1285 |
zend_uint compiler_options ; |
| 1286 |
zval *current_namespace ; |
|
1286 |
zval *current_namespace ; |
| 1287 |
HashTable *current_import ; |
|
1287 |
HashTable *current_import ; |
| 1288 |
zend_bool in_namespace ; |
|
1288 |
zend_bool in_namespace ; |
| 1289 |
zend_bool has_bracketed_namespaces ; |
|
1289 |
zend_bool has_bracketed_namespaces ; |
| 1290 |
zend_compiler_context context ; |
|
1290 |
zend_compiler_context context ; |
| 1291 |
zend_stack context_stack ; |
|
1291 |
zend_stack context_stack ; |
| 1292 |
char *interned_strings_start ; |
|
1292 |
char *interned_strings_start ; |
| 1293 |
char *interned_strings_end ; |
|
1293 |
char *interned_strings_end ; |
| 1294 |
char *interned_strings_top ; |
|
1294 |
char *interned_strings_top ; |
| 1295 |
char *interned_strings_snapshot_top ; |
|
1295 |
char *interned_strings_snapshot_top ; |
| 1296 |
HashTable interned_strings ; |
|
1296 |
HashTable interned_strings ; |
| 1297 |
zend_encoding const **script_encoding_list ; |
|
1297 |
zend_encoding const **script_encoding_list ; |
| 1298 |
size_t script_encoding_list_size ; |
|
1298 |
size_t script_encoding_list_size ; |
| 1299 |
zend_bool multibyte ; |
|
1299 |
zend_bool multibyte ; |
| 1300 |
zend_bool detect_unicode ; |
|
1300 |
zend_bool detect_unicode ; |
| 1301 |
zend_bool encoding_declared ; |
|
1301 |
zend_bool encoding_declared ; |
| 1302 |
}; |
|
1302 |
}; |
| 1303 |
struct _zend_executor_globals { |
|
1303 |
struct _zend_executor_globals { |
| 1304 |
zval **return_value_ptr_ptr ; |
|
1304 |
zval **return_value_ptr_ptr ; |
| 1305 |
zval uninitialized_zval ; |
|
1305 |
zval uninitialized_zval ; |
| 1306 |
zval *uninitialized_zval_ptr ; |
|
1306 |
zval *uninitialized_zval_ptr ; |
| 1307 |
zval error_zval ; |
|
1307 |
zval error_zval ; |
| 1308 |
zval *error_zval_ptr ; |
|
1308 |
zval *error_zval_ptr ; |
| 1309 |
zend_ptr_stack arg_types_stack ; |
|
1309 |
zend_ptr_stack arg_types_stack ; |
| 1310 |
HashTable *symtable_cache[32] ; |
|
1310 |
HashTable *symtable_cache[32] ; |
| 1311 |
HashTable **symtable_cache_limit ; |
|
1311 |
HashTable **symtable_cache_limit ; |
| 1312 |
HashTable **symtable_cache_ptr ; |
|
1312 |
HashTable **symtable_cache_ptr ; |
| 1313 |
zend_op **opline_ptr ; |
|
1313 |
zend_op **opline_ptr ; |
| 1314 |
HashTable *active_symbol_table ; |
|
1314 |
HashTable *active_symbol_table ; |
| 1315 |
HashTable symbol_table ; |
|
1315 |
HashTable symbol_table ; |
| 1316 |
HashTable included_files ; |
|
1316 |
HashTable included_files ; |
| 1317 |
jmp_buf *bailout ; |
|
1317 |
jmp_buf *bailout ; |
| 1318 |
int error_reporting ; |
|
1318 |
int error_reporting ; |
| 1319 |
int orig_error_reporting ; |
|
1319 |
int orig_error_reporting ; |
| 1320 |
int exit_status ; |
|
1320 |
int exit_status ; |
| 1321 |
zend_op_array *active_op_array ; |
|
1321 |
zend_op_array *active_op_array ; |
| 1322 |
HashTable *function_table ; |
|
1322 |
HashTable *function_table ; |
| 1323 |
HashTable *class_table ; |
|
1323 |
HashTable *class_table ; |
| 1324 |
HashTable *zend_constants ; |
|
1324 |
HashTable *zend_constants ; |
| 1325 |
zend_class_entry *scope ; |
|
1325 |
zend_class_entry *scope ; |
| 1326 |
zend_class_entry *called_scope ; |
|
1326 |
zend_class_entry *called_scope ; |
| 1327 |
zval *This ; |
|
1327 |
zval *This ; |
| 1328 |
long precision ; |
|
1328 |
long precision ; |
| 1329 |
int ticks_count ; |
|
1329 |
int ticks_count ; |
| 1330 |
zend_bool in_execution ; |
|
1330 |
zend_bool in_execution ; |
| 1331 |
HashTable *in_autoload ; |
|
1331 |
HashTable *in_autoload ; |
| 1332 |
zend_function *autoload_func ; |
|
1332 |
zend_function *autoload_func ; |
| 1333 |
zend_bool full_tables_cleanup ; |
|
1333 |
zend_bool full_tables_cleanup ; |
| 1334 |
zend_bool no_extensions ; |
|
1334 |
zend_bool no_extensions ; |
| 1335 |
HashTable regular_list ; |
|
1335 |
HashTable regular_list ; |
| 1336 |
HashTable persistent_list ; |
|
1336 |
HashTable persistent_list ; |
| 1337 |
zend_vm_stack argument_stack ; |
|
1337 |
zend_vm_stack argument_stack ; |
| 1338 |
int user_error_handler_error_reporting ; |
|
1338 |
int user_error_handler_error_reporting ; |
| 1339 |
zval *user_error_handler ; |
|
1339 |
zval *user_error_handler ; |
| 1340 |
zval *user_exception_handler ; |
|
1340 |
zval *user_exception_handler ; |
| 1341 |
zend_stack user_error_handlers_error_reporting ; |
|
1341 |
zend_stack user_error_handlers_error_reporting ; |
| 1342 |
zend_ptr_stack user_error_handlers ; |
|
1342 |
zend_ptr_stack user_error_handlers ; |
| 1343 |
zend_ptr_stack user_exception_handlers ; |
|
1343 |
zend_ptr_stack user_exception_handlers ; |
| 1344 |
zend_error_handling_t error_handling ; |
|
1344 |
zend_error_handling_t error_handling ; |
| 1345 |
zend_class_entry *exception_class ; |
|
1345 |
zend_class_entry *exception_class ; |
| 1346 |
int timeout_seconds ; |
|
1346 |
int timeout_seconds ; |
| 1347 |
int lambda_count ; |
|
1347 |
int lambda_count ; |
| 1348 |
HashTable *ini_directives ; |
|
1348 |
HashTable *ini_directives ; |
| 1349 |
HashTable *modified_ini_directives ; |
|
1349 |
HashTable *modified_ini_directives ; |
| 1350 |
zend_ini_entry *error_reporting_ini_entry ; |
|
1350 |
zend_ini_entry *error_reporting_ini_entry ; |
| 1351 |
zend_objects_store objects_store ; |
|
1351 |
zend_objects_store objects_store ; |
| 1352 |
zval *exception ; |
|
1352 |
zval *exception ; |
| 1353 |
zval *prev_exception ; |
|
1353 |
zval *prev_exception ; |
| 1354 |
zend_op *opline_before_exception ; |
|
1354 |
zend_op *opline_before_exception ; |
| 1355 |
zend_op exception_op[3] ; |
|
1355 |
zend_op exception_op[3] ; |
| 1356 |
struct _zend_execute_data *current_execute_data ; |
|
1356 |
struct _zend_execute_data *current_execute_data ; |
| 1357 |
struct _zend_module_entry *current_module ; |
|
1357 |
struct _zend_module_entry *current_module ; |
| 1358 |
zend_property_info std_property_info ; |
|
1358 |
zend_property_info std_property_info ; |
| 1359 |
zend_bool active ; |
|
1359 |
zend_bool active ; |
| 1360 |
zend_op *start_op ; |
|
1360 |
zend_op *start_op ; |
| 1361 |
void *saved_fpu_cw_ptr ; |
|
1361 |
void *saved_fpu_cw_ptr ; |
| 1362 |
fpu_control_t saved_fpu_cw ; |
|
1362 |
fpu_control_t saved_fpu_cw ; |
| 1363 |
void *reserved[4] ; |
|
1363 |
void *reserved[4] ; |
| 1364 |
}; |
|
1364 |
}; |
| 1365 |
struct _zend_ini_scanner_globals { |
|
1365 |
struct _zend_ini_scanner_globals { |
| 1366 |
zend_file_handle *yy_in ; |
|
1366 |
zend_file_handle *yy_in ; |
| 1367 |
zend_file_handle *yy_out ; |
|
1367 |
zend_file_handle *yy_out ; |
| 1368 |
unsigned int yy_leng ; |
|
1368 |
unsigned int yy_leng ; |
| 1369 |
unsigned char *yy_start ; |
|
1369 |
unsigned char *yy_start ; |
| 1370 |
unsigned char *yy_text ; |
|
1370 |
unsigned char *yy_text ; |
| 1371 |
unsigned char *yy_cursor ; |
|
1371 |
unsigned char *yy_cursor ; |
| 1372 |
unsigned char *yy_marker ; |
|
1372 |
unsigned char *yy_marker ; |
| 1373 |
unsigned char *yy_limit ; |
|
1373 |
unsigned char *yy_limit ; |
| 1374 |
int yy_state ; |
|
1374 |
int yy_state ; |
| 1375 |
zend_stack state_stack ; |
|
1375 |
zend_stack state_stack ; |
| 1376 |
char *filename ; |
|
1376 |
char *filename ; |
| 1377 |
int lineno ; |
|
1377 |
int lineno ; |
| 1378 |
int scanner_mode ; |
|
1378 |
int scanner_mode ; |
| 1379 |
}; |
|
1379 |
}; |
| 1380 |
struct _zend_php_scanner_globals { |
|
1380 |
struct _zend_php_scanner_globals { |
| 1381 |
zend_file_handle *yy_in ; |
|
1381 |
zend_file_handle *yy_in ; |
| 1382 |
zend_file_handle *yy_out ; |
|
1382 |
zend_file_handle *yy_out ; |
| 1383 |
unsigned int yy_leng ; |
|
1383 |
unsigned int yy_leng ; |
| 1384 |
unsigned char *yy_start ; |
|
1384 |
unsigned char *yy_start ; |
| 1385 |
unsigned char *yy_text ; |
|
1385 |
unsigned char *yy_text ; |
| 1386 |
unsigned char *yy_cursor ; |
|
1386 |
unsigned char *yy_cursor ; |
| 1387 |
unsigned char *yy_marker ; |
|
1387 |
unsigned char *yy_marker ; |
| 1388 |
unsigned char *yy_limit ; |
|
1388 |
unsigned char *yy_limit ; |
| 1389 |
int yy_state ; |
|
1389 |
int yy_state ; |
| 1390 |
zend_stack state_stack ; |
|
1390 |
zend_stack state_stack ; |
| 1391 |
unsigned char *script_org ; |
|
1391 |
unsigned char *script_org ; |
| 1392 |
size_t script_org_size ; |
|
1392 |
size_t script_org_size ; |
| 1393 |
unsigned char *script_filtered ; |
|
1393 |
unsigned char *script_filtered ; |
| 1394 |
size_t script_filtered_size ; |
|
1394 |
size_t script_filtered_size ; |
| 1395 |
size_t (*input_filter)(unsigned char **str , size_t *str_length , |
|
1395 |
size_t (*input_filter)(unsigned char **str , size_t *str_length , |
| 1396 |
unsigned char const *buf , size_t length ) ; |
|
1396 |
unsigned char const *buf , size_t length ) ; |
| 1397 |
size_t (*output_filter)(unsigned char **str , size_t *str_length , |
|
1397 |
size_t (*output_filter)(unsigned char **str , size_t *str_length , |
| 1398 |
unsigned char const *buf , size_t length ) ; |
|
1398 |
unsigned char const *buf , size_t length ) ; |
| 1399 |
zend_encoding const *script_encoding ; |
|
1399 |
zend_encoding const *script_encoding ; |
| 1400 |
}; |
|
1400 |
}; |
| 1401 |
typedef int (*unary_op_type)(zval * , zval * ); |
|
1401 |
typedef int (*unary_op_type)(zval * , zval * ); |
| 1402 |
typedef int (*binary_op_type)(zval * , zval * , zval * ); |
|
1402 |
typedef int (*binary_op_type)(zval * , zval * , zval * ); |
| 1403 |
typedef zend_bool (*zend_auto_global_callback)(char *name , uint name_len ); |
|
1403 |
typedef zend_bool (*zend_auto_global_callback)(char *name , uint name_len ); |
| 1404 |
struct _zend_auto_global { |
|
1404 |
struct _zend_auto_global { |
| 1405 |
char *name ; |
|
1405 |
char *name ; |
| 1406 |
uint name_len ; |
|
1406 |
uint name_len ; |
| 1407 |
zend_bool (*auto_global_callback)(char *name , uint name_len ) ; |
|
1407 |
zend_bool (*auto_global_callback)(char *name , uint name_len ) ; |
| 1408 |
zend_bool jit ; |
|
1408 |
zend_bool jit ; |
| 1409 |
zend_bool armed ; |
|
1409 |
zend_bool armed ; |
| 1410 |
}; |
|
1410 |
}; |
| 1411 |
typedef struct _zend_auto_global zend_auto_global; |
|
1411 |
typedef struct _zend_auto_global zend_auto_global; |
| 1412 |
struct _zend_ini_entry; |
|
1412 |
struct _zend_ini_entry; |
| 1413 |
typedef struct _zend_module_entry zend_module_entry; |
|
1413 |
typedef struct _zend_module_entry zend_module_entry; |
| 1414 |
struct _zend_module_dep; |
|
1414 |
struct _zend_module_dep; |
| 1415 |
typedef struct _zend_module_dep zend_module_dep; |
|
1415 |
typedef struct _zend_module_dep zend_module_dep; |
| 1416 |
struct _zend_module_entry { |
|
1416 |
struct _zend_module_entry { |
| 1417 |
unsigned short size ; |
|
1417 |
unsigned short size ; |
| 1418 |
unsigned int zend_api ; |
|
1418 |
unsigned int zend_api ; |
| 1419 |
unsigned char zend_debug ; |
|
1419 |
unsigned char zend_debug ; |
| 1420 |
unsigned char zts ; |
|
1420 |
unsigned char zts ; |
| 1421 |
struct _zend_ini_entry const *ini_entry ; |
|
1421 |
struct _zend_ini_entry const *ini_entry ; |
| 1422 |
struct _zend_module_dep const *deps ; |
|
1422 |
struct _zend_module_dep const *deps ; |
| 1423 |
char const *name ; |
|
1423 |
char const *name ; |
| 1424 |
struct _zend_function_entry const *functions ; |
|
1424 |
struct _zend_function_entry const *functions ; |
| 1425 |
int (*module_startup_func)(int type , int module_number ) ; |
|
1425 |
int (*module_startup_func)(int type , int module_number ) ; |
| 1426 |
int (*module_shutdown_func)(int type , int module_number ) ; |
|
1426 |
int (*module_shutdown_func)(int type , int module_number ) ; |
| 1427 |
int (*request_startup_func)(int type , int module_number ) ; |
|
1427 |
int (*request_startup_func)(int type , int module_number ) ; |
| 1428 |
int (*request_shutdown_func)(int type , int module_number ) ; |
|
1428 |
int (*request_shutdown_func)(int type , int module_number ) ; |
| 1429 |
void (*info_func)(zend_module_entry *zend_module ) ; |
|
1429 |
void (*info_func)(zend_module_entry *zend_module ) ; |
| 1430 |
char const *version ; |
|
1430 |
char const *version ; |
| 1431 |
size_t globals_size ; |
|
1431 |
size_t globals_size ; |
| 1432 |
void *globals_ptr ; |
|
1432 |
void *globals_ptr ; |
| 1433 |
void (*globals_ctor)(void *global ) ; |
|
1433 |
void (*globals_ctor)(void *global ) ; |
| 1434 |
void (*globals_dtor)(void *global ) ; |
|
1434 |
void (*globals_dtor)(void *global ) ; |
| 1435 |
int (*post_deactivate_func)(void) ; |
|
1435 |
int (*post_deactivate_func)(void) ; |
| 1436 |
int module_started ; |
|
1436 |
int module_started ; |
| 1437 |
unsigned char type ; |
|
1437 |
unsigned char type ; |
| 1438 |
void *handle ; |
|
1438 |
void *handle ; |
| 1439 |
int module_number ; |
|
1439 |
int module_number ; |
| 1440 |
char const *build_id ; |
|
1440 |
char const *build_id ; |
| 1441 |
}; |
|
1441 |
}; |
| 1442 |
struct _zend_module_dep { |
|
1442 |
struct _zend_module_dep { |
| 1443 |
char const *name ; |
|
1443 |
char const *name ; |
| 1444 |
char const *rel ; |
|
1444 |
char const *rel ; |
| 1445 |
char const *version ; |
|
1445 |
char const *version ; |
| 1446 |
unsigned char type ; |
|
1446 |
unsigned char type ; |
| 1447 |
}; |
|
1447 |
}; |
| 1448 |
struct _zend_rsrc_list_entry { |
|
1448 |
struct _zend_rsrc_list_entry { |
| 1449 |
void *ptr ; |
|
1449 |
void *ptr ; |
| 1450 |
int type ; |
|
1450 |
int type ; |
| 1451 |
int refcount ; |
|
1451 |
int refcount ; |
| 1452 |
}; |
|
1452 |
}; |
| 1453 |
typedef struct _zend_rsrc_list_entry zend_rsrc_list_entry; |
|
1453 |
typedef struct _zend_rsrc_list_entry zend_rsrc_list_entry; |
| 1454 |
typedef void (*rsrc_dtor_func_t)(zend_rsrc_list_entry *rsrc ); |
|
1454 |
typedef void (*rsrc_dtor_func_t)(zend_rsrc_list_entry *rsrc ); |
| 1455 |
struct _zend_rsrc_list_dtors_entry { |
|
1455 |
struct _zend_rsrc_list_dtors_entry { |
| 1456 |
void (*list_dtor)(void * ) ; |
|
1456 |
void (*list_dtor)(void * ) ; |
| 1457 |
void (*plist_dtor)(void * ) ; |
|
1457 |
void (*plist_dtor)(void * ) ; |
| 1458 |
void (*list_dtor_ex)(zend_rsrc_list_entry *rsrc ) ; |
|
1458 |
void (*list_dtor_ex)(zend_rsrc_list_entry *rsrc ) ; |
| 1459 |
void (*plist_dtor_ex)(zend_rsrc_list_entry *rsrc ) ; |
|
1459 |
void (*plist_dtor_ex)(zend_rsrc_list_entry *rsrc ) ; |
| 1460 |
char const *type_name ; |
|
1460 |
char const *type_name ; |
| 1461 |
int module_number ; |
|
1461 |
int module_number ; |
| 1462 |
int resource_id ; |
|
1462 |
int resource_id ; |
| 1463 |
unsigned char type ; |
|
1463 |
unsigned char type ; |
| 1464 |
}; |
|
1464 |
}; |
| 1465 |
typedef struct _zend_rsrc_list_dtors_entry zend_rsrc_list_dtors_entry; |
|
1465 |
typedef struct _zend_rsrc_list_dtors_entry zend_rsrc_list_dtors_entry; |
| 1466 |
struct __anonstruct_var_46 { |
|
1466 |
struct __anonstruct_var_46 { |
| 1467 |
zval **ptr_ptr ; |
|
1467 |
zval **ptr_ptr ; |
| 1468 |
zval *ptr ; |
|
1468 |
zval *ptr ; |
| 1469 |
zend_bool fcall_returned_reference ; |
|
1469 |
zend_bool fcall_returned_reference ; |
| 1470 |
}; |
|
1470 |
}; |
| 1471 |
struct __anonstruct_str_offset_47 { |
|
1471 |
struct __anonstruct_str_offset_47 { |
| 1472 |
zval **ptr_ptr ; |
|
1472 |
zval **ptr_ptr ; |
| 1473 |
zval *str ; |
|
1473 |
zval *str ; |
| 1474 |
zend_uint offset ; |
|
1474 |
zend_uint offset ; |
| 1475 |
}; |
|
1475 |
}; |
| 1476 |
struct __anonstruct_fe_48 { |
|
1476 |
struct __anonstruct_fe_48 { |
| 1477 |
zval **ptr_ptr ; |
|
1477 |
zval **ptr_ptr ; |
| 1478 |
zval *ptr ; |
|
1478 |
zval *ptr ; |
| 1479 |
HashPointer fe_pos ; |
|
1479 |
HashPointer fe_pos ; |
| 1480 |
}; |
|
1480 |
}; |
| 1481 |
union _temp_variable { |
|
1481 |
union _temp_variable { |
| 1482 |
zval tmp_var ; |
|
1482 |
zval tmp_var ; |
| 1483 |
struct __anonstruct_var_46 var ; |
|
1483 |
struct __anonstruct_var_46 var ; |
| 1484 |
struct __anonstruct_str_offset_47 str_offset ; |
|
1484 |
struct __anonstruct_str_offset_47 str_offset ; |
| 1485 |
struct __anonstruct_fe_48 fe ; |
|
1485 |
struct __anonstruct_fe_48 fe ; |
| 1486 |
zend_class_entry *class_entry ; |
|
1486 |
zend_class_entry *class_entry ; |
| 1487 |
}; |
|
1487 |
}; |
| 1488 |
typedef union _temp_variable temp_variable; |
|
1488 |
typedef union _temp_variable temp_variable; |
| 1489 |
struct _zend_vm_stack { |
|
1489 |
struct _zend_vm_stack { |
| 1490 |
void **top ; |
|
1490 |
void **top ; |
| 1491 |
void **end ; |
|
1491 |
void **end ; |
| 1492 |
zend_vm_stack prev ; |
|
1492 |
zend_vm_stack prev ; |
| 1493 |
}; |
|
1493 |
}; |
| 1494 |
struct _zend_free_op { |
|
1494 |
struct _zend_free_op { |
| 1495 |
zval *var ; |
|
1495 |
zval *var ; |
| 1496 |
}; |
|
1496 |
}; |
| 1497 |
typedef struct _zend_free_op zend_free_op; |
|
1497 |
typedef struct _zend_free_op zend_free_op; |
| 1498 |
struct _zend_function_entry { |
|
1498 |
struct _zend_function_entry { |
| 1499 |
char const *fname ; |
|
1499 |
char const *fname ; |
| 1500 |
void (*handler)(int ht , zval *return_value , zval **return_value_ptr , |
|
1500 |
void (*handler)(int ht , zval *return_value , zval **return_value_ptr , |
| 1501 |
zval *this_ptr , int return_value_used ) ; |
|
1501 |
zval *this_ptr , int return_value_used ) ; |
| 1502 |
struct _zend_arg_info const *arg_info ; |
|
1502 |
struct _zend_arg_info const *arg_info ; |
| 1503 |
zend_uint num_args ; |
|
1503 |
zend_uint num_args ; |
| 1504 |
zend_uint flags ; |
|
1504 |
zend_uint flags ; |
| 1505 |
}; |
|
1505 |
}; |
| 1506 |
typedef struct _zend_function_entry zend_function_entry; |
|
1506 |
typedef struct _zend_function_entry zend_function_entry; |
| 1507 |
struct _zend_fcall_info { |
|
1507 |
struct _zend_fcall_info { |
| 1508 |
size_t size ; |
|
1508 |
size_t size ; |
| 1509 |
HashTable *function_table ; |
|
1509 |
HashTable *function_table ; |
| 1510 |
zval *function_name ; |
|
1510 |
zval *function_name ; |
| 1511 |
HashTable *symbol_table ; |
|
1511 |
HashTable *symbol_table ; |
| 1512 |
zval **retval_ptr_ptr ; |
|
1512 |
zval **retval_ptr_ptr ; |
| 1513 |
zend_uint param_count ; |
|
1513 |
zend_uint param_count ; |
| 1514 |
zval ***params ; |
|
1514 |
zval ***params ; |
| 1515 |
zval *object_ptr ; |
|
1515 |
zval *object_ptr ; |
| 1516 |
zend_bool no_separation ; |
|
1516 |
zend_bool no_separation ; |
| 1517 |
}; |
|
1517 |
}; |
| 1518 |
typedef struct _zend_fcall_info zend_fcall_info; |
|
1518 |
typedef struct _zend_fcall_info zend_fcall_info; |
| 1519 |
struct _zend_fcall_info_cache { |
|
1519 |
struct _zend_fcall_info_cache { |
| 1520 |
zend_bool initialized ; |
|
1520 |
zend_bool initialized ; |
| 1521 |
zend_function *function_handler ; |
|
1521 |
zend_function *function_handler ; |
| 1522 |
zend_class_entry *calling_scope ; |
|
1522 |
zend_class_entry *calling_scope ; |
| 1523 |
zend_class_entry *called_scope ; |
|
1523 |
zend_class_entry *called_scope ; |
| 1524 |
zval *object_ptr ; |
|
1524 |
zval *object_ptr ; |
| 1525 |
}; |
|
1525 |
}; |
| 1526 |
typedef struct _zend_fcall_info_cache zend_fcall_info_cache; |
|
1526 |
typedef struct _zend_fcall_info_cache zend_fcall_info_cache; |
| 1527 |
enum __anonenum_49 { |
|
1527 |
enum __anonenum_49 { |
| 1528 |
_ISupper = 256, |
|
1528 |
_ISupper = 256, |
| 1529 |
_ISlower = 512, |
|
1529 |
_ISlower = 512, |
| 1530 |
_ISalpha = 1024, |
|
1530 |
_ISalpha = 1024, |
| 1531 |
_ISdigit = 2048, |
|
1531 |
_ISdigit = 2048, |
| 1532 |
_ISxdigit = 4096, |
|
1532 |
_ISxdigit = 4096, |
| 1533 |
_ISspace = 8192, |
|
1533 |
_ISspace = 8192, |
| 1534 |
_ISprint = 16384, |
|
1534 |
_ISprint = 16384, |
| 1535 |
_ISgraph = 32768, |
|
1535 |
_ISgraph = 32768, |
| 1536 |
_ISblank = 1, |
|
1536 |
_ISblank = 1, |
| 1537 |
_IScntrl = 2, |
|
1537 |
_IScntrl = 2, |
| 1538 |
_ISpunct = 4, |
|
1538 |
_ISpunct = 4, |
| 1539 |
_ISalnum = 8 |
|
1539 |
_ISalnum = 8 |
| 1540 |
} ; |
|
1540 |
} ; |
| 1541 |
typedef __useconds_t useconds_t; |
|
1541 |
typedef __useconds_t useconds_t; |
| 1542 |
typedef __intptr_t intptr_t; |
|
1542 |
typedef __intptr_t intptr_t; |
| 1543 |
typedef __socklen_t socklen_t; |
|
1543 |
typedef __socklen_t socklen_t; |
| 1544 |
enum __anonenum_50 { |
|
1544 |
enum __anonenum_50 { |
| 1545 |
_PC_LINK_MAX = 0, |
|
1545 |
_PC_LINK_MAX = 0, |
| 1546 |
_PC_MAX_CANON = 1, |
|
1546 |
_PC_MAX_CANON = 1, |
| 1547 |
_PC_MAX_INPUT = 2, |
|
1547 |
_PC_MAX_INPUT = 2, |
| 1548 |
_PC_NAME_MAX = 3, |
|
1548 |
_PC_NAME_MAX = 3, |
| 1549 |
_PC_PATH_MAX = 4, |
|
1549 |
_PC_PATH_MAX = 4, |
| 1550 |
_PC_PIPE_BUF = 5, |
|
1550 |
_PC_PIPE_BUF = 5, |
| 1551 |
_PC_CHOWN_RESTRICTED = 6, |
|
1551 |
_PC_CHOWN_RESTRICTED = 6, |
| 1552 |
_PC_NO_TRUNC = 7, |
|
1552 |
_PC_NO_TRUNC = 7, |
| 1553 |
_PC_VDISABLE = 8, |
|
1553 |
_PC_VDISABLE = 8, |
| 1554 |
_PC_SYNC_IO = 9, |
|
1554 |
_PC_SYNC_IO = 9, |
| 1555 |
_PC_ASYNC_IO = 10, |
|
1555 |
_PC_ASYNC_IO = 10, |
| 1556 |
_PC_PRIO_IO = 11, |
|
1556 |
_PC_PRIO_IO = 11, |
| 1557 |
_PC_SOCK_MAXBUF = 12, |
|
1557 |
_PC_SOCK_MAXBUF = 12, |
| 1558 |
_PC_FILESIZEBITS = 13, |
|
1558 |
_PC_FILESIZEBITS = 13, |
| 1559 |
_PC_REC_INCR_XFER_SIZE = 14, |
|
1559 |
_PC_REC_INCR_XFER_SIZE = 14, |
| 1560 |
_PC_REC_MAX_XFER_SIZE = 15, |
|
1560 |
_PC_REC_MAX_XFER_SIZE = 15, |
| 1561 |
_PC_REC_MIN_XFER_SIZE = 16, |
|
1561 |
_PC_REC_MIN_XFER_SIZE = 16, |
| 1562 |
_PC_REC_XFER_ALIGN = 17, |
|
1562 |
_PC_REC_XFER_ALIGN = 17, |
| 1563 |
_PC_ALLOC_SIZE_MIN = 18, |
|
1563 |
_PC_ALLOC_SIZE_MIN = 18, |
| 1564 |
_PC_SYMLINK_MAX = 19, |
|
1564 |
_PC_SYMLINK_MAX = 19, |
| 1565 |
_PC_2_SYMLINKS = 20 |
|
1565 |
_PC_2_SYMLINKS = 20 |
| 1566 |
} ; |
|
1566 |
} ; |
| 1567 |
enum __anonenum_51 { |
|
1567 |
enum __anonenum_51 { |
| 1568 |
_SC_ARG_MAX = 0, |
|
1568 |
_SC_ARG_MAX = 0, |
| 1569 |
_SC_CHILD_MAX = 1, |
|
1569 |
_SC_CHILD_MAX = 1, |
| 1570 |
_SC_CLK_TCK = 2, |
|
1570 |
_SC_CLK_TCK = 2, |
| 1571 |
_SC_NGROUPS_MAX = 3, |
|
1571 |
_SC_NGROUPS_MAX = 3, |
| 1572 |
_SC_OPEN_MAX = 4, |
|
1572 |
_SC_OPEN_MAX = 4, |
| 1573 |
_SC_STREAM_MAX = 5, |
|
1573 |
_SC_STREAM_MAX = 5, |
| 1574 |
_SC_TZNAME_MAX = 6, |
|
1574 |
_SC_TZNAME_MAX = 6, |
| 1575 |
_SC_JOB_CONTROL = 7, |
|
1575 |
_SC_JOB_CONTROL = 7, |
| 1576 |
_SC_SAVED_IDS = 8, |
|
1576 |
_SC_SAVED_IDS = 8, |
| 1577 |
_SC_REALTIME_SIGNALS = 9, |
|
1577 |
_SC_REALTIME_SIGNALS = 9, |
| 1578 |
_SC_PRIORITY_SCHEDULING = 10, |
|
1578 |
_SC_PRIORITY_SCHEDULING = 10, |
| 1579 |
_SC_TIMERS = 11, |
|
1579 |
_SC_TIMERS = 11, |
| 1580 |
_SC_ASYNCHRONOUS_IO = 12, |
|
1580 |
_SC_ASYNCHRONOUS_IO = 12, |
| 1581 |
_SC_PRIORITIZED_IO = 13, |
|
1581 |
_SC_PRIORITIZED_IO = 13, |
| 1582 |
_SC_SYNCHRONIZED_IO = 14, |
|
1582 |
_SC_SYNCHRONIZED_IO = 14, |
| 1583 |
_SC_FSYNC = 15, |
|
1583 |
_SC_FSYNC = 15, |
| 1584 |
_SC_MAPPED_FILES = 16, |
|
1584 |
_SC_MAPPED_FILES = 16, |
| 1585 |
_SC_MEMLOCK = 17, |
|
1585 |
_SC_MEMLOCK = 17, |
| 1586 |
_SC_MEMLOCK_RANGE = 18, |
|
1586 |
_SC_MEMLOCK_RANGE = 18, |
| 1587 |
_SC_MEMORY_PROTECTION = 19, |
|
1587 |
_SC_MEMORY_PROTECTION = 19, |
| 1588 |
_SC_MESSAGE_PASSING = 20, |
|
1588 |
_SC_MESSAGE_PASSING = 20, |
| 1589 |
_SC_SEMAPHORES = 21, |
|
1589 |
_SC_SEMAPHORES = 21, |
| 1590 |
_SC_SHARED_MEMORY_OBJECTS = 22, |
|
1590 |
_SC_SHARED_MEMORY_OBJECTS = 22, |
| 1591 |
_SC_AIO_LISTIO_MAX = 23, |
|
1591 |
_SC_AIO_LISTIO_MAX = 23, |
| 1592 |
_SC_AIO_MAX = 24, |
|
1592 |
_SC_AIO_MAX = 24, |
| 1593 |
_SC_AIO_PRIO_DELTA_MAX = 25, |
|
1593 |
_SC_AIO_PRIO_DELTA_MAX = 25, |
| 1594 |
_SC_DELAYTIMER_MAX = 26, |
|
1594 |
_SC_DELAYTIMER_MAX = 26, |
| 1595 |
_SC_MQ_OPEN_MAX = 27, |
|
1595 |
_SC_MQ_OPEN_MAX = 27, |
| 1596 |
_SC_MQ_PRIO_MAX = 28, |
|
1596 |
_SC_MQ_PRIO_MAX = 28, |
| 1597 |
_SC_VERSION = 29, |
|
1597 |
_SC_VERSION = 29, |
| 1598 |
_SC_PAGESIZE = 30, |
|
1598 |
_SC_PAGESIZE = 30, |
| 1599 |
_SC_RTSIG_MAX = 31, |
|
1599 |
_SC_RTSIG_MAX = 31, |
| 1600 |
_SC_SEM_NSEMS_MAX = 32, |
|
1600 |
_SC_SEM_NSEMS_MAX = 32, |
| 1601 |
_SC_SEM_VALUE_MAX = 33, |
|
1601 |
_SC_SEM_VALUE_MAX = 33, |
| 1602 |
_SC_SIGQUEUE_MAX = 34, |
|
1602 |
_SC_SIGQUEUE_MAX = 34, |
| 1603 |
_SC_TIMER_MAX = 35, |
|
1603 |
_SC_TIMER_MAX = 35, |
| 1604 |
_SC_BC_BASE_MAX = 36, |
|
1604 |
_SC_BC_BASE_MAX = 36, |
| 1605 |
_SC_BC_DIM_MAX = 37, |
|
1605 |
_SC_BC_DIM_MAX = 37, |
| 1606 |
_SC_BC_SCALE_MAX = 38, |
|
1606 |
_SC_BC_SCALE_MAX = 38, |
| 1607 |
_SC_BC_STRING_MAX = 39, |
|
1607 |
_SC_BC_STRING_MAX = 39, |
| 1608 |
_SC_COLL_WEIGHTS_MAX = 40, |
|
1608 |
_SC_COLL_WEIGHTS_MAX = 40, |
| 1609 |
_SC_EQUIV_CLASS_MAX = 41, |
|
1609 |
_SC_EQUIV_CLASS_MAX = 41, |
| 1610 |
_SC_EXPR_NEST_MAX = 42, |
|
1610 |
_SC_EXPR_NEST_MAX = 42, |
| 1611 |
_SC_LINE_MAX = 43, |
|
1611 |
_SC_LINE_MAX = 43, |
| 1612 |
_SC_RE_DUP_MAX = 44, |
|
1612 |
_SC_RE_DUP_MAX = 44, |
| 1613 |
_SC_CHARCLASS_NAME_MAX = 45, |
|
1613 |
_SC_CHARCLASS_NAME_MAX = 45, |
| 1614 |
_SC_2_VERSION = 46, |
|
1614 |
_SC_2_VERSION = 46, |
| 1615 |
_SC_2_C_BIND = 47, |
|
1615 |
_SC_2_C_BIND = 47, |
| 1616 |
_SC_2_C_DEV = 48, |
|
1616 |
_SC_2_C_DEV = 48, |
| 1617 |
_SC_2_FORT_DEV = 49, |
|
1617 |
_SC_2_FORT_DEV = 49, |
| 1618 |
_SC_2_FORT_RUN = 50, |
|
1618 |
_SC_2_FORT_RUN = 50, |
| 1619 |
_SC_2_SW_DEV = 51, |
|
1619 |
_SC_2_SW_DEV = 51, |
| 1620 |
_SC_2_LOCALEDEF = 52, |
|
1620 |
_SC_2_LOCALEDEF = 52, |
| 1621 |
_SC_PII = 53, |
|
1621 |
_SC_PII = 53, |
| 1622 |
_SC_PII_XTI = 54, |
|
1622 |
_SC_PII_XTI = 54, |
| 1623 |
_SC_PII_SOCKET = 55, |
|
1623 |
_SC_PII_SOCKET = 55, |
| 1624 |
_SC_PII_INTERNET = 56, |
|
1624 |
_SC_PII_INTERNET = 56, |
| 1625 |
_SC_PII_OSI = 57, |
|
1625 |
_SC_PII_OSI = 57, |
| 1626 |
_SC_POLL = 58, |
|
1626 |
_SC_POLL = 58, |
| 1627 |
_SC_SELECT = 59, |
|
1627 |
_SC_SELECT = 59, |
| 1628 |
_SC_UIO_MAXIOV = 60, |
|
1628 |
_SC_UIO_MAXIOV = 60, |
| 1629 |
_SC_IOV_MAX = 60, |
|
1629 |
_SC_IOV_MAX = 60, |
| 1630 |
_SC_PII_INTERNET_STREAM = 61, |
|
1630 |
_SC_PII_INTERNET_STREAM = 61, |
| 1631 |
_SC_PII_INTERNET_DGRAM = 62, |
|
1631 |
_SC_PII_INTERNET_DGRAM = 62, |
| 1632 |
_SC_PII_OSI_COTS = 63, |
|
1632 |
_SC_PII_OSI_COTS = 63, |
| 1633 |
_SC_PII_OSI_CLTS = 64, |
|
1633 |
_SC_PII_OSI_CLTS = 64, |
| 1634 |
_SC_PII_OSI_M = 65, |
|
1634 |
_SC_PII_OSI_M = 65, |
| 1635 |
_SC_T_IOV_MAX = 66, |
|
1635 |
_SC_T_IOV_MAX = 66, |
| 1636 |
_SC_THREADS = 67, |
|
1636 |
_SC_THREADS = 67, |
| 1637 |
_SC_THREAD_SAFE_FUNCTIONS = 68, |
|
1637 |
_SC_THREAD_SAFE_FUNCTIONS = 68, |
| 1638 |
_SC_GETGR_R_SIZE_MAX = 69, |
|
1638 |
_SC_GETGR_R_SIZE_MAX = 69, |
| 1639 |
_SC_GETPW_R_SIZE_MAX = 70, |
|
1639 |
_SC_GETPW_R_SIZE_MAX = 70, |
| 1640 |
_SC_LOGIN_NAME_MAX = 71, |
|
1640 |
_SC_LOGIN_NAME_MAX = 71, |
| 1641 |
_SC_TTY_NAME_MAX = 72, |
|
1641 |
_SC_TTY_NAME_MAX = 72, |
| 1642 |
_SC_THREAD_DESTRUCTOR_ITERATIONS = 73, |
|
1642 |
_SC_THREAD_DESTRUCTOR_ITERATIONS = 73, |
| 1643 |
_SC_THREAD_KEYS_MAX = 74, |
|
1643 |
_SC_THREAD_KEYS_MAX = 74, |
| 1644 |
_SC_THREAD_STACK_MIN = 75, |
|
1644 |
_SC_THREAD_STACK_MIN = 75, |
| 1645 |
_SC_THREAD_THREADS_MAX = 76, |
|
1645 |
_SC_THREAD_THREADS_MAX = 76, |
| 1646 |
_SC_THREAD_ATTR_STACKADDR = 77, |
|
1646 |
_SC_THREAD_ATTR_STACKADDR = 77, |
| 1647 |
_SC_THREAD_ATTR_STACKSIZE = 78, |
|
1647 |
_SC_THREAD_ATTR_STACKSIZE = 78, |
| 1648 |
_SC_THREAD_PRIORITY_SCHEDULING = 79, |
|
1648 |
_SC_THREAD_PRIORITY_SCHEDULING = 79, |
| 1649 |
_SC_THREAD_PRIO_INHERIT = 80, |
|
1649 |
_SC_THREAD_PRIO_INHERIT = 80, |
| 1650 |
_SC_THREAD_PRIO_PROTECT = 81, |
|
1650 |
_SC_THREAD_PRIO_PROTECT = 81, |
| 1651 |
_SC_THREAD_PROCESS_SHARED = 82, |
|
1651 |
_SC_THREAD_PROCESS_SHARED = 82, |
| 1652 |
_SC_NPROCESSORS_CONF = 83, |
|
1652 |
_SC_NPROCESSORS_CONF = 83, |
| 1653 |
_SC_NPROCESSORS_ONLN = 84, |
|
1653 |
_SC_NPROCESSORS_ONLN = 84, |
| 1654 |
_SC_PHYS_PAGES = 85, |
|
1654 |
_SC_PHYS_PAGES = 85, |
| 1655 |
_SC_AVPHYS_PAGES = 86, |
|
1655 |
_SC_AVPHYS_PAGES = 86, |
| 1656 |
_SC_ATEXIT_MAX = 87, |
|
1656 |
_SC_ATEXIT_MAX = 87, |
| 1657 |
_SC_PASS_MAX = 88, |
|
1657 |
_SC_PASS_MAX = 88, |
| 1658 |
_SC_XOPEN_VERSION = 89, |
|
1658 |
_SC_XOPEN_VERSION = 89, |
| 1659 |
_SC_XOPEN_XCU_VERSION = 90, |
|
1659 |
_SC_XOPEN_XCU_VERSION = 90, |
| 1660 |
_SC_XOPEN_UNIX = 91, |
|
1660 |
_SC_XOPEN_UNIX = 91, |
| 1661 |
_SC_XOPEN_CRYPT = 92, |
|
1661 |
_SC_XOPEN_CRYPT = 92, |
| 1662 |
_SC_XOPEN_ENH_I18N = 93, |
|
1662 |
_SC_XOPEN_ENH_I18N = 93, |
| 1663 |
_SC_XOPEN_SHM = 94, |
|
1663 |
_SC_XOPEN_SHM = 94, |
| 1664 |
_SC_2_CHAR_TERM = 95, |
|
1664 |
_SC_2_CHAR_TERM = 95, |
| 1665 |
_SC_2_C_VERSION = 96, |
|
1665 |
_SC_2_C_VERSION = 96, |
| 1666 |
_SC_2_UPE = 97, |
|
1666 |
_SC_2_UPE = 97, |
| 1667 |
_SC_XOPEN_XPG2 = 98, |
|
1667 |
_SC_XOPEN_XPG2 = 98, |
| 1668 |
_SC_XOPEN_XPG3 = 99, |
|
1668 |
_SC_XOPEN_XPG3 = 99, |
| 1669 |
_SC_XOPEN_XPG4 = 100, |
|
1669 |
_SC_XOPEN_XPG4 = 100, |
| 1670 |
_SC_CHAR_BIT = 101, |
|
1670 |
_SC_CHAR_BIT = 101, |
| 1671 |
_SC_CHAR_MAX = 102, |
|
1671 |
_SC_CHAR_MAX = 102, |
| 1672 |
_SC_CHAR_MIN = 103, |
|
1672 |
_SC_CHAR_MIN = 103, |
| 1673 |
_SC_INT_MAX = 104, |
|
1673 |
_SC_INT_MAX = 104, |
| 1674 |
_SC_INT_MIN = 105, |
|
1674 |
_SC_INT_MIN = 105, |
| 1675 |
_SC_LONG_BIT = 106, |
|
1675 |
_SC_LONG_BIT = 106, |
| 1676 |
_SC_WORD_BIT = 107, |
|
1676 |
_SC_WORD_BIT = 107, |
| 1677 |
_SC_MB_LEN_MAX = 108, |
|
1677 |
_SC_MB_LEN_MAX = 108, |
| 1678 |
_SC_NZERO = 109, |
|
1678 |
_SC_NZERO = 109, |
| 1679 |
_SC_SSIZE_MAX = 110, |
|
1679 |
_SC_SSIZE_MAX = 110, |
| 1680 |
_SC_SCHAR_MAX = 111, |
|
1680 |
_SC_SCHAR_MAX = 111, |
| 1681 |
_SC_SCHAR_MIN = 112, |
|
1681 |
_SC_SCHAR_MIN = 112, |
| 1682 |
_SC_SHRT_MAX = 113, |
|
1682 |
_SC_SHRT_MAX = 113, |
| 1683 |
_SC_SHRT_MIN = 114, |
|
1683 |
_SC_SHRT_MIN = 114, |
| 1684 |
_SC_UCHAR_MAX = 115, |
|
1684 |
_SC_UCHAR_MAX = 115, |
| 1685 |
_SC_UINT_MAX = 116, |
|
1685 |
_SC_UINT_MAX = 116, |
| 1686 |
_SC_ULONG_MAX = 117, |
|
1686 |
_SC_ULONG_MAX = 117, |
| 1687 |
_SC_USHRT_MAX = 118, |
|
1687 |
_SC_USHRT_MAX = 118, |
| 1688 |
_SC_NL_ARGMAX = 119, |
|
1688 |
_SC_NL_ARGMAX = 119, |
| 1689 |
_SC_NL_LANGMAX = 120, |
|
1689 |
_SC_NL_LANGMAX = 120, |
| 1690 |
_SC_NL_MSGMAX = 121, |
|
1690 |
_SC_NL_MSGMAX = 121, |
| 1691 |
_SC_NL_NMAX = 122, |
|
1691 |
_SC_NL_NMAX = 122, |
| 1692 |
_SC_NL_SETMAX = 123, |
|
1692 |
_SC_NL_SETMAX = 123, |
| 1693 |
_SC_NL_TEXTMAX = 124, |
|
1693 |
_SC_NL_TEXTMAX = 124, |
| 1694 |
_SC_XBS5_ILP32_OFF32 = 125, |
|
1694 |
_SC_XBS5_ILP32_OFF32 = 125, |
| 1695 |
_SC_XBS5_ILP32_OFFBIG = 126, |
|
1695 |
_SC_XBS5_ILP32_OFFBIG = 126, |
| 1696 |
_SC_XBS5_LP64_OFF64 = 127, |
|
1696 |
_SC_XBS5_LP64_OFF64 = 127, |
| 1697 |
_SC_XBS5_LPBIG_OFFBIG = 128, |
|
1697 |
_SC_XBS5_LPBIG_OFFBIG = 128, |
| 1698 |
_SC_XOPEN_LEGACY = 129, |
|
1698 |
_SC_XOPEN_LEGACY = 129, |
| 1699 |
_SC_XOPEN_REALTIME = 130, |
|
1699 |
_SC_XOPEN_REALTIME = 130, |
| 1700 |
_SC_XOPEN_REALTIME_THREADS = 131, |
|
1700 |
_SC_XOPEN_REALTIME_THREADS = 131, |
| 1701 |
_SC_ADVISORY_INFO = 132, |
|
1701 |
_SC_ADVISORY_INFO = 132, |
| 1702 |
_SC_BARRIERS = 133, |
|
1702 |
_SC_BARRIERS = 133, |
| 1703 |
_SC_BASE = 134, |
|
1703 |
_SC_BASE = 134, |
| 1704 |
_SC_C_LANG_SUPPORT = 135, |
|
1704 |
_SC_C_LANG_SUPPORT = 135, |
| 1705 |
_SC_C_LANG_SUPPORT_R = 136, |
|
1705 |
_SC_C_LANG_SUPPORT_R = 136, |
| 1706 |
_SC_CLOCK_SELECTION = 137, |
|
1706 |
_SC_CLOCK_SELECTION = 137, |
| 1707 |
_SC_CPUTIME = 138, |
|
1707 |
_SC_CPUTIME = 138, |
| 1708 |
_SC_THREAD_CPUTIME = 139, |
|
1708 |
_SC_THREAD_CPUTIME = 139, |
| 1709 |
_SC_DEVICE_IO = 140, |
|
1709 |
_SC_DEVICE_IO = 140, |
| 1710 |
_SC_DEVICE_SPECIFIC = 141, |
|
1710 |
_SC_DEVICE_SPECIFIC = 141, |
| 1711 |
_SC_DEVICE_SPECIFIC_R = 142, |
|
1711 |
_SC_DEVICE_SPECIFIC_R = 142, |
| 1712 |
_SC_FD_MGMT = 143, |
|
1712 |
_SC_FD_MGMT = 143, |
| 1713 |
_SC_FIFO = 144, |
|
1713 |
_SC_FIFO = 144, |
| 1714 |
_SC_PIPE = 145, |
|
1714 |
_SC_PIPE = 145, |
| 1715 |
_SC_FILE_ATTRIBUTES = 146, |
|
1715 |
_SC_FILE_ATTRIBUTES = 146, |
| 1716 |
_SC_FILE_LOCKING = 147, |
|
1716 |
_SC_FILE_LOCKING = 147, |
| 1717 |
_SC_FILE_SYSTEM = 148, |
|
1717 |
_SC_FILE_SYSTEM = 148, |
| 1718 |
_SC_MONOTONIC_CLOCK = 149, |
|
1718 |
_SC_MONOTONIC_CLOCK = 149, |
| 1719 |
_SC_MULTI_PROCESS = 150, |
|
1719 |
_SC_MULTI_PROCESS = 150, |
| 1720 |
_SC_SINGLE_PROCESS = 151, |
|
1720 |
_SC_SINGLE_PROCESS = 151, |
| 1721 |
_SC_NETWORKING = 152, |
|
1721 |
_SC_NETWORKING = 152, |
| 1722 |
_SC_READER_WRITER_LOCKS = 153, |
|
1722 |
_SC_READER_WRITER_LOCKS = 153, |
| 1723 |
_SC_SPIN_LOCKS = 154, |
|
1723 |
_SC_SPIN_LOCKS = 154, |
| 1724 |
_SC_REGEXP = 155, |
|
1724 |
_SC_REGEXP = 155, |
| 1725 |
_SC_REGEX_VERSION = 156, |
|
1725 |
_SC_REGEX_VERSION = 156, |
| 1726 |
_SC_SHELL = 157, |
|
1726 |
_SC_SHELL = 157, |
| 1727 |
_SC_SIGNALS = 158, |
|
1727 |
_SC_SIGNALS = 158, |
| 1728 |
_SC_SPAWN = 159, |
|
1728 |
_SC_SPAWN = 159, |
| 1729 |
_SC_SPORADIC_SERVER = 160, |
|
1729 |
_SC_SPORADIC_SERVER = 160, |
| 1730 |
_SC_THREAD_SPORADIC_SERVER = 161, |
|
1730 |
_SC_THREAD_SPORADIC_SERVER = 161, |
| 1731 |
_SC_SYSTEM_DATABASE = 162, |
|
1731 |
_SC_SYSTEM_DATABASE = 162, |
| 1732 |
_SC_SYSTEM_DATABASE_R = 163, |
|
1732 |
_SC_SYSTEM_DATABASE_R = 163, |
| 1733 |
_SC_TIMEOUTS = 164, |
|
1733 |
_SC_TIMEOUTS = 164, |
| 1734 |
_SC_TYPED_MEMORY_OBJECTS = 165, |
|
1734 |
_SC_TYPED_MEMORY_OBJECTS = 165, |
| 1735 |
_SC_USER_GROUPS = 166, |
|
1735 |
_SC_USER_GROUPS = 166, |
| 1736 |
_SC_USER_GROUPS_R = 167, |
|
1736 |
_SC_USER_GROUPS_R = 167, |
| 1737 |
_SC_2_PBS = 168, |
|
1737 |
_SC_2_PBS = 168, |
| 1738 |
_SC_2_PBS_ACCOUNTING = 169, |
|
1738 |
_SC_2_PBS_ACCOUNTING = 169, |
| 1739 |
_SC_2_PBS_LOCATE = 170, |
|
1739 |
_SC_2_PBS_LOCATE = 170, |
| 1740 |
_SC_2_PBS_MESSAGE = 171, |
|
1740 |
_SC_2_PBS_MESSAGE = 171, |
| 1741 |
_SC_2_PBS_TRACK = 172, |
|
1741 |
_SC_2_PBS_TRACK = 172, |
| 1742 |
_SC_SYMLOOP_MAX = 173, |
|
1742 |
_SC_SYMLOOP_MAX = 173, |
| 1743 |
_SC_STREAMS = 174, |
|
1743 |
_SC_STREAMS = 174, |
| 1744 |
_SC_2_PBS_CHECKPOINT = 175, |
|
1744 |
_SC_2_PBS_CHECKPOINT = 175, |
| 1745 |
_SC_V6_ILP32_OFF32 = 176, |
|
1745 |
_SC_V6_ILP32_OFF32 = 176, |
| 1746 |
_SC_V6_ILP32_OFFBIG = 177, |
|
1746 |
_SC_V6_ILP32_OFFBIG = 177, |
| 1747 |
_SC_V6_LP64_OFF64 = 178, |
|
1747 |
_SC_V6_LP64_OFF64 = 178, |
| 1748 |
_SC_V6_LPBIG_OFFBIG = 179, |
|
1748 |
_SC_V6_LPBIG_OFFBIG = 179, |
| 1749 |
_SC_HOST_NAME_MAX = 180, |
|
1749 |
_SC_HOST_NAME_MAX = 180, |
| 1750 |
_SC_TRACE = 181, |
|
1750 |
_SC_TRACE = 181, |
| 1751 |
_SC_TRACE_EVENT_FILTER = 182, |
|
1751 |
_SC_TRACE_EVENT_FILTER = 182, |
| 1752 |
_SC_TRACE_INHERIT = 183, |
|
1752 |
_SC_TRACE_INHERIT = 183, |
| 1753 |
_SC_TRACE_LOG = 184, |
|
1753 |
_SC_TRACE_LOG = 184, |
| 1754 |
_SC_LEVEL1_ICACHE_SIZE = 185, |
|
1754 |
_SC_LEVEL1_ICACHE_SIZE = 185, |
| 1755 |
_SC_LEVEL1_ICACHE_ASSOC = 186, |
|
1755 |
_SC_LEVEL1_ICACHE_ASSOC = 186, |
| 1756 |
_SC_LEVEL1_ICACHE_LINESIZE = 187, |
|
1756 |
_SC_LEVEL1_ICACHE_LINESIZE = 187, |
| 1757 |
_SC_LEVEL1_DCACHE_SIZE = 188, |
|
1757 |
_SC_LEVEL1_DCACHE_SIZE = 188, |
| 1758 |
_SC_LEVEL1_DCACHE_ASSOC = 189, |
|
1758 |
_SC_LEVEL1_DCACHE_ASSOC = 189, |
| 1759 |
_SC_LEVEL1_DCACHE_LINESIZE = 190, |
|
1759 |
_SC_LEVEL1_DCACHE_LINESIZE = 190, |
| 1760 |
_SC_LEVEL2_CACHE_SIZE = 191, |
|
1760 |
_SC_LEVEL2_CACHE_SIZE = 191, |
| 1761 |
_SC_LEVEL2_CACHE_ASSOC = 192, |
|
1761 |
_SC_LEVEL2_CACHE_ASSOC = 192, |
| 1762 |
_SC_LEVEL2_CACHE_LINESIZE = 193, |
|
1762 |
_SC_LEVEL2_CACHE_LINESIZE = 193, |
| 1763 |
_SC_LEVEL3_CACHE_SIZE = 194, |
|
1763 |
_SC_LEVEL3_CACHE_SIZE = 194, |
| 1764 |
_SC_LEVEL3_CACHE_ASSOC = 195, |
|
1764 |
_SC_LEVEL3_CACHE_ASSOC = 195, |
| 1765 |
_SC_LEVEL3_CACHE_LINESIZE = 196, |
|
1765 |
_SC_LEVEL3_CACHE_LINESIZE = 196, |
| 1766 |
_SC_LEVEL4_CACHE_SIZE = 197, |
|
1766 |
_SC_LEVEL4_CACHE_SIZE = 197, |
| 1767 |
_SC_LEVEL4_CACHE_ASSOC = 198, |
|
1767 |
_SC_LEVEL4_CACHE_ASSOC = 198, |
| 1768 |
_SC_LEVEL4_CACHE_LINESIZE = 199, |
|
1768 |
_SC_LEVEL4_CACHE_LINESIZE = 199, |
| 1769 |
_SC_IPV6 = 235, |
|
1769 |
_SC_IPV6 = 235, |
| 1770 |
_SC_RAW_SOCKETS = 236, |
|
1770 |
_SC_RAW_SOCKETS = 236, |
| 1771 |
_SC_V7_ILP32_OFF32 = 237, |
|
1771 |
_SC_V7_ILP32_OFF32 = 237, |
| 1772 |
_SC_V7_ILP32_OFFBIG = 238, |
|
1772 |
_SC_V7_ILP32_OFFBIG = 238, |
| 1773 |
_SC_V7_LP64_OFF64 = 239, |
|
1773 |
_SC_V7_LP64_OFF64 = 239, |
| 1774 |
_SC_V7_LPBIG_OFFBIG = 240, |
|
1774 |
_SC_V7_LPBIG_OFFBIG = 240, |
| 1775 |
_SC_SS_REPL_MAX = 241, |
|
1775 |
_SC_SS_REPL_MAX = 241, |
| 1776 |
_SC_TRACE_EVENT_NAME_MAX = 242, |
|
1776 |
_SC_TRACE_EVENT_NAME_MAX = 242, |
| 1777 |
_SC_TRACE_NAME_MAX = 243, |
|
1777 |
_SC_TRACE_NAME_MAX = 243, |
| 1778 |
_SC_TRACE_SYS_MAX = 244, |
|
1778 |
_SC_TRACE_SYS_MAX = 244, |
| 1779 |
_SC_TRACE_USER_EVENT_MAX = 245, |
|
1779 |
_SC_TRACE_USER_EVENT_MAX = 245, |
| 1780 |
_SC_XOPEN_STREAMS = 246, |
|
1780 |
_SC_XOPEN_STREAMS = 246, |
| 1781 |
_SC_THREAD_ROBUST_PRIO_INHERIT = 247, |
|
1781 |
_SC_THREAD_ROBUST_PRIO_INHERIT = 247, |
| 1782 |
_SC_THREAD_ROBUST_PRIO_PROTECT = 248 |
|
1782 |
_SC_THREAD_ROBUST_PRIO_PROTECT = 248 |
| 1783 |
} ; |
|
1783 |
} ; |
| 1784 |
enum __anonenum_52 { |
|
1784 |
enum __anonenum_52 { |
| 1785 |
_CS_PATH = 0, |
|
1785 |
_CS_PATH = 0, |
| 1786 |
_CS_V6_WIDTH_RESTRICTED_ENVS = 1, |
|
1786 |
_CS_V6_WIDTH_RESTRICTED_ENVS = 1, |
| 1787 |
_CS_GNU_LIBC_VERSION = 2, |
|
1787 |
_CS_GNU_LIBC_VERSION = 2, |
| 1788 |
_CS_GNU_LIBPTHREAD_VERSION = 3, |
|
1788 |
_CS_GNU_LIBPTHREAD_VERSION = 3, |
| 1789 |
_CS_V5_WIDTH_RESTRICTED_ENVS = 4, |
|
1789 |
_CS_V5_WIDTH_RESTRICTED_ENVS = 4, |
| 1790 |
_CS_V7_WIDTH_RESTRICTED_ENVS = 5, |
|
1790 |
_CS_V7_WIDTH_RESTRICTED_ENVS = 5, |
| 1791 |
_CS_LFS_CFLAGS = 1000, |
|
1791 |
_CS_LFS_CFLAGS = 1000, |
| 1792 |
_CS_LFS_LDFLAGS = 1001, |
|
1792 |
_CS_LFS_LDFLAGS = 1001, |
| 1793 |
_CS_LFS_LIBS = 1002, |
|
1793 |
_CS_LFS_LIBS = 1002, |
| 1794 |
_CS_LFS_LINTFLAGS = 1003, |
|
1794 |
_CS_LFS_LINTFLAGS = 1003, |
| 1795 |
_CS_LFS64_CFLAGS = 1004, |
|
1795 |
_CS_LFS64_CFLAGS = 1004, |
| 1796 |
_CS_LFS64_LDFLAGS = 1005, |
|
1796 |
_CS_LFS64_LDFLAGS = 1005, |
| 1797 |
_CS_LFS64_LIBS = 1006, |
|
1797 |
_CS_LFS64_LIBS = 1006, |
| 1798 |
_CS_LFS64_LINTFLAGS = 1007, |
|
1798 |
_CS_LFS64_LINTFLAGS = 1007, |
| 1799 |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, |
|
1799 |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, |
| 1800 |
_CS_XBS5_ILP32_OFF32_LDFLAGS = 1101, |
|
1800 |
_CS_XBS5_ILP32_OFF32_LDFLAGS = 1101, |
| 1801 |
_CS_XBS5_ILP32_OFF32_LIBS = 1102, |
|
1801 |
_CS_XBS5_ILP32_OFF32_LIBS = 1102, |
| 1802 |
_CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103, |
|
1802 |
_CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103, |
| 1803 |
_CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104, |
|
1803 |
_CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104, |
| 1804 |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105, |
|
1804 |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105, |
| 1805 |
_CS_XBS5_ILP32_OFFBIG_LIBS = 1106, |
|
1805 |
_CS_XBS5_ILP32_OFFBIG_LIBS = 1106, |
| 1806 |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107, |
|
1806 |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107, |
| 1807 |
_CS_XBS5_LP64_OFF64_CFLAGS = 1108, |
|
1807 |
_CS_XBS5_LP64_OFF64_CFLAGS = 1108, |
| 1808 |
_CS_XBS5_LP64_OFF64_LDFLAGS = 1109, |
|
1808 |
_CS_XBS5_LP64_OFF64_LDFLAGS = 1109, |
| 1809 |
_CS_XBS5_LP64_OFF64_LIBS = 1110, |
|
1809 |
_CS_XBS5_LP64_OFF64_LIBS = 1110, |
| 1810 |
_CS_XBS5_LP64_OFF64_LINTFLAGS = 1111, |
|
1810 |
_CS_XBS5_LP64_OFF64_LINTFLAGS = 1111, |
| 1811 |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112, |
|
1811 |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112, |
| 1812 |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113, |
|
1812 |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113, |
| 1813 |
_CS_XBS5_LPBIG_OFFBIG_LIBS = 1114, |
|
1813 |
_CS_XBS5_LPBIG_OFFBIG_LIBS = 1114, |
| 1814 |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115, |
|
1814 |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115, |
| 1815 |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116, |
|
1815 |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116, |
| 1816 |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117, |
|
1816 |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117, |
| 1817 |
_CS_POSIX_V6_ILP32_OFF32_LIBS = 1118, |
|
1817 |
_CS_POSIX_V6_ILP32_OFF32_LIBS = 1118, |
| 1818 |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119, |
|
1818 |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119, |
| 1819 |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120, |
|
1819 |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120, |
| 1820 |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121, |
|
1820 |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121, |
| 1821 |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122, |
|
1821 |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122, |
| 1822 |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123, |
|
1822 |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123, |
| 1823 |
_CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124, |
|
1823 |
_CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124, |
| 1824 |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125, |
|
1824 |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125, |
| 1825 |
_CS_POSIX_V6_LP64_OFF64_LIBS = 1126, |
|
1825 |
_CS_POSIX_V6_LP64_OFF64_LIBS = 1126, |
| 1826 |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127, |
|
1826 |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127, |
| 1827 |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128, |
|
1827 |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128, |
| 1828 |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129, |
|
1828 |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129, |
| 1829 |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130, |
|
1829 |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130, |
| 1830 |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131, |
|
1830 |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131, |
| 1831 |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132, |
|
1831 |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132, |
| 1832 |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133, |
|
1832 |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133, |
| 1833 |
_CS_POSIX_V7_ILP32_OFF32_LIBS = 1134, |
|
1833 |
_CS_POSIX_V7_ILP32_OFF32_LIBS = 1134, |
| 1834 |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135, |
|
1834 |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135, |
| 1835 |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136, |
|
1835 |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136, |
| 1836 |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137, |
|
1836 |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137, |
| 1837 |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138, |
|
1837 |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138, |
| 1838 |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139, |
|
1838 |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139, |
| 1839 |
_CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140, |
|
1839 |
_CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140, |
| 1840 |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141, |
|
1840 |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141, |
| 1841 |
_CS_POSIX_V7_LP64_OFF64_LIBS = 1142, |
|
1841 |
_CS_POSIX_V7_LP64_OFF64_LIBS = 1142, |
| 1842 |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143, |
|
1842 |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143, |
| 1843 |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144, |
|
1843 |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144, |
| 1844 |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145, |
|
1844 |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145, |
| 1845 |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146, |
|
1845 |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146, |
| 1846 |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147, |
|
1846 |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147, |
| 1847 |
_CS_V6_ENV = 1148, |
|
1847 |
_CS_V6_ENV = 1148, |
| 1848 |
_CS_V7_ENV = 1149 |
|
1848 |
_CS_V7_ENV = 1149 |
| 1849 |
} ; |
|
1849 |
} ; |
| 1850 |
struct passwd { |
|
1850 |
struct passwd { |
| 1851 |
char *pw_name ; |
|
1851 |
char *pw_name ; |
| 1852 |
char *pw_passwd ; |
|
1852 |
char *pw_passwd ; |
| 1853 |
__uid_t pw_uid ; |
|
1853 |
__uid_t pw_uid ; |
| 1854 |
__gid_t pw_gid ; |
|
1854 |
__gid_t pw_gid ; |
| 1855 |
char *pw_gecos ; |
|
1855 |
char *pw_gecos ; |
| 1856 |
char *pw_dir ; |
|
1856 |
char *pw_dir ; |
| 1857 |
char *pw_shell ; |
|
1857 |
char *pw_shell ; |
| 1858 |
}; |
|
1858 |
}; |
| 1859 |
typedef int bool_int; |
|
1859 |
typedef int bool_int; |
| 1860 |
enum __anonenum_boolean_e_53 { |
|
1860 |
enum __anonenum_boolean_e_53 { |
| 1861 |
NO = 0, |
|
1861 |
NO = 0, |
| 1862 |
YES = 1 |
|
1862 |
YES = 1 |
| 1863 |
} ; |
|
1863 |
} ; |
| 1864 |
typedef enum __anonenum_boolean_e_53 boolean_e; |
|
1864 |
typedef enum __anonenum_boolean_e_53 boolean_e; |
| 1865 |
enum __anonenum_length_modifier_e_54 { |
|
1865 |
enum __anonenum_length_modifier_e_54 { |
| 1866 |
LM_STD = 0, |
|
1866 |
LM_STD = 0, |
| 1867 |
LM_INTMAX_T = 1, |
|
1867 |
LM_INTMAX_T = 1, |
| 1868 |
LM_PTRDIFF_T = 2, |
|
1868 |
LM_PTRDIFF_T = 2, |
| 1869 |
LM_LONG_LONG = 3, |
|
1869 |
LM_LONG_LONG = 3, |
| 1870 |
LM_SIZE_T = 4, |
|
1870 |
LM_SIZE_T = 4, |
| 1871 |
LM_LONG = 5, |
|
1871 |
LM_LONG = 5, |
| 1872 |
LM_LONG_DOUBLE = 6 |
|
1872 |
LM_LONG_DOUBLE = 6 |
| 1873 |
} ; |
|
1873 |
} ; |
| 1874 |
typedef enum __anonenum_length_modifier_e_54 length_modifier_e; |
|
1874 |
typedef enum __anonenum_length_modifier_e_54 length_modifier_e; |
| 1875 |
typedef long long wide_int; |
|
1875 |
typedef long long wide_int; |
| 1876 |
typedef unsigned long long u_wide_int; |
|
1876 |
typedef unsigned long long u_wide_int; |
| 1877 |
enum _php_output_handler_status_t { |
|
1877 |
enum _php_output_handler_status_t { |
| 1878 |
PHP_OUTPUT_HANDLER_FAILURE = 0, |
|
1878 |
PHP_OUTPUT_HANDLER_FAILURE = 0, |
| 1879 |
PHP_OUTPUT_HANDLER_SUCCESS = 1, |
|
1879 |
PHP_OUTPUT_HANDLER_SUCCESS = 1, |
| 1880 |
PHP_OUTPUT_HANDLER_NO_DATA = 2 |
|
1880 |
PHP_OUTPUT_HANDLER_NO_DATA = 2 |
| 1881 |
} ; |
|
1881 |
} ; |
| 1882 |
typedef enum _php_output_handler_status_t php_output_handler_status_t; |
|
1882 |
typedef enum _php_output_handler_status_t php_output_handler_status_t; |
| 1883 |
enum _php_output_handler_hook_t { |
|
1883 |
enum _php_output_handler_hook_t { |
| 1884 |
PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ = 0, |
|
1884 |
PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ = 0, |
| 1885 |
PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS = 1, |
|
1885 |
PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS = 1, |
| 1886 |
PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL = 2, |
|
1886 |
PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL = 2, |
| 1887 |
PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE = 3, |
|
1887 |
PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE = 3, |
| 1888 |
PHP_OUTPUT_HANDLER_HOOK_DISABLE = 4, |
|
1888 |
PHP_OUTPUT_HANDLER_HOOK_DISABLE = 4, |
| 1889 |
PHP_OUTPUT_HANDLER_HOOK_LAST = 5 |
|
1889 |
PHP_OUTPUT_HANDLER_HOOK_LAST = 5 |
| 1890 |
} ; |
|
1890 |
} ; |
| 1891 |
typedef enum _php_output_handler_hook_t php_output_handler_hook_t; |
|
1891 |
typedef enum _php_output_handler_hook_t php_output_handler_hook_t; |
| 1892 |
struct _php_output_buffer { |
|
1892 |
struct _php_output_buffer { |
| 1893 |
char *data ; |
|
1893 |
char *data ; |
| 1894 |
size_t size ; |
|
1894 |
size_t size ; |
| 1895 |
size_t used ; |
|
1895 |
size_t used ; |
| 1896 |
uint free : 1 ; |
|
1896 |
uint free : 1 ; |
| 1897 |
uint _res : 31 ; |
|
1897 |
uint _res : 31 ; |
| 1898 |
}; |
|
1898 |
}; |
| 1899 |
typedef struct _php_output_buffer php_output_buffer; |
|
1899 |
typedef struct _php_output_buffer php_output_buffer; |
| 1900 |
struct _php_output_context { |
|
1900 |
struct _php_output_context { |
| 1901 |
int op ; |
|
1901 |
int op ; |
| 1902 |
php_output_buffer in ; |
|
1902 |
php_output_buffer in ; |
| 1903 |
php_output_buffer out ; |
|
1903 |
php_output_buffer out ; |
| 1904 |
}; |
|
1904 |
}; |
| 1905 |
typedef struct _php_output_context php_output_context; |
|
1905 |
typedef struct _php_output_context php_output_context; |
| 1906 |
typedef void (*php_output_handler_func_t)(char *output , uint output_len , |
|
1906 |
typedef void (*php_output_handler_func_t)(char *output , uint output_len , |
| 1907 |
char **handled_output , |
|
1907 |
char **handled_output , |
| 1908 |
uint *handled_output_len , int mode ); |
|
1908 |
uint *handled_output_len , int mode ); |
| 1909 |
typedef int (*php_output_handler_context_func_t)(void **handler_context , |
|
1909 |
typedef int (*php_output_handler_context_func_t)(void **handler_context , |
| 1910 |
php_output_context *output_context ); |
|
1910 |
php_output_context *output_context ); |
| 1911 |
typedef void (*php_output_handler_context_dtor_t)(void *opaq ); |
|
1911 |
typedef void (*php_output_handler_context_dtor_t)(void *opaq ); |
| 1912 |
typedef int (*php_output_handler_conflict_check_t)(char const *handler_name , |
|
1912 |
typedef int (*php_output_handler_conflict_check_t)(char const *handler_name , |
| 1913 |
size_t handler_name_len ); |
|
1913 |
size_t handler_name_len ); |
| 1914 |
struct _php_output_handler; |
|
1914 |
struct _php_output_handler; |
| 1915 |
typedef struct _php_output_handler *(*php_output_handler_alias_ctor_t)(char const *handler_name , |
|
1915 |
typedef struct _php_output_handler *(*php_output_handler_alias_ctor_t)(char const *handler_name , |
| 1916 |
size_t handler_name_len , |
|
1916 |
size_t handler_name_len , |
| 1917 |
size_t chunk_size , |
|
1917 |
size_t chunk_size , |
| 1918 |
int flags ); |
|
1918 |
int flags ); |
| 1919 |
struct _php_output_handler_user_func_t { |
|
1919 |
struct _php_output_handler_user_func_t { |
| 1920 |
zend_fcall_info fci ; |
|
1920 |
zend_fcall_info fci ; |
| 1921 |
zend_fcall_info_cache fcc ; |
|
1921 |
zend_fcall_info_cache fcc ; |
| 1922 |
zval *zoh ; |
|
1922 |
zval *zoh ; |
| 1923 |
}; |
|
1923 |
}; |
| 1924 |
typedef struct _php_output_handler_user_func_t php_output_handler_user_func_t; |
|
1924 |
typedef struct _php_output_handler_user_func_t php_output_handler_user_func_t; |
| 1925 |
union __anonunion_func_55 { |
|
1925 |
union __anonunion_func_55 { |
| 1926 |
php_output_handler_user_func_t *user ; |
|
1926 |
php_output_handler_user_func_t *user ; |
| 1927 |
int (*internal)(void **handler_context , php_output_context *output_context ) ; |
|
1927 |
int (*internal)(void **handler_context , php_output_context *output_context ) ; |
| 1928 |
}; |
|
1928 |
}; |
| 1929 |
struct _php_output_handler { |
|
1929 |
struct _php_output_handler { |
| 1930 |
char *name ; |
|
1930 |
char *name ; |
| 1931 |
size_t name_len ; |
|
1931 |
size_t name_len ; |
| 1932 |
int flags ; |
|
1932 |
int flags ; |
| 1933 |
int level ; |
|
1933 |
int level ; |
| 1934 |
size_t size ; |
|
1934 |
size_t size ; |
| 1935 |
php_output_buffer buffer ; |
|
1935 |
php_output_buffer buffer ; |
| 1936 |
void *opaq ; |
|
1936 |
void *opaq ; |
| 1937 |
void (*dtor)(void *opaq ) ; |
|
1937 |
void (*dtor)(void *opaq ) ; |
| 1938 |
union __anonunion_func_55 func ; |
|
1938 |
union __anonunion_func_55 func ; |
| 1939 |
}; |
|
1939 |
}; |
| 1940 |
typedef struct _php_output_handler php_output_handler; |
|
1940 |
typedef struct _php_output_handler php_output_handler; |
| 1941 |
struct _zend_output_globals { |
|
1941 |
struct _zend_output_globals { |
| 1942 |
int flags ; |
|
1942 |
int flags ; |
| 1943 |
zend_stack handlers ; |
|
1943 |
zend_stack handlers ; |
| 1944 |
php_output_handler *active ; |
|
1944 |
php_output_handler *active ; |
| 1945 |
php_output_handler *running ; |
|
1945 |
php_output_handler *running ; |
| 1946 |
char *output_start_filename ; |
|
1946 |
char *output_start_filename ; |
| 1947 |
int output_start_lineno ; |
|
1947 |
int output_start_lineno ; |
| 1948 |
}; |
|
1948 |
}; |
| 1949 |
typedef struct _zend_output_globals zend_output_globals; |
|
1949 |
typedef struct _zend_output_globals zend_output_globals; |
| 1950 |
struct timezone { |
|
1950 |
struct timezone { |
| 1951 |
int tz_minuteswest ; |
|
1951 |
int tz_minuteswest ; |
| 1952 |
int tz_dsttime ; |
|
1952 |
int tz_dsttime ; |
| 1953 |
}; |
|
1953 |
}; |
| 1954 |
typedef struct timezone * __restrict __timezone_ptr_t; |
|
1954 |
typedef struct timezone * __restrict __timezone_ptr_t; |
| 1955 |
enum __itimer_which { |
|
1955 |
enum __itimer_which { |
| 1956 |
ITIMER_REAL = 0, |
|
1956 |
ITIMER_REAL = 0, |
| 1957 |
ITIMER_VIRTUAL = 1, |
|
1957 |
ITIMER_VIRTUAL = 1, |
| 1958 |
ITIMER_PROF = 2 |
|
1958 |
ITIMER_PROF = 2 |
| 1959 |
} ; |
|
1959 |
} ; |
| 1960 |
struct itimerval { |
|
1960 |
struct itimerval { |
| 1961 |
struct timeval it_interval ; |
|
1961 |
struct timeval it_interval ; |
| 1962 |
struct timeval it_value ; |
|
1962 |
struct timeval it_value ; |
| 1963 |
}; |
|
1963 |
}; |
| 1964 |
typedef int __itimer_which_t; |
|
1964 |
typedef int __itimer_which_t; |
| 1965 |
struct stat { |
|
1965 |
struct stat { |
| 1966 |
__dev_t st_dev ; |
|
1966 |
__dev_t st_dev ; |
| 1967 |
unsigned short __pad1 ; |
|
1967 |
unsigned short __pad1 ; |
| 1968 |
__ino_t st_ino ; |
|
1968 |
__ino_t st_ino ; |
| 1969 |
__mode_t st_mode ; |
|
1969 |
__mode_t st_mode ; |
| 1970 |
__nlink_t st_nlink ; |
|
1970 |
__nlink_t st_nlink ; |
| 1971 |
__uid_t st_uid ; |
|
1971 |
__uid_t st_uid ; |
| 1972 |
__gid_t st_gid ; |
|
1972 |
__gid_t st_gid ; |
| 1973 |
__dev_t st_rdev ; |
|
1973 |
__dev_t st_rdev ; |
| 1974 |
unsigned short __pad2 ; |
|
1974 |
unsigned short __pad2 ; |
| 1975 |
__off_t st_size ; |
|
1975 |
__off_t st_size ; |
| 1976 |
__blksize_t st_blksize ; |
|
1976 |
__blksize_t st_blksize ; |
| 1977 |
__blkcnt_t st_blocks ; |
|
1977 |
__blkcnt_t st_blocks ; |
| 1978 |
struct timespec st_atim ; |
|
1978 |
struct timespec st_atim ; |
| 1979 |
struct timespec st_mtim ; |
|
1979 |
struct timespec st_mtim ; |
| 1980 |
struct timespec st_ctim ; |
|
1980 |
struct timespec st_ctim ; |
| 1981 |
unsigned long __unused4 ; |
|
1981 |
unsigned long __unused4 ; |
| 1982 |
unsigned long __unused5 ; |
|
1982 |
unsigned long __unused5 ; |
| 1983 |
}; |
|
1983 |
}; |
| 1984 |
struct _php_stream; |
|
1984 |
struct _php_stream; |
| 1985 |
typedef struct _php_stream php_stream; |
|
1985 |
typedef struct _php_stream php_stream; |
| 1986 |
struct _php_stream_wrapper; |
|
1986 |
struct _php_stream_wrapper; |
| 1987 |
typedef struct _php_stream_wrapper php_stream_wrapper; |
|
1987 |
typedef struct _php_stream_wrapper php_stream_wrapper; |
| 1988 |
struct _php_stream_context; |
|
1988 |
struct _php_stream_context; |
| 1989 |
typedef struct _php_stream_context php_stream_context; |
|
1989 |
typedef struct _php_stream_context php_stream_context; |
| 1990 |
struct _php_stream_filter; |
|
1990 |
struct _php_stream_filter; |
| 1991 |
typedef struct _php_stream_filter php_stream_filter; |
|
1991 |
typedef struct _php_stream_filter php_stream_filter; |
| 1992 |
typedef void (*php_stream_notification_func)(php_stream_context *context , |
|
1992 |
typedef void (*php_stream_notification_func)(php_stream_context *context , |
| 1993 |
int notifycode , int severity , |
|
1993 |
int notifycode , int severity , |
| 1994 |
char *xmsg , int xcode , |
|
1994 |
char *xmsg , int xcode , |
| 1995 |
size_t bytes_sofar , |
|
1995 |
size_t bytes_sofar , |
| 1996 |
size_t bytes_max , void *ptr ); |
|
1996 |
size_t bytes_max , void *ptr ); |
| 1997 |
struct _php_stream_notifier; |
|
1997 |
struct _php_stream_notifier; |
| 1998 |
typedef struct _php_stream_notifier php_stream_notifier; |
|
1998 |
typedef struct _php_stream_notifier php_stream_notifier; |
| 1999 |
struct _php_stream_notifier { |
|
1999 |
struct _php_stream_notifier { |
| 2000 |
void (*func)(php_stream_context *context , int notifycode , int severity , |
|
2000 |
void (*func)(php_stream_context *context , int notifycode , int severity , |
| 2001 |
char *xmsg , int xcode , size_t bytes_sofar , size_t bytes_max , |
|
2001 |
char *xmsg , int xcode , size_t bytes_sofar , size_t bytes_max , |
| 2002 |
void *ptr ) ; |
|
2002 |
void *ptr ) ; |
| 2003 |
void (*dtor)(php_stream_notifier *notifier ) ; |
|
2003 |
void (*dtor)(php_stream_notifier *notifier ) ; |
| 2004 |
void *ptr ; |
|
2004 |
void *ptr ; |
| 2005 |
int mask ; |
|
2005 |
int mask ; |
| 2006 |
size_t progress ; |
|
2006 |
size_t progress ; |
| 2007 |
size_t progress_max ; |
|
2007 |
size_t progress_max ; |
| 2008 |
}; |
|
2008 |
}; |
| 2009 |
struct _php_stream_context { |
|
2009 |
struct _php_stream_context { |
| 2010 |
php_stream_notifier *notifier ; |
|
2010 |
php_stream_notifier *notifier ; |
| 2011 |
zval *options ; |
|
2011 |
zval *options ; |
| 2012 |
zval *links ; |
|
2012 |
zval *links ; |
| 2013 |
int rsrc_id ; |
|
2013 |
int rsrc_id ; |
| 2014 |
}; |
|
2014 |
}; |
| 2015 |
struct _php_stream_bucket; |
|
2015 |
struct _php_stream_bucket; |
| 2016 |
typedef struct _php_stream_bucket php_stream_bucket; |
|
2016 |
typedef struct _php_stream_bucket php_stream_bucket; |
| 2017 |
struct _php_stream_bucket_brigade; |
|
2017 |
struct _php_stream_bucket_brigade; |
| 2018 |
typedef struct _php_stream_bucket_brigade php_stream_bucket_brigade; |
|
2018 |
typedef struct _php_stream_bucket_brigade php_stream_bucket_brigade; |
| 2019 |
struct _php_stream_bucket { |
|
2019 |
struct _php_stream_bucket { |
| 2020 |
php_stream_bucket *next ; |
|
2020 |
php_stream_bucket *next ; |
| 2021 |
php_stream_bucket *prev ; |
|
2021 |
php_stream_bucket *prev ; |
| 2022 |
php_stream_bucket_brigade *brigade ; |
|
2022 |
php_stream_bucket_brigade *brigade ; |
| 2023 |
char *buf ; |
|
2023 |
char *buf ; |
| 2024 |
size_t buflen ; |
|
2024 |
size_t buflen ; |
| 2025 |
int own_buf ; |
|
2025 |
int own_buf ; |
| 2026 |
int is_persistent ; |
|
2026 |
int is_persistent ; |
| 2027 |
int refcount ; |
|
2027 |
int refcount ; |
| 2028 |
}; |
|
2028 |
}; |
| 2029 |
struct _php_stream_bucket_brigade { |
|
2029 |
struct _php_stream_bucket_brigade { |
| 2030 |
php_stream_bucket *head ; |
|
2030 |
php_stream_bucket *head ; |
| 2031 |
php_stream_bucket *tail ; |
|
2031 |
php_stream_bucket *tail ; |
| 2032 |
}; |
|
2032 |
}; |
| 2033 |
enum __anonenum_php_stream_filter_status_t_56 { |
|
2033 |
enum __anonenum_php_stream_filter_status_t_56 { |
| 2034 |
PSFS_ERR_FATAL = 0, |
|
2034 |
PSFS_ERR_FATAL = 0, |
| 2035 |
PSFS_FEED_ME = 1, |
|
2035 |
PSFS_FEED_ME = 1, |
| 2036 |
PSFS_PASS_ON = 2 |
|
2036 |
PSFS_PASS_ON = 2 |
| 2037 |
} ; |
|
2037 |
} ; |
| 2038 |
typedef enum __anonenum_php_stream_filter_status_t_56 php_stream_filter_status_t; |
|
2038 |
typedef enum __anonenum_php_stream_filter_status_t_56 php_stream_filter_status_t; |
| 2039 |
struct _php_stream_filter_ops { |
|
2039 |
struct _php_stream_filter_ops { |
| 2040 |
php_stream_filter_status_t (*filter)(php_stream *stream , |
|
2040 |
php_stream_filter_status_t (*filter)(php_stream *stream , |
| 2041 |
php_stream_filter *thisfilter , |
|
2041 |
php_stream_filter *thisfilter , |
| 2042 |
php_stream_bucket_brigade *buckets_in , |
|
2042 |
php_stream_bucket_brigade *buckets_in , |
| 2043 |
php_stream_bucket_brigade *buckets_out , |
|
2043 |
php_stream_bucket_brigade *buckets_out , |
| 2044 |
size_t *bytes_consumed , int flags ) ; |
|
2044 |
size_t *bytes_consumed , int flags ) ; |
| 2045 |
void (*dtor)(php_stream_filter *thisfilter ) ; |
|
2045 |
void (*dtor)(php_stream_filter *thisfilter ) ; |
| 2046 |
char const *label ; |
|
2046 |
char const *label ; |
| 2047 |
}; |
|
2047 |
}; |
| 2048 |
typedef struct _php_stream_filter_ops php_stream_filter_ops; |
|
2048 |
typedef struct _php_stream_filter_ops php_stream_filter_ops; |
| 2049 |
struct _php_stream_filter_chain { |
|
2049 |
struct _php_stream_filter_chain { |
| 2050 |
php_stream_filter *head ; |
|
2050 |
php_stream_filter *head ; |
| 2051 |
php_stream_filter *tail ; |
|
2051 |
php_stream_filter *tail ; |
| 2052 |
php_stream *stream ; |
|
2052 |
php_stream *stream ; |
| 2053 |
}; |
|
2053 |
}; |
| 2054 |
typedef struct _php_stream_filter_chain php_stream_filter_chain; |
|
2054 |
typedef struct _php_stream_filter_chain php_stream_filter_chain; |
| 2055 |
struct _php_stream_filter { |
|
2055 |
struct _php_stream_filter { |
| 2056 |
php_stream_filter_ops *fops ; |
|
2056 |
php_stream_filter_ops *fops ; |
| 2057 |
void *abstract ; |
|
2057 |
void *abstract ; |
| 2058 |
php_stream_filter *next ; |
|
2058 |
php_stream_filter *next ; |
| 2059 |
php_stream_filter *prev ; |
|
2059 |
php_stream_filter *prev ; |
| 2060 |
int is_persistent ; |
|
2060 |
int is_persistent ; |
| 2061 |
php_stream_filter_chain *chain ; |
|
2061 |
php_stream_filter_chain *chain ; |
| 2062 |
php_stream_bucket_brigade buffer ; |
|
2062 |
php_stream_bucket_brigade buffer ; |
| 2063 |
int rsrc_id ; |
|
2063 |
int rsrc_id ; |
| 2064 |
}; |
|
2064 |
}; |
| 2065 |
struct _php_stream_filter_factory { |
|
2065 |
struct _php_stream_filter_factory { |
| 2066 |
php_stream_filter *(*create_filter)(char const *filtername , |
|
2066 |
php_stream_filter *(*create_filter)(char const *filtername , |
| 2067 |
zval *filterparams , int persistent ) ; |
|
2067 |
zval *filterparams , int persistent ) ; |
| 2068 |
}; |
|
2068 |
}; |
| 2069 |
typedef struct _php_stream_filter_factory php_stream_filter_factory; |
|
2069 |
typedef struct _php_stream_filter_factory php_stream_filter_factory; |
| 2070 |
struct _php_stream_statbuf { |
|
2070 |
struct _php_stream_statbuf { |
| 2071 |
struct stat sb ; |
|
2071 |
struct stat sb ; |
| 2072 |
}; |
|
2072 |
}; |
| 2073 |
typedef struct _php_stream_statbuf php_stream_statbuf; |
|
2073 |
typedef struct _php_stream_statbuf php_stream_statbuf; |
| 2074 |
struct _php_stream_dirent { |
|
2074 |
struct _php_stream_dirent { |
| 2075 |
char d_name[4096] ; |
|
2075 |
char d_name[4096] ; |
| 2076 |
}; |
|
2076 |
}; |
| 2077 |
typedef struct _php_stream_dirent php_stream_dirent; |
|
2077 |
typedef struct _php_stream_dirent php_stream_dirent; |
| 2078 |
struct _php_stream_ops { |
|
2078 |
struct _php_stream_ops { |
| 2079 |
size_t (*write)(php_stream *stream , char const *buf , size_t count ) ; |
|
2079 |
size_t (*write)(php_stream *stream , char const *buf , size_t count ) ; |
| 2080 |
size_t (*read)(php_stream *stream , char *buf , size_t count ) ; |
|
2080 |
size_t (*read)(php_stream *stream , char *buf , size_t count ) ; |
| 2081 |
int (*close)(php_stream *stream , int close_handle ) ; |
|
2081 |
int (*close)(php_stream *stream , int close_handle ) ; |
| 2082 |
int (*flush)(php_stream *stream ) ; |
|
2082 |
int (*flush)(php_stream *stream ) ; |
| 2083 |
char const *label ; |
|
2083 |
char const *label ; |
| 2084 |
int (*seek)(php_stream *stream , off_t offset , int whence , |
|
2084 |
int (*seek)(php_stream *stream , off_t offset , int whence , |
| 2085 |
off_t *newoffset ) ; |
|
2085 |
off_t *newoffset ) ; |
| 2086 |
int (*cast)(php_stream *stream , int castas , void **ret ) ; |
|
2086 |
int (*cast)(php_stream *stream , int castas , void **ret ) ; |
| 2087 |
int (*stat)(php_stream *stream , php_stream_statbuf *ssb ) ; |
|
2087 |
int (*stat)(php_stream *stream , php_stream_statbuf *ssb ) ; |
| 2088 |
int (*set_option)(php_stream *stream , int option , int value , |
|
2088 |
int (*set_option)(php_stream *stream , int option , int value , |
| 2089 |
void *ptrparam ) ; |
|
2089 |
void *ptrparam ) ; |
| 2090 |
}; |
|
2090 |
}; |
| 2091 |
typedef struct _php_stream_ops php_stream_ops; |
|
2091 |
typedef struct _php_stream_ops php_stream_ops; |
| 2092 |
struct _php_stream_wrapper_ops { |
|
2092 |
struct _php_stream_wrapper_ops { |
| 2093 |
php_stream *(*stream_opener)(php_stream_wrapper *wrapper , char *filename , |
|
2093 |
php_stream *(*stream_opener)(php_stream_wrapper *wrapper , char *filename , |
| 2094 |
char *mode , int options , char **opened_path , |
|
2094 |
char *mode , int options , char **opened_path , |
| 2095 |
php_stream_context *context ) ; |
|
2095 |
php_stream_context *context ) ; |
| 2096 |
int (*stream_closer)(php_stream_wrapper *wrapper , php_stream *stream ) ; |
|
2096 |
int (*stream_closer)(php_stream_wrapper *wrapper , php_stream *stream ) ; |
| 2097 |
int (*stream_stat)(php_stream_wrapper *wrapper , php_stream *stream , |
|
2097 |
int (*stream_stat)(php_stream_wrapper *wrapper , php_stream *stream , |
| 2098 |
php_stream_statbuf *ssb ) ; |
|
2098 |
php_stream_statbuf *ssb ) ; |
| 2099 |
int (*url_stat)(php_stream_wrapper *wrapper , char *url , int flags , |
|
2099 |
int (*url_stat)(php_stream_wrapper *wrapper , char *url , int flags , |
| 2100 |
php_stream_statbuf *ssb , php_stream_context *context ) ; |
|
2100 |
php_stream_statbuf *ssb , php_stream_context *context ) ; |
| 2101 |
php_stream *(*dir_opener)(php_stream_wrapper *wrapper , char *filename , |
|
2101 |
php_stream *(*dir_opener)(php_stream_wrapper *wrapper , char *filename , |
| 2102 |
char *mode , int options , char **opened_path , |
|
2102 |
char *mode , int options , char **opened_path , |
| 2103 |
php_stream_context *context ) ; |
|
2103 |
php_stream_context *context ) ; |
| 2104 |
char const *label ; |
|
2104 |
char const *label ; |
| 2105 |
int (*unlink)(php_stream_wrapper *wrapper , char *url , int options , |
|
2105 |
int (*unlink)(php_stream_wrapper *wrapper , char *url , int options , |
| 2106 |
php_stream_context *context ) ; |
|
2106 |
php_stream_context *context ) ; |
| 2107 |
int (*rename)(php_stream_wrapper *wrapper , char *url_from , char *url_to , |
|
2107 |
int (*rename)(php_stream_wrapper *wrapper , char *url_from , char *url_to , |
| 2108 |
int options , php_stream_context *context ) ; |
|
2108 |
int options , php_stream_context *context ) ; |
| 2109 |
int (*stream_mkdir)(php_stream_wrapper *wrapper , char *url , int mode , |
|
2109 |
int (*stream_mkdir)(php_stream_wrapper *wrapper , char *url , int mode , |
| 2110 |
int options , php_stream_context *context ) ; |
|
2110 |
int options , php_stream_context *context ) ; |
| 2111 |
int (*stream_rmdir)(php_stream_wrapper *wrapper , char *url , int options , |
|
2111 |
int (*stream_rmdir)(php_stream_wrapper *wrapper , char *url , int options , |
| 2112 |
php_stream_context *context ) ; |
|
2112 |
php_stream_context *context ) ; |
| 2113 |
}; |
|
2113 |
}; |
| 2114 |
typedef struct _php_stream_wrapper_ops php_stream_wrapper_ops; |
|
2114 |
typedef struct _php_stream_wrapper_ops php_stream_wrapper_ops; |
| 2115 |
struct _php_stream_wrapper { |
|
2115 |
struct _php_stream_wrapper { |
| 2116 |
php_stream_wrapper_ops *wops ; |
|
2116 |
php_stream_wrapper_ops *wops ; |
| 2117 |
void *abstract ; |
|
2117 |
void *abstract ; |
| 2118 |
int is_url ; |
|
2118 |
int is_url ; |
| 2119 |
int err_count ; |
|
2119 |
int err_count ; |
| 2120 |
char **err_stack ; |
|
2120 |
char **err_stack ; |
| 2121 |
}; |
|
2121 |
}; |
| 2122 |
struct _php_stream { |
|
2122 |
struct _php_stream { |
| 2123 |
php_stream_ops *ops ; |
|
2123 |
php_stream_ops *ops ; |
| 2124 |
void *abstract ; |
|
2124 |
void *abstract ; |
| 2125 |
php_stream_filter_chain readfilters ; |
|
2125 |
php_stream_filter_chain readfilters ; |
| 2126 |
php_stream_filter_chain writefilters ; |
|
2126 |
php_stream_filter_chain writefilters ; |
| 2127 |
php_stream_wrapper *wrapper ; |
|
2127 |
php_stream_wrapper *wrapper ; |
| 2128 |
void *wrapperthis ; |
|
2128 |
void *wrapperthis ; |
| 2129 |
zval *wrapperdata ; |
|
2129 |
zval *wrapperdata ; |
| 2130 |
int fgetss_state ; |
|
2130 |
int fgetss_state ; |
| 2131 |
int is_persistent ; |
|
2131 |
int is_persistent ; |
| 2132 |
char mode[16] ; |
|
2132 |
char mode[16] ; |
| 2133 |
int rsrc_id ; |
|
2133 |
int rsrc_id ; |
| 2134 |
int in_free ; |
|
2134 |
int in_free ; |
| 2135 |
int fclose_stdiocast ; |
|
2135 |
int fclose_stdiocast ; |
| 2136 |
FILE *stdiocast ; |
|
2136 |
FILE *stdiocast ; |
| 2137 |
char *orig_path ; |
|
2137 |
char *orig_path ; |
| 2138 |
php_stream_context *context ; |
|
2138 |
php_stream_context *context ; |
| 2139 |
int flags ; |
|
2139 |
int flags ; |
| 2140 |
off_t position ; |
|
2140 |
off_t position ; |
| 2141 |
unsigned char *readbuf ; |
|
2141 |
unsigned char *readbuf ; |
| 2142 |
size_t readbuflen ; |
|
2142 |
size_t readbuflen ; |
| 2143 |
off_t readpos ; |
|
2143 |
off_t readpos ; |
| 2144 |
off_t writepos ; |
|
2144 |
off_t writepos ; |
| 2145 |
size_t chunk_size ; |
|
2145 |
size_t chunk_size ; |
| 2146 |
int eof ; |
|
2146 |
int eof ; |
| 2147 |
struct _php_stream *enclosing_stream ; |
|
2147 |
struct _php_stream *enclosing_stream ; |
| 2148 |
}; |
|
2148 |
}; |
| 2149 |
struct iovec { |
|
2149 |
struct iovec { |
| 2150 |
void *iov_base ; |
|
2150 |
void *iov_base ; |
| 2151 |
size_t iov_len ; |
|
2151 |
size_t iov_len ; |
| 2152 |
}; |
|
2152 |
}; |
| 2153 |
enum __socket_type { |
|
2153 |
enum __socket_type { |
| 2154 |
SOCK_STREAM = 1, |
|
2154 |
SOCK_STREAM = 1, |
| 2155 |
SOCK_DGRAM = 2, |
|
2155 |
SOCK_DGRAM = 2, |
| 2156 |
SOCK_RAW = 3, |
|
2156 |
SOCK_RAW = 3, |
| 2157 |
SOCK_RDM = 4, |
|
2157 |
SOCK_RDM = 4, |
| 2158 |
SOCK_SEQPACKET = 5, |
|
2158 |
SOCK_SEQPACKET = 5, |
| 2159 |
SOCK_DCCP = 6, |
|
2159 |
SOCK_DCCP = 6, |
| 2160 |
SOCK_PACKET = 10, |
|
2160 |
SOCK_PACKET = 10, |
| 2161 |
SOCK_CLOEXEC = 524288, |
|
2161 |
SOCK_CLOEXEC = 524288, |
| 2162 |
SOCK_NONBLOCK = 2048 |
|
2162 |
SOCK_NONBLOCK = 2048 |
| 2163 |
} ; |
|
2163 |
} ; |
| 2164 |
typedef unsigned short sa_family_t; |
|
2164 |
typedef unsigned short sa_family_t; |
| 2165 |
struct sockaddr { |
|
2165 |
struct sockaddr { |
| 2166 |
sa_family_t sa_family ; |
|
2166 |
sa_family_t sa_family ; |
| 2167 |
char sa_data[14] ; |
|
2167 |
char sa_data[14] ; |
| 2168 |
}; |
|
2168 |
}; |
| 2169 |
struct sockaddr_storage { |
|
2169 |
struct sockaddr_storage { |
| 2170 |
sa_family_t ss_family ; |
|
2170 |
sa_family_t ss_family ; |
| 2171 |
unsigned long __ss_align ; |
|
2171 |
unsigned long __ss_align ; |
| 2172 |
char __ss_padding[128U - 2U * sizeof(unsigned long )] ; |
|
2172 |
char __ss_padding[128U - 2U * sizeof(unsigned long )] ; |
| 2173 |
}; |
|
2173 |
}; |
| 2174 |
enum __anonenum_57 { |
|
2174 |
enum __anonenum_57 { |
| 2175 |
MSG_OOB = 1, |
|
2175 |
MSG_OOB = 1, |
| 2176 |
MSG_PEEK = 2, |
|
2176 |
MSG_PEEK = 2, |
| 2177 |
MSG_DONTROUTE = 4, |
|
2177 |
MSG_DONTROUTE = 4, |
| 2178 |
MSG_CTRUNC = 8, |
|
2178 |
MSG_CTRUNC = 8, |
| 2179 |
MSG_PROXY = 16, |
|
2179 |
MSG_PROXY = 16, |
| 2180 |
MSG_TRUNC = 32, |
|
2180 |
MSG_TRUNC = 32, |
| 2181 |
MSG_DONTWAIT = 64, |
|
2181 |
MSG_DONTWAIT = 64, |
| 2182 |
MSG_EOR = 128, |
|
2182 |
MSG_EOR = 128, |
| 2183 |
MSG_WAITALL = 256, |
|
2183 |
MSG_WAITALL = 256, |
| 2184 |
MSG_FIN = 512, |
|
2184 |
MSG_FIN = 512, |
| 2185 |
MSG_SYN = 1024, |
|
2185 |
MSG_SYN = 1024, |
| 2186 |
MSG_CONFIRM = 2048, |
|
2186 |
MSG_CONFIRM = 2048, |
| 2187 |
MSG_RST = 4096, |
|
2187 |
MSG_RST = 4096, |
| 2188 |
MSG_ERRQUEUE = 8192, |
|
2188 |
MSG_ERRQUEUE = 8192, |
| 2189 |
MSG_NOSIGNAL = 16384, |
|
2189 |
MSG_NOSIGNAL = 16384, |
| 2190 |
MSG_MORE = 32768, |
|
2190 |
MSG_MORE = 32768, |
| 2191 |
MSG_WAITFORONE = 65536, |
|
2191 |
MSG_WAITFORONE = 65536, |
| 2192 |
MSG_CMSG_CLOEXEC = 1073741824 |
|
2192 |
MSG_CMSG_CLOEXEC = 1073741824 |
| 2193 |
} ; |
|
2193 |
} ; |
| 2194 |
struct msghdr { |
|
2194 |
struct msghdr { |
| 2195 |
void *msg_name ; |
|
2195 |
void *msg_name ; |
| 2196 |
socklen_t msg_namelen ; |
|
2196 |
socklen_t msg_namelen ; |
| 2197 |
struct iovec *msg_iov ; |
|
2197 |
struct iovec *msg_iov ; |
| 2198 |
size_t msg_iovlen ; |
|
2198 |
size_t msg_iovlen ; |
| 2199 |
void *msg_control ; |
|
2199 |
void *msg_control ; |
| 2200 |
size_t msg_controllen ; |
|
2200 |
size_t msg_controllen ; |
| 2201 |
int msg_flags ; |
|
2201 |
int msg_flags ; |
| 2202 |
}; |
|
2202 |
}; |
| 2203 |
struct cmsghdr { |
|
2203 |
struct cmsghdr { |
| 2204 |
size_t cmsg_len ; |
|
2204 |
size_t cmsg_len ; |
| 2205 |
int cmsg_level ; |
|
2205 |
int cmsg_level ; |
| 2206 |
int cmsg_type ; |
|
2206 |
int cmsg_type ; |
| 2207 |
unsigned char __cmsg_data[] ; |
|
2207 |
unsigned char __cmsg_data[] ; |
| 2208 |
}; |
|
2208 |
}; |
| 2209 |
enum __anonenum_58 { |
|
2209 |
enum __anonenum_58 { |
| 2210 |
SCM_RIGHTS = 1 |
|
2210 |
SCM_RIGHTS = 1 |
| 2211 |
} ; |
|
2211 |
} ; |
| 2212 |
struct linger { |
|
2212 |
struct linger { |
| 2213 |
int l_onoff ; |
|
2213 |
int l_onoff ; |
| 2214 |
int l_linger ; |
|
2214 |
int l_linger ; |
| 2215 |
}; |
|
2215 |
}; |
| 2216 |
struct mmsghdr; |
|
2216 |
struct mmsghdr; |
| 2217 |
struct osockaddr { |
|
2217 |
struct osockaddr { |
| 2218 |
unsigned short sa_family ; |
|
2218 |
unsigned short sa_family ; |
| 2219 |
unsigned char sa_data[14] ; |
|
2219 |
unsigned char sa_data[14] ; |
| 2220 |
}; |
|
2220 |
}; |
| 2221 |
enum __anonenum_59 { |
|
2221 |
enum __anonenum_59 { |
| 2222 |
SHUT_RD = 0, |
|
2222 |
SHUT_RD = 0, |
| 2223 |
SHUT_WR = 1, |
|
2223 |
SHUT_WR = 1, |
| 2224 |
SHUT_RDWR = 2 |
|
2224 |
SHUT_RDWR = 2 |
| 2225 |
} ; |
|
2225 |
} ; |
| 2226 |
typedef php_stream *php_stream_transport_factory_func(char const *proto , |
|
2226 |
typedef php_stream *php_stream_transport_factory_func(char const *proto , |
| 2227 |
long protolen , |
|
2227 |
long protolen , |
| 2228 |
char *resourcename , |
|
2228 |
char *resourcename , |
| 2229 |
long resourcenamelen , |
|
2229 |
long resourcenamelen , |
| 2230 |
char const *persistent_id , |
|
2230 |
char const *persistent_id , |
| 2231 |
int options , int flags , |
|
2231 |
int options , int flags , |
| 2232 |
struct timeval *timeout , |
|
2232 |
struct timeval *timeout , |
| 2233 |
php_stream_context *context ); |
|
2233 |
php_stream_context *context ); |
| 2234 |
typedef php_stream_transport_factory_func *php_stream_transport_factory; |
|
2234 |
typedef php_stream_transport_factory_func *php_stream_transport_factory; |
| 2235 |
enum php_stream_xport_send_recv_flags { |
|
2235 |
enum php_stream_xport_send_recv_flags { |
| 2236 |
STREAM_OOB = 1, |
|
2236 |
STREAM_OOB = 1, |
| 2237 |
STREAM_PEEK = 2 |
|
2237 |
STREAM_PEEK = 2 |
| 2238 |
} ; |
|
2238 |
} ; |
| 2239 |
enum __anonenum_stream_shutdown_t_60 { |
|
2239 |
enum __anonenum_stream_shutdown_t_60 { |
| 2240 |
STREAM_SHUT_RD = 0, |
|
2240 |
STREAM_SHUT_RD = 0, |
| 2241 |
STREAM_SHUT_WR = 1, |
|
2241 |
STREAM_SHUT_WR = 1, |
| 2242 |
STREAM_SHUT_RDWR = 2 |
|
2242 |
STREAM_SHUT_RDWR = 2 |
| 2243 |
} ; |
|
2243 |
} ; |
| 2244 |
typedef enum __anonenum_stream_shutdown_t_60 stream_shutdown_t; |
|
2244 |
typedef enum __anonenum_stream_shutdown_t_60 stream_shutdown_t; |
| 2245 |
enum __anonenum_op_61 { |
|
2245 |
enum __anonenum_op_61 { |
| 2246 |
STREAM_XPORT_OP_BIND = 0, |
|
2246 |
STREAM_XPORT_OP_BIND = 0, |
| 2247 |
STREAM_XPORT_OP_CONNECT = 1, |
|
2247 |
STREAM_XPORT_OP_CONNECT = 1, |
| 2248 |
STREAM_XPORT_OP_LISTEN = 2, |
|
2248 |
STREAM_XPORT_OP_LISTEN = 2, |
| 2249 |
STREAM_XPORT_OP_ACCEPT = 3, |
|
2249 |
STREAM_XPORT_OP_ACCEPT = 3, |
| 2250 |
STREAM_XPORT_OP_CONNECT_ASYNC = 4, |
|
2250 |
STREAM_XPORT_OP_CONNECT_ASYNC = 4, |
| 2251 |
STREAM_XPORT_OP_GET_NAME = 5, |
|
2251 |
STREAM_XPORT_OP_GET_NAME = 5, |
| 2252 |
STREAM_XPORT_OP_GET_PEER_NAME = 6, |
|
2252 |
STREAM_XPORT_OP_GET_PEER_NAME = 6, |
| 2253 |
STREAM_XPORT_OP_RECV = 7, |
|
2253 |
STREAM_XPORT_OP_RECV = 7, |
| 2254 |
STREAM_XPORT_OP_SEND = 8, |
|
2254 |
STREAM_XPORT_OP_SEND = 8, |
| 2255 |
STREAM_XPORT_OP_SHUTDOWN = 9 |
|
2255 |
STREAM_XPORT_OP_SHUTDOWN = 9 |
| 2256 |
} ; |
|
2256 |
} ; |
| 2257 |
struct __anonstruct_inputs_62 { |
|
2257 |
struct __anonstruct_inputs_62 { |
| 2258 |
char *name ; |
|
2258 |
char *name ; |
| 2259 |
long namelen ; |
|
2259 |
long namelen ; |
| 2260 |
int backlog ; |
|
2260 |
int backlog ; |
| 2261 |
struct timeval *timeout ; |
|
2261 |
struct timeval *timeout ; |
| 2262 |
struct sockaddr *addr ; |
|
2262 |
struct sockaddr *addr ; |
| 2263 |
socklen_t addrlen ; |
|
2263 |
socklen_t addrlen ; |
| 2264 |
char *buf ; |
|
2264 |
char *buf ; |
| 2265 |
size_t buflen ; |
|
2265 |
size_t buflen ; |
| 2266 |
long flags ; |
|
2266 |
long flags ; |
| 2267 |
}; |
|
2267 |
}; |
| 2268 |
struct __anonstruct_outputs_63 { |
|
2268 |
struct __anonstruct_outputs_63 { |
| 2269 |
php_stream *client ; |
|
2269 |
php_stream *client ; |
| 2270 |
int returncode ; |
|
2270 |
int returncode ; |
| 2271 |
struct sockaddr *addr ; |
|
2271 |
struct sockaddr *addr ; |
| 2272 |
socklen_t addrlen ; |
|
2272 |
socklen_t addrlen ; |
| 2273 |
char *textaddr ; |
|
2273 |
char *textaddr ; |
| 2274 |
long textaddrlen ; |
|
2274 |
long textaddrlen ; |
| 2275 |
char *error_text ; |
|
2275 |
char *error_text ; |
| 2276 |
int error_code ; |
|
2276 |
int error_code ; |
| 2277 |
}; |
|
2277 |
}; |
| 2278 |
struct _php_stream_xport_param { |
|
2278 |
struct _php_stream_xport_param { |
| 2279 |
enum __anonenum_op_61 op ; |
|
2279 |
enum __anonenum_op_61 op ; |
| 2280 |
unsigned int want_addr : 1 ; |
|
2280 |
unsigned int want_addr : 1 ; |
| 2281 |
unsigned int want_textaddr : 1 ; |
|
2281 |
unsigned int want_textaddr : 1 ; |
| 2282 |
unsigned int want_errortext : 1 ; |
|
2282 |
unsigned int want_errortext : 1 ; |
| 2283 |
unsigned int how : 2 ; |
|
2283 |
unsigned int how : 2 ; |
| 2284 |
struct __anonstruct_inputs_62 inputs ; |
|
2284 |
struct __anonstruct_inputs_62 inputs ; |
| 2285 |
struct __anonstruct_outputs_63 outputs ; |
|
2285 |
struct __anonstruct_outputs_63 outputs ; |
| 2286 |
}; |
|
2286 |
}; |
| 2287 |
typedef struct _php_stream_xport_param php_stream_xport_param; |
|
2287 |
typedef struct _php_stream_xport_param php_stream_xport_param; |
| 2288 |
enum __anonenum_php_stream_xport_crypt_method_t_64 { |
|
2288 |
enum __anonenum_php_stream_xport_crypt_method_t_64 { |
| 2289 |
STREAM_CRYPTO_METHOD_SSLv2_CLIENT = 0, |
|
2289 |
STREAM_CRYPTO_METHOD_SSLv2_CLIENT = 0, |
| 2290 |
STREAM_CRYPTO_METHOD_SSLv3_CLIENT = 1, |
|
2290 |
STREAM_CRYPTO_METHOD_SSLv3_CLIENT = 1, |
| 2291 |
STREAM_CRYPTO_METHOD_SSLv23_CLIENT = 2, |
|
2291 |
STREAM_CRYPTO_METHOD_SSLv23_CLIENT = 2, |
| 2292 |
STREAM_CRYPTO_METHOD_TLS_CLIENT = 3, |
|
2292 |
STREAM_CRYPTO_METHOD_TLS_CLIENT = 3, |
| 2293 |
STREAM_CRYPTO_METHOD_SSLv2_SERVER = 4, |
|
2293 |
STREAM_CRYPTO_METHOD_SSLv2_SERVER = 4, |
| 2294 |
STREAM_CRYPTO_METHOD_SSLv3_SERVER = 5, |
|
2294 |
STREAM_CRYPTO_METHOD_SSLv3_SERVER = 5, |
| 2295 |
STREAM_CRYPTO_METHOD_SSLv23_SERVER = 6, |
|
2295 |
STREAM_CRYPTO_METHOD_SSLv23_SERVER = 6, |
| 2296 |
STREAM_CRYPTO_METHOD_TLS_SERVER = 7 |
|
2296 |
STREAM_CRYPTO_METHOD_TLS_SERVER = 7 |
| 2297 |
} ; |
|
2297 |
} ; |
| 2298 |
typedef enum __anonenum_php_stream_xport_crypt_method_t_64 php_stream_xport_crypt_method_t; |
|
2298 |
typedef enum __anonenum_php_stream_xport_crypt_method_t_64 php_stream_xport_crypt_method_t; |
| 2299 |
enum __anonenum_op_65 { |
|
2299 |
enum __anonenum_op_65 { |
| 2300 |
STREAM_XPORT_CRYPTO_OP_SETUP = 0, |
|
2300 |
STREAM_XPORT_CRYPTO_OP_SETUP = 0, |
| 2301 |
STREAM_XPORT_CRYPTO_OP_ENABLE = 1 |
|
2301 |
STREAM_XPORT_CRYPTO_OP_ENABLE = 1 |
| 2302 |
} ; |
|
2302 |
} ; |
| 2303 |
struct __anonstruct_inputs_66 { |
|
2303 |
struct __anonstruct_inputs_66 { |
| 2304 |
int activate ; |
|
2304 |
int activate ; |
| 2305 |
php_stream_xport_crypt_method_t method ; |
|
2305 |
php_stream_xport_crypt_method_t method ; |
| 2306 |
php_stream *session ; |
|
2306 |
php_stream *session ; |
| 2307 |
}; |
|
2307 |
}; |
| 2308 |
struct __anonstruct_outputs_67 { |
|
2308 |
struct __anonstruct_outputs_67 { |
| 2309 |
int returncode ; |
|
2309 |
int returncode ; |
| 2310 |
}; |
|
2310 |
}; |
| 2311 |
struct _php_stream_xport_crypto_param { |
|
2311 |
struct _php_stream_xport_crypto_param { |
| 2312 |
enum __anonenum_op_65 op ; |
|
2312 |
enum __anonenum_op_65 op ; |
| 2313 |
struct __anonstruct_inputs_66 inputs ; |
|
2313 |
struct __anonstruct_inputs_66 inputs ; |
| 2314 |
struct __anonstruct_outputs_67 outputs ; |
|
2314 |
struct __anonstruct_outputs_67 outputs ; |
| 2315 |
}; |
|
2315 |
}; |
| 2316 |
typedef struct _php_stream_xport_crypto_param php_stream_xport_crypto_param; |
|
2316 |
typedef struct _php_stream_xport_crypto_param php_stream_xport_crypto_param; |
| 2317 |
enum __anonenum_php_stream_mmap_operation_t_68 { |
|
2317 |
enum __anonenum_php_stream_mmap_operation_t_68 { |
| 2318 |
PHP_STREAM_MMAP_SUPPORTED = 0, |
|
2318 |
PHP_STREAM_MMAP_SUPPORTED = 0, |
| 2319 |
PHP_STREAM_MMAP_MAP_RANGE = 1, |
|
2319 |
PHP_STREAM_MMAP_MAP_RANGE = 1, |
| 2320 |
PHP_STREAM_MMAP_UNMAP = 2 |
|
2320 |
PHP_STREAM_MMAP_UNMAP = 2 |
| 2321 |
} ; |
|
2321 |
} ; |
| 2322 |
typedef enum __anonenum_php_stream_mmap_operation_t_68 php_stream_mmap_operation_t; |
|
2322 |
typedef enum __anonenum_php_stream_mmap_operation_t_68 php_stream_mmap_operation_t; |
| 2323 |
enum __anonenum_php_stream_mmap_access_t_69 { |
|
2323 |
enum __anonenum_php_stream_mmap_access_t_69 { |
| 2324 |
PHP_STREAM_MAP_MODE_READONLY = 0, |
|
2324 |
PHP_STREAM_MAP_MODE_READONLY = 0, |
| 2325 |
PHP_STREAM_MAP_MODE_READWRITE = 1, |
|
2325 |
PHP_STREAM_MAP_MODE_READWRITE = 1, |
| 2326 |
PHP_STREAM_MAP_MODE_SHARED_READONLY = 2, |
|
2326 |
PHP_STREAM_MAP_MODE_SHARED_READONLY = 2, |
| 2327 |
PHP_STREAM_MAP_MODE_SHARED_READWRITE = 3 |
|
2327 |
PHP_STREAM_MAP_MODE_SHARED_READWRITE = 3 |
| 2328 |
} ; |
|
2328 |
} ; |
| 2329 |
typedef enum __anonenum_php_stream_mmap_access_t_69 php_stream_mmap_access_t; |
|
2329 |
typedef enum __anonenum_php_stream_mmap_access_t_69 php_stream_mmap_access_t; |
| 2330 |
struct __anonstruct_php_stream_mmap_range_70 { |
|
2330 |
struct __anonstruct_php_stream_mmap_range_70 { |
| 2331 |
size_t offset ; |
|
2331 |
size_t offset ; |
| 2332 |
size_t length ; |
|
2332 |
size_t length ; |
| 2333 |
php_stream_mmap_access_t mode ; |
|
2333 |
php_stream_mmap_access_t mode ; |
| 2334 |
char *mapped ; |
|
2334 |
char *mapped ; |
| 2335 |
}; |
|
2335 |
}; |
| 2336 |
typedef struct __anonstruct_php_stream_mmap_range_70 php_stream_mmap_range; |
|
2336 |
typedef struct __anonstruct_php_stream_mmap_range_70 php_stream_mmap_range; |
| 2337 |
struct _php_core_globals; |
|
2337 |
struct _php_core_globals; |
| 2338 |
typedef struct _php_core_globals php_core_globals; |
|
2338 |
typedef struct _php_core_globals php_core_globals; |
| 2339 |
struct _php_tick_function_entry; |
|
2339 |
struct _php_tick_function_entry; |
| 2340 |
struct _php_tick_function_entry; |
|
2340 |
struct _php_tick_function_entry; |
| 2341 |
struct _arg_separators { |
|
2341 |
struct _arg_separators { |
| 2342 |
char *output ; |
|
2342 |
char *output ; |
| 2343 |
char *input ; |
|
2343 |
char *input ; |
| 2344 |
}; |
|
2344 |
}; |
| 2345 |
typedef struct _arg_separators arg_separators; |
|
2345 |
typedef struct _arg_separators arg_separators; |
| 2346 |
struct _php_core_globals { |
|
2346 |
struct _php_core_globals { |
| 2347 |
zend_bool magic_quotes_gpc ; |
|
2347 |
zend_bool magic_quotes_gpc ; |
| 2348 |
zend_bool magic_quotes_runtime ; |
|
2348 |
zend_bool magic_quotes_runtime ; |
| 2349 |
zend_bool magic_quotes_sybase ; |
|
2349 |
zend_bool magic_quotes_sybase ; |
| 2350 |
zend_bool implicit_flush ; |
|
2350 |
zend_bool implicit_flush ; |
| 2351 |
long output_buffering ; |
|
2351 |
long output_buffering ; |
| 2352 |
zend_bool sql_safe_mode ; |
|
2352 |
zend_bool sql_safe_mode ; |
| 2353 |
zend_bool enable_dl ; |
|
2353 |
zend_bool enable_dl ; |
| 2354 |
char *output_handler ; |
|
2354 |
char *output_handler ; |
| 2355 |
char *unserialize_callback_func ; |
|
2355 |
char *unserialize_callback_func ; |
| 2356 |
long serialize_precision ; |
|
2356 |
long serialize_precision ; |
| 2357 |
long memory_limit ; |
|
2357 |
long memory_limit ; |
| 2358 |
long max_input_time ; |
|
2358 |
long max_input_time ; |
| 2359 |
zend_bool track_errors ; |
|
2359 |
zend_bool track_errors ; |
| 2360 |
zend_bool display_errors ; |
|
2360 |
zend_bool display_errors ; |
| 2361 |
zend_bool display_startup_errors ; |
|
2361 |
zend_bool display_startup_errors ; |
| 2362 |
zend_bool log_errors ; |
|
2362 |
zend_bool log_errors ; |
| 2363 |
long log_errors_max_len ; |
|
2363 |
long log_errors_max_len ; |
| 2364 |
zend_bool ignore_repeated_errors ; |
|
2364 |
zend_bool ignore_repeated_errors ; |
| 2365 |
zend_bool ignore_repeated_source ; |
|
2365 |
zend_bool ignore_repeated_source ; |
| 2366 |
zend_bool report_memleaks ; |
|
2366 |
zend_bool report_memleaks ; |
| 2367 |
char *error_log ; |
|
2367 |
char *error_log ; |
| 2368 |
char *doc_root ; |
|
2368 |
char *doc_root ; |
| 2369 |
char *user_dir ; |
|
2369 |
char *user_dir ; |
| 2370 |
char *include_path ; |
|
2370 |
char *include_path ; |
| 2371 |
char *open_basedir ; |
|
2371 |
char *open_basedir ; |
| 2372 |
char *extension_dir ; |
|
2372 |
char *extension_dir ; |
| 2373 |
char *upload_tmp_dir ; |
|
2373 |
char *upload_tmp_dir ; |
| 2374 |
long upload_max_filesize ; |
|
2374 |
long upload_max_filesize ; |
| 2375 |
char *error_append_string ; |
|
2375 |
char *error_append_string ; |
| 2376 |
char *error_prepend_string ; |
|
2376 |
char *error_prepend_string ; |
| 2377 |
char *auto_prepend_file ; |
|
2377 |
char *auto_prepend_file ; |
| 2378 |
char *auto_append_file ; |
|
2378 |
char *auto_append_file ; |
| 2379 |
arg_separators arg_separator ; |
|
2379 |
arg_separators arg_separator ; |
| 2380 |
char *variables_order ; |
|
2380 |
char *variables_order ; |
| 2381 |
HashTable rfc1867_protected_variables ; |
|
2381 |
HashTable rfc1867_protected_variables ; |
| 2382 |
short connection_status ; |
|
2382 |
short connection_status ; |
| 2383 |
short ignore_user_abort ; |
|
2383 |
short ignore_user_abort ; |
| 2384 |
unsigned char header_is_being_sent ; |
|
2384 |
unsigned char header_is_being_sent ; |
| 2385 |
zend_llist tick_functions ; |
|
2385 |
zend_llist tick_functions ; |
| 2386 |
zval *http_globals[6] ; |
|
2386 |
zval *http_globals[6] ; |
| 2387 |
zend_bool expose_php ; |
|
2387 |
zend_bool expose_php ; |
| 2388 |
zend_bool register_argc_argv ; |
|
2388 |
zend_bool register_argc_argv ; |
| 2389 |
zend_bool auto_globals_jit ; |
|
2389 |
zend_bool auto_globals_jit ; |
| 2390 |
char *docref_root ; |
|
2390 |
char *docref_root ; |
| 2391 |
char *docref_ext ; |
|
2391 |
char *docref_ext ; |
| 2392 |
zend_bool html_errors ; |
|
2392 |
zend_bool html_errors ; |
| 2393 |
zend_bool xmlrpc_errors ; |
|
2393 |
zend_bool xmlrpc_errors ; |
| 2394 |
long xmlrpc_error_number ; |
|
2394 |
long xmlrpc_error_number ; |
| 2395 |
zend_bool activated_auto_globals[8] ; |
|
2395 |
zend_bool activated_auto_globals[8] ; |
| 2396 |
zend_bool modules_activated ; |
|
2396 |
zend_bool modules_activated ; |
| 2397 |
zend_bool file_uploads ; |
|
2397 |
zend_bool file_uploads ; |
| 2398 |
zend_bool during_request_startup ; |
|
2398 |
zend_bool during_request_startup ; |
| 2399 |
zend_bool allow_url_fopen ; |
|
2399 |
zend_bool allow_url_fopen ; |
| 2400 |
zend_bool enable_post_data_reading ; |
|
2400 |
zend_bool enable_post_data_reading ; |
| 2401 |
zend_bool always_populate_raw_post_data ; |
|
2401 |
zend_bool always_populate_raw_post_data ; |
| 2402 |
zend_bool report_zend_debug ; |
|
2402 |
zend_bool report_zend_debug ; |
| 2403 |
int last_error_type ; |
|
2403 |
int last_error_type ; |
| 2404 |
char *last_error_message ; |
|
2404 |
char *last_error_message ; |
| 2405 |
char *last_error_file ; |
|
2405 |
char *last_error_file ; |
| 2406 |
int last_error_lineno ; |
|
2406 |
int last_error_lineno ; |
| 2407 |
char *disable_functions ; |
|
2407 |
char *disable_functions ; |
| 2408 |
char *disable_classes ; |
|
2408 |
char *disable_classes ; |
| 2409 |
zend_bool allow_url_include ; |
|
2409 |
zend_bool allow_url_include ; |
| 2410 |
zend_bool exit_on_timeout ; |
|
2410 |
zend_bool exit_on_timeout ; |
| 2411 |
long max_input_nesting_level ; |
|
2411 |
long max_input_nesting_level ; |
| 2412 |
zend_bool in_user_include ; |
|
2412 |
zend_bool in_user_include ; |
| 2413 |
char *user_ini_filename ; |
|
2413 |
char *user_ini_filename ; |
| 2414 |
long user_ini_cache_ttl ; |
|
2414 |
long user_ini_cache_ttl ; |
| 2415 |
char *request_order ; |
|
2415 |
char *request_order ; |
| 2416 |
zend_bool mail_x_header ; |
|
2416 |
zend_bool mail_x_header ; |
| 2417 |
char *mail_log ; |
|
2417 |
char *mail_log ; |
| 2418 |
zend_bool in_error_log ; |
|
2418 |
zend_bool in_error_log ; |
| 2419 |
}; |
|
2419 |
}; |
| 2420 |
struct _zend_ini_entry { |
|
2420 |
struct _zend_ini_entry { |
| 2421 |
int module_number ; |
|
2421 |
int module_number ; |
| 2422 |
int modifiable ; |
|
2422 |
int modifiable ; |
| 2423 |
char *name ; |
|
2423 |
char *name ; |
| 2424 |
uint name_length ; |
|
2424 |
uint name_length ; |
| 2425 |
int (*on_modify)(zend_ini_entry *entry , char *new_value , |
|
2425 |
int (*on_modify)(zend_ini_entry *entry , char *new_value , |
| 2426 |
uint new_value_length , void *mh_arg1 , void *mh_arg2 , |
|
2426 |
uint new_value_length , void *mh_arg1 , void *mh_arg2 , |
| 2427 |
void *mh_arg3 , int stage ) ; |
|
2427 |
void *mh_arg3 , int stage ) ; |
| 2428 |
void *mh_arg1 ; |
|
2428 |
void *mh_arg1 ; |
| 2429 |
void *mh_arg2 ; |
|
2429 |
void *mh_arg2 ; |
| 2430 |
void *mh_arg3 ; |
|
2430 |
void *mh_arg3 ; |
| 2431 |
char *value ; |
|
2431 |
char *value ; |
| 2432 |
uint value_length ; |
|
2432 |
uint value_length ; |
| 2433 |
char *orig_value ; |
|
2433 |
char *orig_value ; |
| 2434 |
uint orig_value_length ; |
|
2434 |
uint orig_value_length ; |
| 2435 |
int orig_modifiable ; |
|
2435 |
int orig_modifiable ; |
| 2436 |
int modified ; |
|
2436 |
int modified ; |
| 2437 |
void (*displayer)(zend_ini_entry *ini_entry , int type ) ; |
|
2437 |
void (*displayer)(zend_ini_entry *ini_entry , int type ) ; |
| 2438 |
}; |
|
2438 |
}; |
| 2439 |
typedef void (*zend_ini_parser_cb_t)(zval *arg1 , zval *arg2 , zval *arg3 , |
|
2439 |
typedef void (*zend_ini_parser_cb_t)(zval *arg1 , zval *arg2 , zval *arg3 , |
| 2440 |
int callback_type , void *arg ); |
|
2440 |
int callback_type , void *arg ); |
| 2441 |
struct _zend_ini_parser_param { |
|
2441 |
struct _zend_ini_parser_param { |
| 2442 |
void (*ini_parser_cb)(zval *arg1 , zval *arg2 , zval *arg3 , |
|
2442 |
void (*ini_parser_cb)(zval *arg1 , zval *arg2 , zval *arg3 , |
| 2443 |
int callback_type , void *arg ) ; |
|
2443 |
int callback_type , void *arg ) ; |
| 2444 |
void *arg ; |
|
2444 |
void *arg ; |
| 2445 |
}; |
|
2445 |
}; |
| 2446 |
typedef struct _zend_ini_parser_param zend_ini_parser_param; |
|
2446 |
typedef struct _zend_ini_parser_param zend_ini_parser_param; |
| 2447 |
struct utimbuf { |
|
2447 |
struct utimbuf { |
| 2448 |
__time_t actime ; |
|
2448 |
__time_t actime ; |
| 2449 |
__time_t modtime ; |
|
2449 |
__time_t modtime ; |
| 2450 |
}; |
|
2450 |
}; |
| 2451 |
struct dirent { |
|
2451 |
struct dirent { |
| 2452 |
__ino_t d_ino ; |
|
2452 |
__ino_t d_ino ; |
| 2453 |
__off_t d_off ; |
|
2453 |
__off_t d_off ; |
| 2454 |
unsigned short d_reclen ; |
|
2454 |
unsigned short d_reclen ; |
| 2455 |
unsigned char d_type ; |
|
2455 |
unsigned char d_type ; |
| 2456 |
char d_name[256] ; |
|
2456 |
char d_name[256] ; |
| 2457 |
}; |
|
2457 |
}; |
| 2458 |
enum __anonenum_71 { |
|
2458 |
enum __anonenum_71 { |
| 2459 |
DT_UNKNOWN = 0, |
|
2459 |
DT_UNKNOWN = 0, |
| 2460 |
DT_FIFO = 1, |
|
2460 |
DT_FIFO = 1, |
| 2461 |
DT_CHR = 2, |
|
2461 |
DT_CHR = 2, |
| 2462 |
DT_DIR = 4, |
|
2462 |
DT_DIR = 4, |
| 2463 |
DT_BLK = 6, |
|
2463 |
DT_BLK = 6, |
| 2464 |
DT_REG = 8, |
|
2464 |
DT_REG = 8, |
| 2465 |
DT_LNK = 10, |
|
2465 |
DT_LNK = 10, |
| 2466 |
DT_SOCK = 12, |
|
2466 |
DT_SOCK = 12, |
| 2467 |
DT_WHT = 14 |
|
2467 |
DT_WHT = 14 |
| 2468 |
} ; |
|
2468 |
} ; |
| 2469 |
struct __dirstream; |
|
2469 |
struct __dirstream; |
| 2470 |
typedef struct __dirstream DIR; |
|
2470 |
typedef struct __dirstream DIR; |
| 2471 |
struct _cwd_state { |
|
2471 |
struct _cwd_state { |
| 2472 |
char *cwd ; |
|
2472 |
char *cwd ; |
| 2473 |
int cwd_length ; |
|
2473 |
int cwd_length ; |
| 2474 |
}; |
|
2474 |
}; |
| 2475 |
typedef struct _cwd_state cwd_state; |
|
2475 |
typedef struct _cwd_state cwd_state; |
| 2476 |
typedef int (*verify_path_func)(cwd_state const * ); |
|
2476 |
typedef int (*verify_path_func)(cwd_state const * ); |
| 2477 |
struct _realpath_cache_bucket { |
|
2477 |
struct _realpath_cache_bucket { |
| 2478 |
unsigned long key ; |
|
2478 |
unsigned long key ; |
| 2479 |
char *path ; |
|
2479 |
char *path ; |
| 2480 |
int path_len ; |
|
2480 |
int path_len ; |
| 2481 |
char *realpath ; |
|
2481 |
char *realpath ; |
| 2482 |
int realpath_len ; |
|
2482 |
int realpath_len ; |
| 2483 |
int is_dir ; |
|
2483 |
int is_dir ; |
| 2484 |
time_t expires ; |
|
2484 |
time_t expires ; |
| 2485 |
struct _realpath_cache_bucket *next ; |
|
2485 |
struct _realpath_cache_bucket *next ; |
| 2486 |
}; |
|
2486 |
}; |
| 2487 |
typedef struct _realpath_cache_bucket realpath_cache_bucket; |
|
2487 |
typedef struct _realpath_cache_bucket realpath_cache_bucket; |
| 2488 |
struct _virtual_cwd_globals { |
|
2488 |
struct _virtual_cwd_globals { |
| 2489 |
cwd_state cwd ; |
|
2489 |
cwd_state cwd ; |
| 2490 |
long realpath_cache_size ; |
|
2490 |
long realpath_cache_size ; |
| 2491 |
long realpath_cache_size_limit ; |
|
2491 |
long realpath_cache_size_limit ; |
| 2492 |
long realpath_cache_ttl ; |
|
2492 |
long realpath_cache_ttl ; |
| 2493 |
realpath_cache_bucket *realpath_cache[1024] ; |
|
2493 |
realpath_cache_bucket *realpath_cache[1024] ; |
| 2494 |
}; |
|
2494 |
}; |
| 2495 |
typedef struct _virtual_cwd_globals virtual_cwd_globals; |
|
2495 |
typedef struct _virtual_cwd_globals virtual_cwd_globals; |
| 2496 |
struct _zend_constant { |
|
2496 |
struct _zend_constant { |
| 2497 |
zval value ; |
|
2497 |
zval value ; |
| 2498 |
int flags ; |
|
2498 |
int flags ; |
| 2499 |
char *name ; |
|
2499 |
char *name ; |
| 2500 |
uint name_len ; |
|
2500 |
uint name_len ; |
| 2501 |
int module_number ; |
|
2501 |
int module_number ; |
| 2502 |
}; |
|
2502 |
}; |
| 2503 |
typedef struct _zend_constant zend_constant; |
|
2503 |
typedef struct _zend_constant zend_constant; |
| 2504 |
struct tm { |
|
2504 |
struct tm { |
| 2505 |
int tm_sec ; |
|
2505 |
int tm_sec ; |
| 2506 |
int tm_min ; |
|
2506 |
int tm_min ; |
| 2507 |
int tm_hour ; |
|
2507 |
int tm_hour ; |
| 2508 |
int tm_mday ; |
|
2508 |
int tm_mday ; |
| 2509 |
int tm_mon ; |
|
2509 |
int tm_mon ; |
| 2510 |
int tm_year ; |
|
2510 |
int tm_year ; |
| 2511 |
int tm_wday ; |
|
2511 |
int tm_wday ; |
| 2512 |
int tm_yday ; |
|
2512 |
int tm_yday ; |
| 2513 |
int tm_isdst ; |
|
2513 |
int tm_isdst ; |
| 2514 |
long tm_gmtoff ; |
|
2514 |
long tm_gmtoff ; |
| 2515 |
char const *tm_zone ; |
|
2515 |
char const *tm_zone ; |
| 2516 |
}; |
|
2516 |
}; |
| 2517 |
struct itimerspec { |
|
2517 |
struct itimerspec { |
| 2518 |
struct timespec it_interval ; |
|
2518 |
struct timespec it_interval ; |
| 2519 |
struct timespec it_value ; |
|
2519 |
struct timespec it_value ; |
| 2520 |
}; |
|
2520 |
}; |
| 2521 |
struct sigevent; |
|
2521 |
struct sigevent; |
| 2522 |
struct sigevent; |
|
2522 |
struct sigevent; |
| 2523 |
typedef unsigned int wint_t; |
|
2523 |
typedef unsigned int wint_t; |
| 2524 |
typedef __mbstate_t mbstate_t; |
|
2524 |
typedef __mbstate_t mbstate_t; |
| 2525 |
struct tm; |
|
2525 |
struct tm; |
| 2526 |
typedef int php_stat_len; |
|
2526 |
typedef int php_stat_len; |
| 2527 |
struct _zend_syntax_highlighter_ini { |
|
2527 |
struct _zend_syntax_highlighter_ini { |
| 2528 |
char *highlight_html ; |
|
2528 |
char *highlight_html ; |
| 2529 |
char *highlight_comment ; |
|
2529 |
char *highlight_comment ; |
| 2530 |
char *highlight_default ; |
|
2530 |
char *highlight_default ; |
| 2531 |
char *highlight_string ; |
|
2531 |
char *highlight_string ; |
| 2532 |
char *highlight_keyword ; |
|
2532 |
char *highlight_keyword ; |
| 2533 |
}; |
|
2533 |
}; |
| 2534 |
typedef struct _zend_syntax_highlighter_ini zend_syntax_highlighter_ini; |
|
2534 |
typedef struct _zend_syntax_highlighter_ini zend_syntax_highlighter_ini; |
| 2535 |
struct __anonstruct_smart_str_72 { |
|
2535 |
struct __anonstruct_smart_str_72 { |
| 2536 |
char *c ; |
|
2536 |
char *c ; |
| 2537 |
size_t len ; |
|
2537 |
size_t len ; |
| 2538 |
size_t a ; |
|
2538 |
size_t a ; |
| 2539 |
}; |
|
2539 |
}; |
| 2540 |
typedef struct __anonstruct_smart_str_72 smart_str; |
|
2540 |
typedef struct __anonstruct_smart_str_72 smart_str; |
| 2541 |
struct __anonstruct_url_adapt_state_ex_t_73 { |
|
2541 |
struct __anonstruct_url_adapt_state_ex_t_73 { |
| 2542 |
smart_str tag ; |
|
2542 |
smart_str tag ; |
| 2543 |
smart_str arg ; |
|
2543 |
smart_str arg ; |
| 2544 |
smart_str val ; |
|
2544 |
smart_str val ; |
| 2545 |
smart_str buf ; |
|
2545 |
smart_str buf ; |
| 2546 |
smart_str result ; |
|
2546 |
smart_str result ; |
| 2547 |
smart_str form_app ; |
|
2547 |
smart_str form_app ; |
| 2548 |
smart_str url_app ; |
|
2548 |
smart_str url_app ; |
| 2549 |
int active ; |
|
2549 |
int active ; |
| 2550 |
char *lookup_data ; |
|
2550 |
char *lookup_data ; |
| 2551 |
int state ; |
|
2551 |
int state ; |
| 2552 |
HashTable *tags ; |
|
2552 |
HashTable *tags ; |
| 2553 |
}; |
|
2553 |
}; |
| 2554 |
typedef struct __anonstruct_url_adapt_state_ex_t_73 url_adapt_state_ex_t; |
|
2554 |
typedef struct __anonstruct_url_adapt_state_ex_t_73 url_adapt_state_ex_t; |
| 2555 |
typedef unsigned int php_uint32; |
|
2555 |
typedef unsigned int php_uint32; |
| 2556 |
typedef int php_int32; |
|
2556 |
typedef int php_int32; |
| 2557 |
struct __anonstruct_serialize_74 { |
|
2557 |
struct __anonstruct_serialize_74 { |
| 2558 |
void *var_hash ; |
|
2558 |
void *var_hash ; |
| 2559 |
unsigned int level ; |
|
2559 |
unsigned int level ; |
| 2560 |
}; |
|
2560 |
}; |
| 2561 |
struct __anonstruct_unserialize_75 { |
|
2561 |
struct __anonstruct_unserialize_75 { |
| 2562 |
void *var_hash ; |
|
2562 |
void *var_hash ; |
| 2563 |
unsigned int level ; |
|
2563 |
unsigned int level ; |
| 2564 |
}; |
|
2564 |
}; |
| 2565 |
struct _php_basic_globals { |
|
2565 |
struct _php_basic_globals { |
| 2566 |
HashTable *user_shutdown_function_names ; |
|
2566 |
HashTable *user_shutdown_function_names ; |
| 2567 |
HashTable putenv_ht ; |
|
2567 |
HashTable putenv_ht ; |
| 2568 |
zval *strtok_zval ; |
|
2568 |
zval *strtok_zval ; |
| 2569 |
char *strtok_string ; |
|
2569 |
char *strtok_string ; |
| 2570 |
char *locale_string ; |
|
2570 |
char *locale_string ; |
| 2571 |
char *strtok_last ; |
|
2571 |
char *strtok_last ; |
| 2572 |
char strtok_table[256] ; |
|
2572 |
char strtok_table[256] ; |
| 2573 |
ulong strtok_len ; |
|
2573 |
ulong strtok_len ; |
| 2574 |
char str_ebuf[40] ; |
|
2574 |
char str_ebuf[40] ; |
| 2575 |
zend_fcall_info array_walk_fci ; |
|
2575 |
zend_fcall_info array_walk_fci ; |
| 2576 |
zend_fcall_info_cache array_walk_fci_cache ; |
|
2576 |
zend_fcall_info_cache array_walk_fci_cache ; |
| 2577 |
zend_fcall_info user_compare_fci ; |
|
2577 |
zend_fcall_info user_compare_fci ; |
| 2578 |
zend_fcall_info_cache user_compare_fci_cache ; |
|
2578 |
zend_fcall_info_cache user_compare_fci_cache ; |
| 2579 |
zend_llist *user_tick_functions ; |
|
2579 |
zend_llist *user_tick_functions ; |
| 2580 |
zval *active_ini_file_section ; |
|
2580 |
zval *active_ini_file_section ; |
| 2581 |
long page_uid ; |
|
2581 |
long page_uid ; |
| 2582 |
long page_gid ; |
|
2582 |
long page_gid ; |
| 2583 |
long page_inode ; |
|
2583 |
long page_inode ; |
| 2584 |
time_t page_mtime ; |
|
2584 |
time_t page_mtime ; |
| 2585 |
char *CurrentStatFile ; |
|
2585 |
char *CurrentStatFile ; |
| 2586 |
char *CurrentLStatFile ; |
|
2586 |
char *CurrentLStatFile ; |
| 2587 |
php_stream_statbuf ssb ; |
|
2587 |
php_stream_statbuf ssb ; |
| 2588 |
php_stream_statbuf lssb ; |
|
2588 |
php_stream_statbuf lssb ; |
| 2589 |
php_uint32 state[625] ; |
|
2589 |
php_uint32 state[625] ; |
| 2590 |
php_uint32 *next ; |
|
2590 |
php_uint32 *next ; |
| 2591 |
int left ; |
|
2591 |
int left ; |
| 2592 |
unsigned int rand_seed ; |
|
2592 |
unsigned int rand_seed ; |
| 2593 |
zend_bool rand_is_seeded ; |
|
2593 |
zend_bool rand_is_seeded ; |
| 2594 |
zend_bool mt_rand_is_seeded ; |
|
2594 |
zend_bool mt_rand_is_seeded ; |
| 2595 |
char *syslog_device ; |
|
2595 |
char *syslog_device ; |
| 2596 |
zend_class_entry *incomplete_class ; |
|
2596 |
zend_class_entry *incomplete_class ; |
| 2597 |
struct __anonstruct_serialize_74 serialize ; |
|
2597 |
struct __anonstruct_serialize_74 serialize ; |
| 2598 |
struct __anonstruct_unserialize_75 unserialize ; |
|
2598 |
struct __anonstruct_unserialize_75 unserialize ; |
| 2599 |
url_adapt_state_ex_t url_adapt_state_ex ; |
|
2599 |
url_adapt_state_ex_t url_adapt_state_ex ; |
| 2600 |
void *mmap_file ; |
|
2600 |
void *mmap_file ; |
| 2601 |
size_t mmap_len ; |
|
2601 |
size_t mmap_len ; |
| 2602 |
HashTable *user_filter_map ; |
|
2602 |
HashTable *user_filter_map ; |
| 2603 |
int umask ; |
|
2603 |
int umask ; |
| 2604 |
}; |
|
2604 |
}; |
| 2605 |
typedef struct _php_basic_globals php_basic_globals; |
|
2605 |
typedef struct _php_basic_globals php_basic_globals; |
| 2606 |
struct __anonstruct_putenv_entry_76 { |
|
2606 |
struct __anonstruct_putenv_entry_76 { |
| 2607 |
char *putenv_string ; |
|
2607 |
char *putenv_string ; |
| 2608 |
char *previous_value ; |
|
2608 |
char *previous_value ; |
| 2609 |
char *key ; |
|
2609 |
char *key ; |
| 2610 |
int key_len ; |
|
2610 |
int key_len ; |
| 2611 |
}; |
|
2611 |
}; |
| 2612 |
typedef struct __anonstruct_putenv_entry_76 putenv_entry; |
|
2612 |
typedef struct __anonstruct_putenv_entry_76 putenv_entry; |
| 2613 |
struct lconv; |
|
2613 |
struct lconv; |
| 2614 |
struct __anonstruct_sapi_header_struct_77 { |
|
2614 |
struct __anonstruct_sapi_header_struct_77 { |
| 2615 |
char *header ; |
|
2615 |
char *header ; |
| 2616 |
uint header_len ; |
|
2616 |
uint header_len ; |
| 2617 |
}; |
|
2617 |
}; |
| 2618 |
typedef struct __anonstruct_sapi_header_struct_77 sapi_header_struct; |
|
2618 |
typedef struct __anonstruct_sapi_header_struct_77 sapi_header_struct; |
| 2619 |
struct __anonstruct_sapi_headers_struct_78 { |
|
2619 |
struct __anonstruct_sapi_headers_struct_78 { |
| 2620 |
zend_llist headers ; |
|
2620 |
zend_llist headers ; |
| 2621 |
int http_response_code ; |
|
2621 |
int http_response_code ; |
| 2622 |
unsigned char send_default_content_type ; |
|
2622 |
unsigned char send_default_content_type ; |
| 2623 |
char *mimetype ; |
|
2623 |
char *mimetype ; |
| 2624 |
char *http_status_line ; |
|
2624 |
char *http_status_line ; |
| 2625 |
}; |
|
2625 |
}; |
| 2626 |
typedef struct __anonstruct_sapi_headers_struct_78 sapi_headers_struct; |
|
2626 |
typedef struct __anonstruct_sapi_headers_struct_78 sapi_headers_struct; |
| 2627 |
struct _sapi_post_entry; |
|
2627 |
struct _sapi_post_entry; |
| 2628 |
typedef struct _sapi_post_entry sapi_post_entry; |
|
2628 |
typedef struct _sapi_post_entry sapi_post_entry; |
| 2629 |
struct _sapi_module_struct; |
|
2629 |
struct _sapi_module_struct; |
| 2630 |
typedef struct _sapi_module_struct sapi_module_struct; |
|
2630 |
typedef struct _sapi_module_struct sapi_module_struct; |
| 2631 |
struct __anonstruct_sapi_request_info_79 { |
|
2631 |
struct __anonstruct_sapi_request_info_79 { |
| 2632 |
char const *request_method ; |
|
2632 |
char const *request_method ; |
| 2633 |
char *query_string ; |
|
2633 |
char *query_string ; |
| 2634 |
char *post_data ; |
|
2634 |
char *post_data ; |
| 2635 |
char *raw_post_data ; |
|
2635 |
char *raw_post_data ; |
| 2636 |
char *cookie_data ; |
|
2636 |
char *cookie_data ; |
| 2637 |
long content_length ; |
|
2637 |
long content_length ; |
| 2638 |
uint post_data_length ; |
|
2638 |
uint post_data_length ; |
| 2639 |
uint raw_post_data_length ; |
|
2639 |
uint raw_post_data_length ; |
| 2640 |
char *path_translated ; |
|
2640 |
char *path_translated ; |
| 2641 |
char *request_uri ; |
|
2641 |
char *request_uri ; |
| 2642 |
char const *content_type ; |
|
2642 |
char const *content_type ; |
| 2643 |
zend_bool headers_only ; |
|
2643 |
zend_bool headers_only ; |
| 2644 |
zend_bool no_headers ; |
|
2644 |
zend_bool no_headers ; |
| 2645 |
zend_bool headers_read ; |
|
2645 |
zend_bool headers_read ; |
| 2646 |
sapi_post_entry *post_entry ; |
|
2646 |
sapi_post_entry *post_entry ; |
| 2647 |
char *content_type_dup ; |
|
2647 |
char *content_type_dup ; |
| 2648 |
char *auth_user ; |
|
2648 |
char *auth_user ; |
| 2649 |
char *auth_password ; |
|
2649 |
char *auth_password ; |
| 2650 |
char *auth_digest ; |
|
2650 |
char *auth_digest ; |
| 2651 |
char *argv0 ; |
|
2651 |
char *argv0 ; |
| 2652 |
char *current_user ; |
|
2652 |
char *current_user ; |
| 2653 |
int current_user_length ; |
|
2653 |
int current_user_length ; |
| 2654 |
int argc ; |
|
2654 |
int argc ; |
| 2655 |
char **argv ; |
|
2655 |
char **argv ; |
| 2656 |
int proto_num ; |
|
2656 |
int proto_num ; |
| 2657 |
}; |
|
2657 |
}; |
| 2658 |
typedef struct __anonstruct_sapi_request_info_79 sapi_request_info; |
|
2658 |
typedef struct __anonstruct_sapi_request_info_79 sapi_request_info; |
| 2659 |
struct _sapi_globals_struct { |
|
2659 |
struct _sapi_globals_struct { |
| 2660 |
void *server_context ; |
|
2660 |
void *server_context ; |
| 2661 |
sapi_request_info request_info ; |
|
2661 |
sapi_request_info request_info ; |
| 2662 |
sapi_headers_struct sapi_headers ; |
|
2662 |
sapi_headers_struct sapi_headers ; |
| 2663 |
int read_post_bytes ; |
|
2663 |
int read_post_bytes ; |
| 2664 |
unsigned char headers_sent ; |
|
2664 |
unsigned char headers_sent ; |
| 2665 |
struct stat global_stat ; |
|
2665 |
struct stat global_stat ; |
| 2666 |
char *default_mimetype ; |
|
2666 |
char *default_mimetype ; |
| 2667 |
char *default_charset ; |
|
2667 |
char *default_charset ; |
| 2668 |
HashTable *rfc1867_uploaded_files ; |
|
2668 |
HashTable *rfc1867_uploaded_files ; |
| 2669 |
long post_max_size ; |
|
2669 |
long post_max_size ; |
| 2670 |
int options ; |
|
2670 |
int options ; |
| 2671 |
zend_bool sapi_started ; |
|
2671 |
zend_bool sapi_started ; |
| 2672 |
double global_request_time ; |
|
2672 |
double global_request_time ; |
| 2673 |
HashTable known_post_content_types ; |
|
2673 |
HashTable known_post_content_types ; |
| 2674 |
zval *callback_func ; |
|
2674 |
zval *callback_func ; |
| 2675 |
zend_fcall_info_cache fci_cache ; |
|
2675 |
zend_fcall_info_cache fci_cache ; |
| 2676 |
zend_bool callback_run ; |
|
2676 |
zend_bool callback_run ; |
| 2677 |
}; |
|
2677 |
}; |
| 2678 |
typedef struct _sapi_globals_struct sapi_globals_struct; |
|
2678 |
typedef struct _sapi_globals_struct sapi_globals_struct; |
| 2679 |
struct __anonstruct_sapi_header_line_80 { |
|
2679 |
struct __anonstruct_sapi_header_line_80 { |
| 2680 |
char *line ; |
|
2680 |
char *line ; |
| 2681 |
uint line_len ; |
|
2681 |
uint line_len ; |
| 2682 |
long response_code ; |
|
2682 |
long response_code ; |
| 2683 |
}; |
|
2683 |
}; |
| 2684 |
typedef struct __anonstruct_sapi_header_line_80 sapi_header_line; |
|
2684 |
typedef struct __anonstruct_sapi_header_line_80 sapi_header_line; |
| 2685 |
enum __anonenum_sapi_header_op_enum_81 { |
|
2685 |
enum __anonenum_sapi_header_op_enum_81 { |
| 2686 |
SAPI_HEADER_REPLACE = 0, |
|
2686 |
SAPI_HEADER_REPLACE = 0, |
| 2687 |
SAPI_HEADER_ADD = 1, |
|
2687 |
SAPI_HEADER_ADD = 1, |
| 2688 |
SAPI_HEADER_DELETE = 2, |
|
2688 |
SAPI_HEADER_DELETE = 2, |
| 2689 |
SAPI_HEADER_DELETE_ALL = 3, |
|
2689 |
SAPI_HEADER_DELETE_ALL = 3, |
| 2690 |
SAPI_HEADER_SET_STATUS = 4 |
|
2690 |
SAPI_HEADER_SET_STATUS = 4 |
| 2691 |
} ; |
|
2691 |
} ; |
| 2692 |
typedef enum __anonenum_sapi_header_op_enum_81 sapi_header_op_enum; |
|
2692 |
typedef enum __anonenum_sapi_header_op_enum_81 sapi_header_op_enum; |
| 2693 |
struct _sapi_module_struct { |
|
2693 |
struct _sapi_module_struct { |
| 2694 |
char *name ; |
|
2694 |
char *name ; |
| 2695 |
char *pretty_name ; |
|
2695 |
char *pretty_name ; |
| 2696 |
int (*startup)(struct _sapi_module_struct *sapi_module ) ; |
|
2696 |
int (*startup)(struct _sapi_module_struct *sapi_module ) ; |
| 2697 |
int (*shutdown)(struct _sapi_module_struct *sapi_module ) ; |
|
2697 |
int (*shutdown)(struct _sapi_module_struct *sapi_module ) ; |
| 2698 |
int (*activate)(void) ; |
|
2698 |
int (*activate)(void) ; |
| 2699 |
int (*deactivate)(void) ; |
|
2699 |
int (*deactivate)(void) ; |
| 2700 |
int (*ub_write)(char const *str , unsigned int str_length ) ; |
|
2700 |
int (*ub_write)(char const *str , unsigned int str_length ) ; |
| 2701 |
void (*flush)(void *server_context ) ; |
|
2701 |
void (*flush)(void *server_context ) ; |
| 2702 |
struct stat *(*get_stat)(void) ; |
|
2702 |
struct stat *(*get_stat)(void) ; |
| 2703 |
char *(*getenv)(char *name , size_t name_len ) ; |
|
2703 |
char *(*getenv)(char *name , size_t name_len ) ; |
| 2704 |
void (*sapi_error)(int type , char const *error_msg , ...) ; |
|
2704 |
void (*sapi_error)(int type , char const *error_msg , ...) ; |
| 2705 |
int (*header_handler)(sapi_header_struct *sapi_header , |
|
2705 |
int (*header_handler)(sapi_header_struct *sapi_header , |
| 2706 |
sapi_header_op_enum op , |
|
2706 |
sapi_header_op_enum op , |
| 2707 |
sapi_headers_struct *sapi_headers ) ; |
|
2707 |
sapi_headers_struct *sapi_headers ) ; |
| 2708 |
int (*send_headers)(sapi_headers_struct *sapi_headers ) ; |
|
2708 |
int (*send_headers)(sapi_headers_struct *sapi_headers ) ; |
| 2709 |
void (*send_header)(sapi_header_struct *sapi_header , void *server_context ) ; |
|
2709 |
void (*send_header)(sapi_header_struct *sapi_header , void *server_context ) ; |
| 2710 |
int (*read_post)(char *buffer , uint count_bytes ) ; |
|
2710 |
int (*read_post)(char *buffer , uint count_bytes ) ; |
| 2711 |
char *(*read_cookies)(void) ; |
|
2711 |
char *(*read_cookies)(void) ; |
| 2712 |
void (*register_server_variables)(zval *track_vars_array ) ; |
|
2712 |
void (*register_server_variables)(zval *track_vars_array ) ; |
| 2713 |
void (*log_message)(char *message ) ; |
|
2713 |
void (*log_message)(char *message ) ; |
| 2714 |
time_t (*get_request_time)(void) ; |
|
2714 |
time_t (*get_request_time)(void) ; |
| 2715 |
void (*terminate_process)(void) ; |
|
2715 |
void (*terminate_process)(void) ; |
| 2716 |
char *php_ini_path_override ; |
|
2716 |
char *php_ini_path_override ; |
| 2717 |
void (*block_interruptions)(void) ; |
|
2717 |
void (*block_interruptions)(void) ; |
| 2718 |
void (*unblock_interruptions)(void) ; |
|
2718 |
void (*unblock_interruptions)(void) ; |
| 2719 |
void (*default_post_reader)(void) ; |
|
2719 |
void (*default_post_reader)(void) ; |
| 2720 |
void (*treat_data)(int arg , char *str , zval *destArray ) ; |
|
2720 |
void (*treat_data)(int arg , char *str , zval *destArray ) ; |
| 2721 |
char *executable_location ; |
|
2721 |
char *executable_location ; |
| 2722 |
int php_ini_ignore ; |
|
2722 |
int php_ini_ignore ; |
| 2723 |
int php_ini_ignore_cwd ; |
|
2723 |
int php_ini_ignore_cwd ; |
| 2724 |
int (*get_fd)(int *fd ) ; |
|
2724 |
int (*get_fd)(int *fd ) ; |
| 2725 |
int (*force_http_10)(void) ; |
|
2725 |
int (*force_http_10)(void) ; |
| 2726 |
int (*get_target_uid)(uid_t * ) ; |
|
2726 |
int (*get_target_uid)(uid_t * ) ; |
| 2727 |
int (*get_target_gid)(gid_t * ) ; |
|
2727 |
int (*get_target_gid)(gid_t * ) ; |
| 2728 |
unsigned int (*input_filter)(int arg , char *var , char **val , |
|
2728 |
unsigned int (*input_filter)(int arg , char *var , char **val , |
| 2729 |
unsigned int val_len , |
|
2729 |
unsigned int val_len , |
| 2730 |
unsigned int *new_val_len ) ; |
|
2730 |
unsigned int *new_val_len ) ; |
| 2731 |
void (*ini_defaults)(HashTable *configuration_hash ) ; |
|
2731 |
void (*ini_defaults)(HashTable *configuration_hash ) ; |
| 2732 |
int phpinfo_as_text ; |
|
2732 |
int phpinfo_as_text ; |
| 2733 |
char *ini_entries ; |
|
2733 |
char *ini_entries ; |
| 2734 |
zend_function_entry const *additional_functions ; |
|
2734 |
zend_function_entry const *additional_functions ; |
| 2735 |
unsigned int (*input_filter_init)(void) ; |
|
2735 |
unsigned int (*input_filter_init)(void) ; |
| 2736 |
}; |
|
2736 |
}; |
| 2737 |
struct _sapi_post_entry { |
|
2737 |
struct _sapi_post_entry { |
| 2738 |
char *content_type ; |
|
2738 |
char *content_type ; |
| 2739 |
uint content_type_len ; |
|
2739 |
uint content_type_len ; |
| 2740 |
void (*post_reader)(void) ; |
|
2740 |
void (*post_reader)(void) ; |
| 2741 |
void (*post_handler)(char *content_type_dup , void *arg ) ; |
|
2741 |
void (*post_handler)(char *content_type_dup , void *arg ) ; |
| 2742 |
}; |
|
2742 |
}; |
| 2743 |
enum __anonenum_82 { |
|
2743 |
enum __anonenum_82 { |
| 2744 |
__LC_CTYPE = 0, |
|
2744 |
__LC_CTYPE = 0, |
| 2745 |
__LC_NUMERIC = 1, |
|
2745 |
__LC_NUMERIC = 1, |
| 2746 |
__LC_TIME = 2, |
|
2746 |
__LC_TIME = 2, |
| 2747 |
__LC_COLLATE = 3, |
|
2747 |
__LC_COLLATE = 3, |
| 2748 |
__LC_MONETARY = 4, |
|
2748 |
__LC_MONETARY = 4, |
| 2749 |
__LC_MESSAGES = 5, |
|
2749 |
__LC_MESSAGES = 5, |
| 2750 |
__LC_ALL = 6, |
|
2750 |
__LC_ALL = 6, |
| 2751 |
__LC_PAPER = 7, |
|
2751 |
__LC_PAPER = 7, |
| 2752 |
__LC_NAME = 8, |
|
2752 |
__LC_NAME = 8, |
| 2753 |
__LC_ADDRESS = 9, |
|
2753 |
__LC_ADDRESS = 9, |
| 2754 |
__LC_TELEPHONE = 10, |
|
2754 |
__LC_TELEPHONE = 10, |
| 2755 |
__LC_MEASUREMENT = 11, |
|
2755 |
__LC_MEASUREMENT = 11, |
| 2756 |
__LC_IDENTIFICATION = 12 |
|
2756 |
__LC_IDENTIFICATION = 12 |
| 2757 |
} ; |
|
2757 |
} ; |
| 2758 |
struct lconv { |
|
2758 |
struct lconv { |
| 2759 |
char *decimal_point ; |
|
2759 |
char *decimal_point ; |
| 2760 |
char *thousands_sep ; |
|
2760 |
char *thousands_sep ; |
| 2761 |
char *grouping ; |
|
2761 |
char *grouping ; |
| 2762 |
char *int_curr_symbol ; |
|
2762 |
char *int_curr_symbol ; |
| 2763 |
char *currency_symbol ; |
|
2763 |
char *currency_symbol ; |
| 2764 |
char *mon_decimal_point ; |
|
2764 |
char *mon_decimal_point ; |
| 2765 |
char *mon_thousands_sep ; |
|
2765 |
char *mon_thousands_sep ; |
| 2766 |
char *mon_grouping ; |
|
2766 |
char *mon_grouping ; |
| 2767 |
char *positive_sign ; |
|
2767 |
char *positive_sign ; |
| 2768 |
char *negative_sign ; |
|
2768 |
char *negative_sign ; |
| 2769 |
char int_frac_digits ; |
|
2769 |
char int_frac_digits ; |
| 2770 |
char frac_digits ; |
|
2770 |
char frac_digits ; |
| 2771 |
char p_cs_precedes ; |
|
2771 |
char p_cs_precedes ; |
| 2772 |
char p_sep_by_space ; |
|
2772 |
char p_sep_by_space ; |
| 2773 |
char n_cs_precedes ; |
|
2773 |
char n_cs_precedes ; |
| 2774 |
char n_sep_by_space ; |
|
2774 |
char n_sep_by_space ; |
| 2775 |
char p_sign_posn ; |
|
2775 |
char p_sign_posn ; |
| 2776 |
char n_sign_posn ; |
|
2776 |
char n_sign_posn ; |
| 2777 |
char int_p_cs_precedes ; |
|
2777 |
char int_p_cs_precedes ; |
| 2778 |
char int_p_sep_by_space ; |
|
2778 |
char int_p_sep_by_space ; |
| 2779 |
char int_n_cs_precedes ; |
|
2779 |
char int_n_cs_precedes ; |
| 2780 |
char int_n_sep_by_space ; |
|
2780 |
char int_n_sep_by_space ; |
| 2781 |
char int_p_sign_posn ; |
|
2781 |
char int_p_sign_posn ; |
| 2782 |
char int_n_sign_posn ; |
|
2782 |
char int_n_sign_posn ; |
| 2783 |
}; |
|
2783 |
}; |
| 2784 |
typedef void *nl_catd; |
|
2784 |
typedef void *nl_catd; |
| 2785 |
typedef int nl_item; |
|
2785 |
typedef int nl_item; |
| 2786 |
enum __anonenum_83 { |
|
2786 |
enum __anonenum_83 { |
| 2787 |
ABDAY_1 = 131072, |
|
2787 |
ABDAY_1 = 131072, |
| 2788 |
ABDAY_2 = 131073, |
|
2788 |
ABDAY_2 = 131073, |
| 2789 |
ABDAY_3 = 131074, |
|
2789 |
ABDAY_3 = 131074, |
| 2790 |
ABDAY_4 = 131075, |
|
2790 |
ABDAY_4 = 131075, |
| 2791 |
ABDAY_5 = 131076, |
|
2791 |
ABDAY_5 = 131076, |
| 2792 |
ABDAY_6 = 131077, |
|
2792 |
ABDAY_6 = 131077, |
| 2793 |
ABDAY_7 = 131078, |
|
2793 |
ABDAY_7 = 131078, |
| 2794 |
DAY_1 = 131079, |
|
2794 |
DAY_1 = 131079, |
| 2795 |
DAY_2 = 131080, |
|
2795 |
DAY_2 = 131080, |
| 2796 |
DAY_3 = 131081, |
|
2796 |
DAY_3 = 131081, |
| 2797 |
DAY_4 = 131082, |
|
2797 |
DAY_4 = 131082, |
| 2798 |
DAY_5 = 131083, |
|
2798 |
DAY_5 = 131083, |
| 2799 |
DAY_6 = 131084, |
|
2799 |
DAY_6 = 131084, |
| 2800 |
DAY_7 = 131085, |
|
2800 |
DAY_7 = 131085, |
| 2801 |
ABMON_1 = 131086, |
|
2801 |
ABMON_1 = 131086, |
| 2802 |
ABMON_2 = 131087, |
|
2802 |
ABMON_2 = 131087, |
| 2803 |
ABMON_3 = 131088, |
|
2803 |
ABMON_3 = 131088, |
| 2804 |
ABMON_4 = 131089, |
|
2804 |
ABMON_4 = 131089, |
| 2805 |
ABMON_5 = 131090, |
|
2805 |
ABMON_5 = 131090, |
| 2806 |
ABMON_6 = 131091, |
|
2806 |
ABMON_6 = 131091, |
| 2807 |
ABMON_7 = 131092, |
|
2807 |
ABMON_7 = 131092, |
| 2808 |
ABMON_8 = 131093, |
|
2808 |
ABMON_8 = 131093, |
| 2809 |
ABMON_9 = 131094, |
|
2809 |
ABMON_9 = 131094, |
| 2810 |
ABMON_10 = 131095, |
|
2810 |
ABMON_10 = 131095, |
| 2811 |
ABMON_11 = 131096, |
|
2811 |
ABMON_11 = 131096, |
| 2812 |
ABMON_12 = 131097, |
|
2812 |
ABMON_12 = 131097, |
| 2813 |
MON_1 = 131098, |
|
2813 |
MON_1 = 131098, |
| 2814 |
MON_2 = 131099, |
|
2814 |
MON_2 = 131099, |
| 2815 |
MON_3 = 131100, |
|
2815 |
MON_3 = 131100, |
| 2816 |
MON_4 = 131101, |
|
2816 |
MON_4 = 131101, |
| 2817 |
MON_5 = 131102, |
|
2817 |
MON_5 = 131102, |
| 2818 |
MON_6 = 131103, |
|
2818 |
MON_6 = 131103, |
| 2819 |
MON_7 = 131104, |
|
2819 |
MON_7 = 131104, |
| 2820 |
MON_8 = 131105, |
|
2820 |
MON_8 = 131105, |
| 2821 |
MON_9 = 131106, |
|
2821 |
MON_9 = 131106, |
| 2822 |
MON_10 = 131107, |
|
2822 |
MON_10 = 131107, |
| 2823 |
MON_11 = 131108, |
|
2823 |
MON_11 = 131108, |
| 2824 |
MON_12 = 131109, |
|
2824 |
MON_12 = 131109, |
| 2825 |
AM_STR = 131110, |
|
2825 |
AM_STR = 131110, |
| 2826 |
PM_STR = 131111, |
|
2826 |
PM_STR = 131111, |
| 2827 |
D_T_FMT = 131112, |
|
2827 |
D_T_FMT = 131112, |
| 2828 |
D_FMT = 131113, |
|
2828 |
D_FMT = 131113, |
| 2829 |
T_FMT = 131114, |
|
2829 |
T_FMT = 131114, |
| 2830 |
T_FMT_AMPM = 131115, |
|
2830 |
T_FMT_AMPM = 131115, |
| 2831 |
ERA = 131116, |
|
2831 |
ERA = 131116, |
| 2832 |
__ERA_YEAR = 131117, |
|
2832 |
__ERA_YEAR = 131117, |
| 2833 |
ERA_D_FMT = 131118, |
|
2833 |
ERA_D_FMT = 131118, |
| 2834 |
ALT_DIGITS = 131119, |
|
2834 |
ALT_DIGITS = 131119, |
| 2835 |
ERA_D_T_FMT = 131120, |
|
2835 |
ERA_D_T_FMT = 131120, |
| 2836 |
ERA_T_FMT = 131121, |
|
2836 |
ERA_T_FMT = 131121, |
| 2837 |
_NL_TIME_ERA_NUM_ENTRIES = 131122, |
|
2837 |
_NL_TIME_ERA_NUM_ENTRIES = 131122, |
| 2838 |
_NL_TIME_ERA_ENTRIES = 131123, |
|
2838 |
_NL_TIME_ERA_ENTRIES = 131123, |
| 2839 |
_NL_WABDAY_1 = 131124, |
|
2839 |
_NL_WABDAY_1 = 131124, |
| 2840 |
_NL_WABDAY_2 = 131125, |
|
2840 |
_NL_WABDAY_2 = 131125, |
| 2841 |
_NL_WABDAY_3 = 131126, |
|
2841 |
_NL_WABDAY_3 = 131126, |
| 2842 |
_NL_WABDAY_4 = 131127, |
|
2842 |
_NL_WABDAY_4 = 131127, |
| 2843 |
_NL_WABDAY_5 = 131128, |
|
2843 |
_NL_WABDAY_5 = 131128, |
| 2844 |
_NL_WABDAY_6 = 131129, |
|
2844 |
_NL_WABDAY_6 = 131129, |
| 2845 |
_NL_WABDAY_7 = 131130, |
|
2845 |
_NL_WABDAY_7 = 131130, |
| 2846 |
_NL_WDAY_1 = 131131, |
|
2846 |
_NL_WDAY_1 = 131131, |
| 2847 |
_NL_WDAY_2 = 131132, |
|
2847 |
_NL_WDAY_2 = 131132, |
| 2848 |
_NL_WDAY_3 = 131133, |
|
2848 |
_NL_WDAY_3 = 131133, |
| 2849 |
_NL_WDAY_4 = 131134, |
|
2849 |
_NL_WDAY_4 = 131134, |
| 2850 |
_NL_WDAY_5 = 131135, |
|
2850 |
_NL_WDAY_5 = 131135, |
| 2851 |
_NL_WDAY_6 = 131136, |
|
2851 |
_NL_WDAY_6 = 131136, |
| 2852 |
_NL_WDAY_7 = 131137, |
|
2852 |
_NL_WDAY_7 = 131137, |
| 2853 |
_NL_WABMON_1 = 131138, |
|
2853 |
_NL_WABMON_1 = 131138, |
| 2854 |
_NL_WABMON_2 = 131139, |
|
2854 |
_NL_WABMON_2 = 131139, |
| 2855 |
_NL_WABMON_3 = 131140, |
|
2855 |
_NL_WABMON_3 = 131140, |
| 2856 |
_NL_WABMON_4 = 131141, |
|
2856 |
_NL_WABMON_4 = 131141, |
| 2857 |
_NL_WABMON_5 = 131142, |
|
2857 |
_NL_WABMON_5 = 131142, |
| 2858 |
_NL_WABMON_6 = 131143, |
|
2858 |
_NL_WABMON_6 = 131143, |
| 2859 |
_NL_WABMON_7 = 131144, |
|
2859 |
_NL_WABMON_7 = 131144, |
| 2860 |
_NL_WABMON_8 = 131145, |
|
2860 |
_NL_WABMON_8 = 131145, |
| 2861 |
_NL_WABMON_9 = 131146, |
|
2861 |
_NL_WABMON_9 = 131146, |
| 2862 |
_NL_WABMON_10 = 131147, |
|
2862 |
_NL_WABMON_10 = 131147, |
| 2863 |
_NL_WABMON_11 = 131148, |
|
2863 |
_NL_WABMON_11 = 131148, |
| 2864 |
_NL_WABMON_12 = 131149, |
|
2864 |
_NL_WABMON_12 = 131149, |
| 2865 |
_NL_WMON_1 = 131150, |
|
2865 |
_NL_WMON_1 = 131150, |
| 2866 |
_NL_WMON_2 = 131151, |
|
2866 |
_NL_WMON_2 = 131151, |
| 2867 |
_NL_WMON_3 = 131152, |
|
2867 |
_NL_WMON_3 = 131152, |
| 2868 |
_NL_WMON_4 = 131153, |
|
2868 |
_NL_WMON_4 = 131153, |
| 2869 |
_NL_WMON_5 = 131154, |
|
2869 |
_NL_WMON_5 = 131154, |
| 2870 |
_NL_WMON_6 = 131155, |
|
2870 |
_NL_WMON_6 = 131155, |
| 2871 |
_NL_WMON_7 = 131156, |
|
2871 |
_NL_WMON_7 = 131156, |
| 2872 |
_NL_WMON_8 = 131157, |
|
2872 |
_NL_WMON_8 = 131157, |
| 2873 |
_NL_WMON_9 = 131158, |
|
2873 |
_NL_WMON_9 = 131158, |
| 2874 |
_NL_WMON_10 = 131159, |
|
2874 |
_NL_WMON_10 = 131159, |
| 2875 |
_NL_WMON_11 = 131160, |
|
2875 |
_NL_WMON_11 = 131160, |
| 2876 |
_NL_WMON_12 = 131161, |
|
2876 |
_NL_WMON_12 = 131161, |
| 2877 |
_NL_WAM_STR = 131162, |
|
2877 |
_NL_WAM_STR = 131162, |
| 2878 |
_NL_WPM_STR = 131163, |
|
2878 |
_NL_WPM_STR = 131163, |
| 2879 |
_NL_WD_T_FMT = 131164, |
|
2879 |
_NL_WD_T_FMT = 131164, |
| 2880 |
_NL_WD_FMT = 131165, |
|
2880 |
_NL_WD_FMT = 131165, |
| 2881 |
_NL_WT_FMT = 131166, |
|
2881 |
_NL_WT_FMT = 131166, |
| 2882 |
_NL_WT_FMT_AMPM = 131167, |
|
2882 |
_NL_WT_FMT_AMPM = 131167, |
| 2883 |
_NL_WERA_YEAR = 131168, |
|
2883 |
_NL_WERA_YEAR = 131168, |
| 2884 |
_NL_WERA_D_FMT = 131169, |
|
2884 |
_NL_WERA_D_FMT = 131169, |
| 2885 |
_NL_WALT_DIGITS = 131170, |
|
2885 |
_NL_WALT_DIGITS = 131170, |
| 2886 |
_NL_WERA_D_T_FMT = 131171, |
|
2886 |
_NL_WERA_D_T_FMT = 131171, |
| 2887 |
_NL_WERA_T_FMT = 131172, |
|
2887 |
_NL_WERA_T_FMT = 131172, |
| 2888 |
_NL_TIME_WEEK_NDAYS = 131173, |
|
2888 |
_NL_TIME_WEEK_NDAYS = 131173, |
| 2889 |
_NL_TIME_WEEK_1STDAY = 131174, |
|
2889 |
_NL_TIME_WEEK_1STDAY = 131174, |
| 2890 |
_NL_TIME_WEEK_1STWEEK = 131175, |
|
2890 |
_NL_TIME_WEEK_1STWEEK = 131175, |
| 2891 |
_NL_TIME_FIRST_WEEKDAY = 131176, |
|
2891 |
_NL_TIME_FIRST_WEEKDAY = 131176, |
| 2892 |
_NL_TIME_FIRST_WORKDAY = 131177, |
|
2892 |
_NL_TIME_FIRST_WORKDAY = 131177, |
| 2893 |
_NL_TIME_CAL_DIRECTION = 131178, |
|
2893 |
_NL_TIME_CAL_DIRECTION = 131178, |
| 2894 |
_NL_TIME_TIMEZONE = 131179, |
|
2894 |
_NL_TIME_TIMEZONE = 131179, |
| 2895 |
_DATE_FMT = 131180, |
|
2895 |
_DATE_FMT = 131180, |
| 2896 |
_NL_W_DATE_FMT = 131181, |
|
2896 |
_NL_W_DATE_FMT = 131181, |
| 2897 |
_NL_TIME_CODESET = 131182, |
|
2897 |
_NL_TIME_CODESET = 131182, |
| 2898 |
_NL_NUM_LC_TIME = 131183, |
|
2898 |
_NL_NUM_LC_TIME = 131183, |
| 2899 |
_NL_COLLATE_NRULES = 196608, |
|
2899 |
_NL_COLLATE_NRULES = 196608, |
| 2900 |
_NL_COLLATE_RULESETS = 196609, |
|
2900 |
_NL_COLLATE_RULESETS = 196609, |
| 2901 |
_NL_COLLATE_TABLEMB = 196610, |
|
2901 |
_NL_COLLATE_TABLEMB = 196610, |
| 2902 |
_NL_COLLATE_WEIGHTMB = 196611, |
|
2902 |
_NL_COLLATE_WEIGHTMB = 196611, |
| 2903 |
_NL_COLLATE_EXTRAMB = 196612, |
|
2903 |
_NL_COLLATE_EXTRAMB = 196612, |
| 2904 |
_NL_COLLATE_INDIRECTMB = 196613, |
|
2904 |
_NL_COLLATE_INDIRECTMB = 196613, |
| 2905 |
_NL_COLLATE_GAP1 = 196614, |
|
2905 |
_NL_COLLATE_GAP1 = 196614, |
| 2906 |
_NL_COLLATE_GAP2 = 196615, |
|
2906 |
_NL_COLLATE_GAP2 = 196615, |
| 2907 |
_NL_COLLATE_GAP3 = 196616, |
|
2907 |
_NL_COLLATE_GAP3 = 196616, |
| 2908 |
_NL_COLLATE_TABLEWC = 196617, |
|
2908 |
_NL_COLLATE_TABLEWC = 196617, |
| 2909 |
_NL_COLLATE_WEIGHTWC = 196618, |
|
2909 |
_NL_COLLATE_WEIGHTWC = 196618, |
| 2910 |
_NL_COLLATE_EXTRAWC = 196619, |
|
2910 |
_NL_COLLATE_EXTRAWC = 196619, |
| 2911 |
_NL_COLLATE_INDIRECTWC = 196620, |
|
2911 |
_NL_COLLATE_INDIRECTWC = 196620, |
| 2912 |
_NL_COLLATE_SYMB_HASH_SIZEMB = 196621, |
|
2912 |
_NL_COLLATE_SYMB_HASH_SIZEMB = 196621, |
| 2913 |
_NL_COLLATE_SYMB_TABLEMB = 196622, |
|
2913 |
_NL_COLLATE_SYMB_TABLEMB = 196622, |
| 2914 |
_NL_COLLATE_SYMB_EXTRAMB = 196623, |
|
2914 |
_NL_COLLATE_SYMB_EXTRAMB = 196623, |
| 2915 |
_NL_COLLATE_COLLSEQMB = 196624, |
|
2915 |
_NL_COLLATE_COLLSEQMB = 196624, |
| 2916 |
_NL_COLLATE_COLLSEQWC = 196625, |
|
2916 |
_NL_COLLATE_COLLSEQWC = 196625, |
| 2917 |
_NL_COLLATE_CODESET = 196626, |
|
2917 |
_NL_COLLATE_CODESET = 196626, |
| 2918 |
_NL_NUM_LC_COLLATE = 196627, |
|
2918 |
_NL_NUM_LC_COLLATE = 196627, |
| 2919 |
_NL_CTYPE_CLASS = 0, |
|
2919 |
_NL_CTYPE_CLASS = 0, |
| 2920 |
_NL_CTYPE_TOUPPER = 1, |
|
2920 |
_NL_CTYPE_TOUPPER = 1, |
| 2921 |
_NL_CTYPE_GAP1 = 2, |
|
2921 |
_NL_CTYPE_GAP1 = 2, |
| 2922 |
_NL_CTYPE_TOLOWER = 3, |
|
2922 |
_NL_CTYPE_TOLOWER = 3, |
| 2923 |
_NL_CTYPE_GAP2 = 4, |
|
2923 |
_NL_CTYPE_GAP2 = 4, |
| 2924 |
_NL_CTYPE_CLASS32 = 5, |
|
2924 |
_NL_CTYPE_CLASS32 = 5, |
| 2925 |
_NL_CTYPE_GAP3 = 6, |
|
2925 |
_NL_CTYPE_GAP3 = 6, |
| 2926 |
_NL_CTYPE_GAP4 = 7, |
|
2926 |
_NL_CTYPE_GAP4 = 7, |
| 2927 |
_NL_CTYPE_GAP5 = 8, |
|
2927 |
_NL_CTYPE_GAP5 = 8, |
| 2928 |
_NL_CTYPE_GAP6 = 9, |
|
2928 |
_NL_CTYPE_GAP6 = 9, |
| 2929 |
_NL_CTYPE_CLASS_NAMES = 10, |
|
2929 |
_NL_CTYPE_CLASS_NAMES = 10, |
| 2930 |
_NL_CTYPE_MAP_NAMES = 11, |
|
2930 |
_NL_CTYPE_MAP_NAMES = 11, |
| 2931 |
_NL_CTYPE_WIDTH = 12, |
|
2931 |
_NL_CTYPE_WIDTH = 12, |
| 2932 |
_NL_CTYPE_MB_CUR_MAX = 13, |
|
2932 |
_NL_CTYPE_MB_CUR_MAX = 13, |
| 2933 |
_NL_CTYPE_CODESET_NAME = 14, |
|
2933 |
_NL_CTYPE_CODESET_NAME = 14, |
| 2934 |
CODESET = 14, |
|
2934 |
CODESET = 14, |
| 2935 |
_NL_CTYPE_TOUPPER32 = 15, |
|
2935 |
_NL_CTYPE_TOUPPER32 = 15, |
| 2936 |
_NL_CTYPE_TOLOWER32 = 16, |
|
2936 |
_NL_CTYPE_TOLOWER32 = 16, |
| 2937 |
_NL_CTYPE_CLASS_OFFSET = 17, |
|
2937 |
_NL_CTYPE_CLASS_OFFSET = 17, |
| 2938 |
_NL_CTYPE_MAP_OFFSET = 18, |
|
2938 |
_NL_CTYPE_MAP_OFFSET = 18, |
| 2939 |
_NL_CTYPE_INDIGITS_MB_LEN = 19, |
|
2939 |
_NL_CTYPE_INDIGITS_MB_LEN = 19, |
| 2940 |
_NL_CTYPE_INDIGITS0_MB = 20, |
|
2940 |
_NL_CTYPE_INDIGITS0_MB = 20, |
| 2941 |
_NL_CTYPE_INDIGITS1_MB = 21, |
|
2941 |
_NL_CTYPE_INDIGITS1_MB = 21, |
| 2942 |
_NL_CTYPE_INDIGITS2_MB = 22, |
|
2942 |
_NL_CTYPE_INDIGITS2_MB = 22, |
| 2943 |
_NL_CTYPE_INDIGITS3_MB = 23, |
|
2943 |
_NL_CTYPE_INDIGITS3_MB = 23, |
| 2944 |
_NL_CTYPE_INDIGITS4_MB = 24, |
|
2944 |
_NL_CTYPE_INDIGITS4_MB = 24, |
| 2945 |
_NL_CTYPE_INDIGITS5_MB = 25, |
|
2945 |
_NL_CTYPE_INDIGITS5_MB = 25, |
| 2946 |
_NL_CTYPE_INDIGITS6_MB = 26, |
|
2946 |
_NL_CTYPE_INDIGITS6_MB = 26, |
| 2947 |
_NL_CTYPE_INDIGITS7_MB = 27, |
|
2947 |
_NL_CTYPE_INDIGITS7_MB = 27, |
| 2948 |
_NL_CTYPE_INDIGITS8_MB = 28, |
|
2948 |
_NL_CTYPE_INDIGITS8_MB = 28, |
| 2949 |
_NL_CTYPE_INDIGITS9_MB = 29, |
|
2949 |
_NL_CTYPE_INDIGITS9_MB = 29, |
| 2950 |
_NL_CTYPE_INDIGITS_WC_LEN = 30, |
|
2950 |
_NL_CTYPE_INDIGITS_WC_LEN = 30, |
| 2951 |
_NL_CTYPE_INDIGITS0_WC = 31, |
|
2951 |
_NL_CTYPE_INDIGITS0_WC = 31, |
| 2952 |
_NL_CTYPE_INDIGITS1_WC = 32, |
|
2952 |
_NL_CTYPE_INDIGITS1_WC = 32, |
| 2953 |
_NL_CTYPE_INDIGITS2_WC = 33, |
|
2953 |
_NL_CTYPE_INDIGITS2_WC = 33, |
| 2954 |
_NL_CTYPE_INDIGITS3_WC = 34, |
|
2954 |
_NL_CTYPE_INDIGITS3_WC = 34, |
| 2955 |
_NL_CTYPE_INDIGITS4_WC = 35, |
|
2955 |
_NL_CTYPE_INDIGITS4_WC = 35, |
| 2956 |
_NL_CTYPE_INDIGITS5_WC = 36, |
|
2956 |
_NL_CTYPE_INDIGITS5_WC = 36, |
| 2957 |
_NL_CTYPE_INDIGITS6_WC = 37, |
|
2957 |
_NL_CTYPE_INDIGITS6_WC = 37, |
| 2958 |
_NL_CTYPE_INDIGITS7_WC = 38, |
|
2958 |
_NL_CTYPE_INDIGITS7_WC = 38, |
| 2959 |
_NL_CTYPE_INDIGITS8_WC = 39, |
|
2959 |
_NL_CTYPE_INDIGITS8_WC = 39, |
| 2960 |
_NL_CTYPE_INDIGITS9_WC = 40, |
|
2960 |
_NL_CTYPE_INDIGITS9_WC = 40, |
| 2961 |
_NL_CTYPE_OUTDIGIT0_MB = 41, |
|
2961 |
_NL_CTYPE_OUTDIGIT0_MB = 41, |
| 2962 |
_NL_CTYPE_OUTDIGIT1_MB = 42, |
|
2962 |
_NL_CTYPE_OUTDIGIT1_MB = 42, |
| 2963 |
_NL_CTYPE_OUTDIGIT2_MB = 43, |
|
2963 |
_NL_CTYPE_OUTDIGIT2_MB = 43, |
| 2964 |
_NL_CTYPE_OUTDIGIT3_MB = 44, |
|
2964 |
_NL_CTYPE_OUTDIGIT3_MB = 44, |
| 2965 |
_NL_CTYPE_OUTDIGIT4_MB = 45, |
|
2965 |
_NL_CTYPE_OUTDIGIT4_MB = 45, |
| 2966 |
_NL_CTYPE_OUTDIGIT5_MB = 46, |
|
2966 |
_NL_CTYPE_OUTDIGIT5_MB = 46, |
| 2967 |
_NL_CTYPE_OUTDIGIT6_MB = 47, |
|
2967 |
_NL_CTYPE_OUTDIGIT6_MB = 47, |
| 2968 |
_NL_CTYPE_OUTDIGIT7_MB = 48, |
|
2968 |
_NL_CTYPE_OUTDIGIT7_MB = 48, |
| 2969 |
_NL_CTYPE_OUTDIGIT8_MB = 49, |
|
2969 |
_NL_CTYPE_OUTDIGIT8_MB = 49, |
| 2970 |
_NL_CTYPE_OUTDIGIT9_MB = 50, |
|
2970 |
_NL_CTYPE_OUTDIGIT9_MB = 50, |
| 2971 |
_NL_CTYPE_OUTDIGIT0_WC = 51, |
|
2971 |
_NL_CTYPE_OUTDIGIT0_WC = 51, |
| 2972 |
_NL_CTYPE_OUTDIGIT1_WC = 52, |
|
2972 |
_NL_CTYPE_OUTDIGIT1_WC = 52, |
| 2973 |
_NL_CTYPE_OUTDIGIT2_WC = 53, |
|
2973 |
_NL_CTYPE_OUTDIGIT2_WC = 53, |
| 2974 |
_NL_CTYPE_OUTDIGIT3_WC = 54, |
|
2974 |
_NL_CTYPE_OUTDIGIT3_WC = 54, |
| 2975 |
_NL_CTYPE_OUTDIGIT4_WC = 55, |
|
2975 |
_NL_CTYPE_OUTDIGIT4_WC = 55, |
| 2976 |
_NL_CTYPE_OUTDIGIT5_WC = 56, |
|
2976 |
_NL_CTYPE_OUTDIGIT5_WC = 56, |
| 2977 |
_NL_CTYPE_OUTDIGIT6_WC = 57, |
|
2977 |
_NL_CTYPE_OUTDIGIT6_WC = 57, |
| 2978 |
_NL_CTYPE_OUTDIGIT7_WC = 58, |
|
2978 |
_NL_CTYPE_OUTDIGIT7_WC = 58, |
| 2979 |
_NL_CTYPE_OUTDIGIT8_WC = 59, |
|
2979 |
_NL_CTYPE_OUTDIGIT8_WC = 59, |
| 2980 |
_NL_CTYPE_OUTDIGIT9_WC = 60, |
|
2980 |
_NL_CTYPE_OUTDIGIT9_WC = 60, |
| 2981 |
_NL_CTYPE_TRANSLIT_TAB_SIZE = 61, |
|
2981 |
_NL_CTYPE_TRANSLIT_TAB_SIZE = 61, |
| 2982 |
_NL_CTYPE_TRANSLIT_FROM_IDX = 62, |
|
2982 |
_NL_CTYPE_TRANSLIT_FROM_IDX = 62, |
| 2983 |
_NL_CTYPE_TRANSLIT_FROM_TBL = 63, |
|
2983 |
_NL_CTYPE_TRANSLIT_FROM_TBL = 63, |
| 2984 |
_NL_CTYPE_TRANSLIT_TO_IDX = 64, |
|
2984 |
_NL_CTYPE_TRANSLIT_TO_IDX = 64, |
| 2985 |
_NL_CTYPE_TRANSLIT_TO_TBL = 65, |
|
2985 |
_NL_CTYPE_TRANSLIT_TO_TBL = 65, |
| 2986 |
_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = 66, |
|
2986 |
_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = 66, |
| 2987 |
_NL_CTYPE_TRANSLIT_DEFAULT_MISSING = 67, |
|
2987 |
_NL_CTYPE_TRANSLIT_DEFAULT_MISSING = 67, |
| 2988 |
_NL_CTYPE_TRANSLIT_IGNORE_LEN = 68, |
|
2988 |
_NL_CTYPE_TRANSLIT_IGNORE_LEN = 68, |
| 2989 |
_NL_CTYPE_TRANSLIT_IGNORE = 69, |
|
2989 |
_NL_CTYPE_TRANSLIT_IGNORE = 69, |
| 2990 |
_NL_CTYPE_MAP_TO_NONASCII = 70, |
|
2990 |
_NL_CTYPE_MAP_TO_NONASCII = 70, |
| 2991 |
_NL_CTYPE_NONASCII_CASE = 71, |
|
2991 |
_NL_CTYPE_NONASCII_CASE = 71, |
| 2992 |
_NL_CTYPE_EXTRA_MAP_1 = 72, |
|
2992 |
_NL_CTYPE_EXTRA_MAP_1 = 72, |
| 2993 |
_NL_CTYPE_EXTRA_MAP_2 = 73, |
|
2993 |
_NL_CTYPE_EXTRA_MAP_2 = 73, |
| 2994 |
_NL_CTYPE_EXTRA_MAP_3 = 74, |
|
2994 |
_NL_CTYPE_EXTRA_MAP_3 = 74, |
| 2995 |
_NL_CTYPE_EXTRA_MAP_4 = 75, |
|
2995 |
_NL_CTYPE_EXTRA_MAP_4 = 75, |
| 2996 |
_NL_CTYPE_EXTRA_MAP_5 = 76, |
|
2996 |
_NL_CTYPE_EXTRA_MAP_5 = 76, |
| 2997 |
_NL_CTYPE_EXTRA_MAP_6 = 77, |
|
2997 |
_NL_CTYPE_EXTRA_MAP_6 = 77, |
| 2998 |
_NL_CTYPE_EXTRA_MAP_7 = 78, |
|
2998 |
_NL_CTYPE_EXTRA_MAP_7 = 78, |
| 2999 |
_NL_CTYPE_EXTRA_MAP_8 = 79, |
|
2999 |
_NL_CTYPE_EXTRA_MAP_8 = 79, |
| 3000 |
_NL_CTYPE_EXTRA_MAP_9 = 80, |
|
3000 |
_NL_CTYPE_EXTRA_MAP_9 = 80, |
| 3001 |
_NL_CTYPE_EXTRA_MAP_10 = 81, |
|
3001 |
_NL_CTYPE_EXTRA_MAP_10 = 81, |
| 3002 |
_NL_CTYPE_EXTRA_MAP_11 = 82, |
|
3002 |
_NL_CTYPE_EXTRA_MAP_11 = 82, |
| 3003 |
_NL_CTYPE_EXTRA_MAP_12 = 83, |
|
3003 |
_NL_CTYPE_EXTRA_MAP_12 = 83, |
| 3004 |
_NL_CTYPE_EXTRA_MAP_13 = 84, |
|
3004 |
_NL_CTYPE_EXTRA_MAP_13 = 84, |
| 3005 |
_NL_CTYPE_EXTRA_MAP_14 = 85, |
|
3005 |
_NL_CTYPE_EXTRA_MAP_14 = 85, |
| 3006 |
_NL_NUM_LC_CTYPE = 86, |
|
3006 |
_NL_NUM_LC_CTYPE = 86, |
| 3007 |
__INT_CURR_SYMBOL = 262144, |
|
3007 |
__INT_CURR_SYMBOL = 262144, |
| 3008 |
__CURRENCY_SYMBOL = 262145, |
|
3008 |
__CURRENCY_SYMBOL = 262145, |
| 3009 |
__MON_DECIMAL_POINT = 262146, |
|
3009 |
__MON_DECIMAL_POINT = 262146, |
| 3010 |
__MON_THOUSANDS_SEP = 262147, |
|
3010 |
__MON_THOUSANDS_SEP = 262147, |
| 3011 |
__MON_GROUPING = 262148, |
|
3011 |
__MON_GROUPING = 262148, |
| 3012 |
__POSITIVE_SIGN = 262149, |
|
3012 |
__POSITIVE_SIGN = 262149, |
| 3013 |
__NEGATIVE_SIGN = 262150, |
|
3013 |
__NEGATIVE_SIGN = 262150, |
| 3014 |
__INT_FRAC_DIGITS = 262151, |
|
3014 |
__INT_FRAC_DIGITS = 262151, |
| 3015 |
__FRAC_DIGITS = 262152, |
|
3015 |
__FRAC_DIGITS = 262152, |
| 3016 |
__P_CS_PRECEDES = 262153, |
|
3016 |
__P_CS_PRECEDES = 262153, |
| 3017 |
__P_SEP_BY_SPACE = 262154, |
|
3017 |
__P_SEP_BY_SPACE = 262154, |
| 3018 |
__N_CS_PRECEDES = 262155, |
|
3018 |
__N_CS_PRECEDES = 262155, |
| 3019 |
__N_SEP_BY_SPACE = 262156, |
|
3019 |
__N_SEP_BY_SPACE = 262156, |
| 3020 |
__P_SIGN_POSN = 262157, |
|
3020 |
__P_SIGN_POSN = 262157, |
| 3021 |
__N_SIGN_POSN = 262158, |
|
3021 |
__N_SIGN_POSN = 262158, |
| 3022 |
_NL_MONETARY_CRNCYSTR = 262159, |
|
3022 |
_NL_MONETARY_CRNCYSTR = 262159, |
| 3023 |
__INT_P_CS_PRECEDES = 262160, |
|
3023 |
__INT_P_CS_PRECEDES = 262160, |
| 3024 |
__INT_P_SEP_BY_SPACE = 262161, |
|
3024 |
__INT_P_SEP_BY_SPACE = 262161, |
| 3025 |
__INT_N_CS_PRECEDES = 262162, |
|
3025 |
__INT_N_CS_PRECEDES = 262162, |
| 3026 |
__INT_N_SEP_BY_SPACE = 262163, |
|
3026 |
__INT_N_SEP_BY_SPACE = 262163, |
| 3027 |
__INT_P_SIGN_POSN = 262164, |
|
3027 |
__INT_P_SIGN_POSN = 262164, |
| 3028 |
__INT_N_SIGN_POSN = 262165, |
|
3028 |
__INT_N_SIGN_POSN = 262165, |
| 3029 |
_NL_MONETARY_DUO_INT_CURR_SYMBOL = 262166, |
|
3029 |
_NL_MONETARY_DUO_INT_CURR_SYMBOL = 262166, |
| 3030 |
_NL_MONETARY_DUO_CURRENCY_SYMBOL = 262167, |
|
3030 |
_NL_MONETARY_DUO_CURRENCY_SYMBOL = 262167, |
| 3031 |
_NL_MONETARY_DUO_INT_FRAC_DIGITS = 262168, |
|
3031 |
_NL_MONETARY_DUO_INT_FRAC_DIGITS = 262168, |
| 3032 |
_NL_MONETARY_DUO_FRAC_DIGITS = 262169, |
|
3032 |
_NL_MONETARY_DUO_FRAC_DIGITS = 262169, |
| 3033 |
_NL_MONETARY_DUO_P_CS_PRECEDES = 262170, |
|
3033 |
_NL_MONETARY_DUO_P_CS_PRECEDES = 262170, |
| 3034 |
_NL_MONETARY_DUO_P_SEP_BY_SPACE = 262171, |
|
3034 |
_NL_MONETARY_DUO_P_SEP_BY_SPACE = 262171, |
| 3035 |
_NL_MONETARY_DUO_N_CS_PRECEDES = 262172, |
|
3035 |
_NL_MONETARY_DUO_N_CS_PRECEDES = 262172, |
| 3036 |
_NL_MONETARY_DUO_N_SEP_BY_SPACE = 262173, |
|
3036 |
_NL_MONETARY_DUO_N_SEP_BY_SPACE = 262173, |
| 3037 |
_NL_MONETARY_DUO_INT_P_CS_PRECEDES = 262174, |
|
3037 |
_NL_MONETARY_DUO_INT_P_CS_PRECEDES = 262174, |
| 3038 |
_NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = 262175, |
|
3038 |
_NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = 262175, |
| 3039 |
_NL_MONETARY_DUO_INT_N_CS_PRECEDES = 262176, |
|
3039 |
_NL_MONETARY_DUO_INT_N_CS_PRECEDES = 262176, |
| 3040 |
_NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = 262177, |
|
3040 |
_NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = 262177, |
| 3041 |
_NL_MONETARY_DUO_P_SIGN_POSN = 262178, |
|
3041 |
_NL_MONETARY_DUO_P_SIGN_POSN = 262178, |
| 3042 |
_NL_MONETARY_DUO_N_SIGN_POSN = 262179, |
|
3042 |
_NL_MONETARY_DUO_N_SIGN_POSN = 262179, |
| 3043 |
_NL_MONETARY_DUO_INT_P_SIGN_POSN = 262180, |
|
3043 |
_NL_MONETARY_DUO_INT_P_SIGN_POSN = 262180, |
| 3044 |
_NL_MONETARY_DUO_INT_N_SIGN_POSN = 262181, |
|
3044 |
_NL_MONETARY_DUO_INT_N_SIGN_POSN = 262181, |
| 3045 |
_NL_MONETARY_UNO_VALID_FROM = 262182, |
|
3045 |
_NL_MONETARY_UNO_VALID_FROM = 262182, |
| 3046 |
_NL_MONETARY_UNO_VALID_TO = 262183, |
|
3046 |
_NL_MONETARY_UNO_VALID_TO = 262183, |
| 3047 |
_NL_MONETARY_DUO_VALID_FROM = 262184, |
|
3047 |
_NL_MONETARY_DUO_VALID_FROM = 262184, |
| 3048 |
_NL_MONETARY_DUO_VALID_TO = 262185, |
|
3048 |
_NL_MONETARY_DUO_VALID_TO = 262185, |
| 3049 |
_NL_MONETARY_CONVERSION_RATE = 262186, |
|
3049 |
_NL_MONETARY_CONVERSION_RATE = 262186, |
| 3050 |
_NL_MONETARY_DECIMAL_POINT_WC = 262187, |
|
3050 |
_NL_MONETARY_DECIMAL_POINT_WC = 262187, |
| 3051 |
_NL_MONETARY_THOUSANDS_SEP_WC = 262188, |
|
3051 |
_NL_MONETARY_THOUSANDS_SEP_WC = 262188, |
| 3052 |
_NL_MONETARY_CODESET = 262189, |
|
3052 |
_NL_MONETARY_CODESET = 262189, |
| 3053 |
_NL_NUM_LC_MONETARY = 262190, |
|
3053 |
_NL_NUM_LC_MONETARY = 262190, |
| 3054 |
__DECIMAL_POINT = 65536, |
|
3054 |
__DECIMAL_POINT = 65536, |
| 3055 |
RADIXCHAR = 65536, |
|
3055 |
RADIXCHAR = 65536, |
| 3056 |
__THOUSANDS_SEP = 65537, |
|
3056 |
__THOUSANDS_SEP = 65537, |
| 3057 |
THOUSEP = 65537, |
|
3057 |
THOUSEP = 65537, |
| 3058 |
__GROUPING = 65538, |
|
3058 |
__GROUPING = 65538, |
| 3059 |
_NL_NUMERIC_DECIMAL_POINT_WC = 65539, |
|
3059 |
_NL_NUMERIC_DECIMAL_POINT_WC = 65539, |
| 3060 |
_NL_NUMERIC_THOUSANDS_SEP_WC = 65540, |
|
3060 |
_NL_NUMERIC_THOUSANDS_SEP_WC = 65540, |
| 3061 |
_NL_NUMERIC_CODESET = 65541, |
|
3061 |
_NL_NUMERIC_CODESET = 65541, |
| 3062 |
_NL_NUM_LC_NUMERIC = 65542, |
|
3062 |
_NL_NUM_LC_NUMERIC = 65542, |
| 3063 |
__YESEXPR = 327680, |
|
3063 |
__YESEXPR = 327680, |
| 3064 |
__NOEXPR = 327681, |
|
3064 |
__NOEXPR = 327681, |
| 3065 |
__YESSTR = 327682, |
|
3065 |
__YESSTR = 327682, |
| 3066 |
__NOSTR = 327683, |
|
3066 |
__NOSTR = 327683, |
| 3067 |
_NL_MESSAGES_CODESET = 327684, |
|
3067 |
_NL_MESSAGES_CODESET = 327684, |
| 3068 |
_NL_NUM_LC_MESSAGES = 327685, |
|
3068 |
_NL_NUM_LC_MESSAGES = 327685, |
| 3069 |
_NL_PAPER_HEIGHT = 458752, |
|
3069 |
_NL_PAPER_HEIGHT = 458752, |
| 3070 |
_NL_PAPER_WIDTH = 458753, |
|
3070 |
_NL_PAPER_WIDTH = 458753, |
| 3071 |
_NL_PAPER_CODESET = 458754, |
|
3071 |
_NL_PAPER_CODESET = 458754, |
| 3072 |
_NL_NUM_LC_PAPER = 458755, |
|
3072 |
_NL_NUM_LC_PAPER = 458755, |
| 3073 |
_NL_NAME_NAME_FMT = 524288, |
|
3073 |
_NL_NAME_NAME_FMT = 524288, |
| 3074 |
_NL_NAME_NAME_GEN = 524289, |
|
3074 |
_NL_NAME_NAME_GEN = 524289, |
| 3075 |
_NL_NAME_NAME_MR = 524290, |
|
3075 |
_NL_NAME_NAME_MR = 524290, |
| 3076 |
_NL_NAME_NAME_MRS = 524291, |
|
3076 |
_NL_NAME_NAME_MRS = 524291, |
| 3077 |
_NL_NAME_NAME_MISS = 524292, |
|
3077 |
_NL_NAME_NAME_MISS = 524292, |
| 3078 |
_NL_NAME_NAME_MS = 524293, |
|
3078 |
_NL_NAME_NAME_MS = 524293, |
| 3079 |
_NL_NAME_CODESET = 524294, |
|
3079 |
_NL_NAME_CODESET = 524294, |
| 3080 |
_NL_NUM_LC_NAME = 524295, |
|
3080 |
_NL_NUM_LC_NAME = 524295, |
| 3081 |
_NL_ADDRESS_POSTAL_FMT = 589824, |
|
3081 |
_NL_ADDRESS_POSTAL_FMT = 589824, |
| 3082 |
_NL_ADDRESS_COUNTRY_NAME = 589825, |
|
3082 |
_NL_ADDRESS_COUNTRY_NAME = 589825, |
| 3083 |
_NL_ADDRESS_COUNTRY_POST = 589826, |
|
3083 |
_NL_ADDRESS_COUNTRY_POST = 589826, |
| 3084 |
_NL_ADDRESS_COUNTRY_AB2 = 589827, |
|
3084 |
_NL_ADDRESS_COUNTRY_AB2 = 589827, |
| 3085 |
_NL_ADDRESS_COUNTRY_AB3 = 589828, |
|
3085 |
_NL_ADDRESS_COUNTRY_AB3 = 589828, |
| 3086 |
_NL_ADDRESS_COUNTRY_CAR = 589829, |
|
3086 |
_NL_ADDRESS_COUNTRY_CAR = 589829, |
| 3087 |
_NL_ADDRESS_COUNTRY_NUM = 589830, |
|
3087 |
_NL_ADDRESS_COUNTRY_NUM = 589830, |
| 3088 |
_NL_ADDRESS_COUNTRY_ISBN = 589831, |
|
3088 |
_NL_ADDRESS_COUNTRY_ISBN = 589831, |
| 3089 |
_NL_ADDRESS_LANG_NAME = 589832, |
|
3089 |
_NL_ADDRESS_LANG_NAME = 589832, |
| 3090 |
_NL_ADDRESS_LANG_AB = 589833, |
|
3090 |
_NL_ADDRESS_LANG_AB = 589833, |
| 3091 |
_NL_ADDRESS_LANG_TERM = 589834, |
|
3091 |
_NL_ADDRESS_LANG_TERM = 589834, |
| 3092 |
_NL_ADDRESS_LANG_LIB = 589835, |
|
3092 |
_NL_ADDRESS_LANG_LIB = 589835, |
| 3093 |
_NL_ADDRESS_CODESET = 589836, |
|
3093 |
_NL_ADDRESS_CODESET = 589836, |
| 3094 |
_NL_NUM_LC_ADDRESS = 589837, |
|
3094 |
_NL_NUM_LC_ADDRESS = 589837, |
| 3095 |
_NL_TELEPHONE_TEL_INT_FMT = 655360, |
|
3095 |
_NL_TELEPHONE_TEL_INT_FMT = 655360, |
| 3096 |
_NL_TELEPHONE_TEL_DOM_FMT = 655361, |
|
3096 |
_NL_TELEPHONE_TEL_DOM_FMT = 655361, |
| 3097 |
_NL_TELEPHONE_INT_SELECT = 655362, |
|
3097 |
_NL_TELEPHONE_INT_SELECT = 655362, |
| 3098 |
_NL_TELEPHONE_INT_PREFIX = 655363, |
|
3098 |
_NL_TELEPHONE_INT_PREFIX = 655363, |
| 3099 |
_NL_TELEPHONE_CODESET = 655364, |
|
3099 |
_NL_TELEPHONE_CODESET = 655364, |
| 3100 |
_NL_NUM_LC_TELEPHONE = 655365, |
|
3100 |
_NL_NUM_LC_TELEPHONE = 655365, |
| 3101 |
_NL_MEASUREMENT_MEASUREMENT = 720896, |
|
3101 |
_NL_MEASUREMENT_MEASUREMENT = 720896, |
| 3102 |
_NL_MEASUREMENT_CODESET = 720897, |
|
3102 |
_NL_MEASUREMENT_CODESET = 720897, |
| 3103 |
_NL_NUM_LC_MEASUREMENT = 720898, |
|
3103 |
_NL_NUM_LC_MEASUREMENT = 720898, |
| 3104 |
_NL_IDENTIFICATION_TITLE = 786432, |
|
3104 |
_NL_IDENTIFICATION_TITLE = 786432, |
| 3105 |
_NL_IDENTIFICATION_SOURCE = 786433, |
|
3105 |
_NL_IDENTIFICATION_SOURCE = 786433, |
| 3106 |
_NL_IDENTIFICATION_ADDRESS = 786434, |
|
3106 |
_NL_IDENTIFICATION_ADDRESS = 786434, |
| 3107 |
_NL_IDENTIFICATION_CONTACT = 786435, |
|
3107 |
_NL_IDENTIFICATION_CONTACT = 786435, |
| 3108 |
_NL_IDENTIFICATION_EMAIL = 786436, |
|
3108 |
_NL_IDENTIFICATION_EMAIL = 786436, |
| 3109 |
_NL_IDENTIFICATION_TEL = 786437, |
|
3109 |
_NL_IDENTIFICATION_TEL = 786437, |
| 3110 |
_NL_IDENTIFICATION_FAX = 786438, |
|
3110 |
_NL_IDENTIFICATION_FAX = 786438, |
| 3111 |
_NL_IDENTIFICATION_LANGUAGE = 786439, |
|
3111 |
_NL_IDENTIFICATION_LANGUAGE = 786439, |
| 3112 |
_NL_IDENTIFICATION_TERRITORY = 786440, |
|
3112 |
_NL_IDENTIFICATION_TERRITORY = 786440, |
| 3113 |
_NL_IDENTIFICATION_AUDIENCE = 786441, |
|
3113 |
_NL_IDENTIFICATION_AUDIENCE = 786441, |
| 3114 |
_NL_IDENTIFICATION_APPLICATION = 786442, |
|
3114 |
_NL_IDENTIFICATION_APPLICATION = 786442, |
| 3115 |
_NL_IDENTIFICATION_ABBREVIATION = 786443, |
|
3115 |
_NL_IDENTIFICATION_ABBREVIATION = 786443, |
| 3116 |
_NL_IDENTIFICATION_REVISION = 786444, |
|
3116 |
_NL_IDENTIFICATION_REVISION = 786444, |
| 3117 |
_NL_IDENTIFICATION_DATE = 786445, |
|
3117 |
_NL_IDENTIFICATION_DATE = 786445, |
| 3118 |
_NL_IDENTIFICATION_CATEGORY = 786446, |
|
3118 |
_NL_IDENTIFICATION_CATEGORY = 786446, |
| 3119 |
_NL_IDENTIFICATION_CODESET = 786447, |
|
3119 |
_NL_IDENTIFICATION_CODESET = 786447, |
| 3120 |
_NL_NUM_LC_IDENTIFICATION = 786448, |
|
3120 |
_NL_NUM_LC_IDENTIFICATION = 786448, |
| 3121 |
_NL_NUM = 786449 |
|
3121 |
_NL_NUM = 786449 |
| 3122 |
} ; |
|
3122 |
} ; |
| 3123 |
enum _php_meta_tags_token { |
|
3123 |
enum _php_meta_tags_token { |
| 3124 |
TOK_EOF = 0, |
|
3124 |
TOK_EOF = 0, |
| 3125 |
TOK_OPENTAG = 1, |
|
3125 |
TOK_OPENTAG = 1, |
| 3126 |
TOK_CLOSETAG = 2, |
|
3126 |
TOK_CLOSETAG = 2, |
| 3127 |
TOK_SLASH = 3, |
|
3127 |
TOK_SLASH = 3, |
| 3128 |
TOK_EQUAL = 4, |
|
3128 |
TOK_EQUAL = 4, |
| 3129 |
TOK_SPACE = 5, |
|
3129 |
TOK_SPACE = 5, |
| 3130 |
TOK_ID = 6, |
|
3130 |
TOK_ID = 6, |
| 3131 |
TOK_STRING = 7, |
|
3131 |
TOK_STRING = 7, |
| 3132 |
TOK_OTHER = 8 |
|
3132 |
TOK_OTHER = 8 |
| 3133 |
} ; |
|
3133 |
} ; |
| 3134 |
typedef enum _php_meta_tags_token php_meta_tags_token; |
|
3134 |
typedef enum _php_meta_tags_token php_meta_tags_token; |
| 3135 |
struct _php_meta_tags_data { |
|
3135 |
struct _php_meta_tags_data { |
| 3136 |
php_stream *stream ; |
|
3136 |
php_stream *stream ; |
| 3137 |
int ulc ; |
|
3137 |
int ulc ; |
| 3138 |
int lc ; |
|
3138 |
int lc ; |
| 3139 |
char *input_buffer ; |
|
3139 |
char *input_buffer ; |
| 3140 |
char *token_data ; |
|
3140 |
char *token_data ; |
| 3141 |
int token_len ; |
|
3141 |
int token_len ; |
| 3142 |
int in_meta ; |
|
3142 |
int in_meta ; |
| 3143 |
}; |
|
3143 |
}; |
| 3144 |
typedef struct _php_meta_tags_data php_meta_tags_data; |
|
3144 |
typedef struct _php_meta_tags_data php_meta_tags_data; |
| 3145 |
struct __anonstruct_php_file_globals_84 { |
|
3145 |
struct __anonstruct_php_file_globals_84 { |
| 3146 |
int pclose_ret ; |
|
3146 |
int pclose_ret ; |
| 3147 |
size_t def_chunk_size ; |
|
3147 |
size_t def_chunk_size ; |
| 3148 |
long auto_detect_line_endings ; |
|
3148 |
long auto_detect_line_endings ; |
| 3149 |
long default_socket_timeout ; |
|
3149 |
long default_socket_timeout ; |
| 3150 |
char *user_agent ; |
|
3150 |
char *user_agent ; |
| 3151 |
char *from_address ; |
|
3151 |
char *from_address ; |
| 3152 |
char *user_stream_current_filename ; |
|
3152 |
char *user_stream_current_filename ; |
| 3153 |
php_stream_context *default_context ; |
|
3153 |
php_stream_context *default_context ; |
| 3154 |
HashTable *stream_wrappers ; |
|
3154 |
HashTable *stream_wrappers ; |
| 3155 |
HashTable *stream_filters ; |
|
3155 |
HashTable *stream_filters ; |
| 3156 |
}; |
|
3156 |
}; |
| 3157 |
typedef struct __anonstruct_php_file_globals_84 php_file_globals; |
|
3157 |
typedef struct __anonstruct_php_file_globals_84 php_file_globals; |
| 3158 |
extern struct _IO_FILE_plus _IO_2_1_stdin_ ; |
|
3158 |
extern struct _IO_FILE_plus _IO_2_1_stdin_ ; |
| 3159 |
extern struct _IO_FILE_plus _IO_2_1_stdout_ ; |
|
3159 |
extern struct _IO_FILE_plus _IO_2_1_stdout_ ; |
| 3160 |
extern struct _IO_FILE_plus _IO_2_1_stderr_ ; |
|
3160 |
extern struct _IO_FILE_plus _IO_2_1_stderr_ ; |
| 3161 |
extern int __underflow(_IO_FILE * ) ; |
|
3161 |
extern int __underflow(_IO_FILE * ) ; |
| 3162 |
extern int __uflow(_IO_FILE * ) ; |
|
3162 |
extern int __uflow(_IO_FILE * ) ; |
| 3163 |
extern int __overflow(_IO_FILE * , int ) ; |
|
3163 |
extern int __overflow(_IO_FILE * , int ) ; |
| 3164 |
extern int _IO_getc(_IO_FILE *__fp ) ; |
|
3164 |
extern int _IO_getc(_IO_FILE *__fp ) ; |
| 3165 |
extern int _IO_putc(int __c , _IO_FILE *__fp ) ; |
|
3165 |
extern int _IO_putc(int __c , _IO_FILE *__fp ) ; |
| 3166 |
extern __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ; |
|
3166 |
extern __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ; |
| 3167 |
extern __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ; |
|
3167 |
extern __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ; |
| 3168 |
extern int _IO_peekc_locked(_IO_FILE *__fp ) ; |
|
3168 |
extern int _IO_peekc_locked(_IO_FILE *__fp ) ; |
| 3169 |
extern __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ; |
|
3169 |
extern __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ; |
| 3170 |
extern __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ; |
|
3170 |
extern __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ; |
| 3171 |
extern __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ; |
|
3171 |
extern __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ; |
| 3172 |
extern int _IO_vfscanf(_IO_FILE * __restrict , char const * __restrict , |
|
3172 |
extern int _IO_vfscanf(_IO_FILE * __restrict , char const * __restrict , |
| 3173 |
__gnuc_va_list , int * __restrict ) ; |
|
3173 |
__gnuc_va_list , int * __restrict ) ; |
| 3174 |
extern int _IO_vfprintf(_IO_FILE * __restrict , char const * __restrict , |
|
3174 |
extern int _IO_vfprintf(_IO_FILE * __restrict , char const * __restrict , |
| 3175 |
__gnuc_va_list ) ; |
|
3175 |
__gnuc_va_list ) ; |
| 3176 |
extern __ssize_t _IO_padn(_IO_FILE * , int , __ssize_t ) ; |
|
3176 |
extern __ssize_t _IO_padn(_IO_FILE * , int , __ssize_t ) ; |
| 3177 |
extern size_t _IO_sgetn(_IO_FILE * , void * , size_t ) ; |
|
3177 |
extern size_t _IO_sgetn(_IO_FILE * , void * , size_t ) ; |
| 3178 |
extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t , int , int ) ; |
|
3178 |
extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t , int , int ) ; |
| 3179 |
extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t , int ) ; |
|
3179 |
extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t , int ) ; |
| 3180 |
extern __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ; |
|
3180 |
extern __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ; |
| 3181 |
extern struct _IO_FILE *stdin ; |
|
3181 |
extern struct _IO_FILE *stdin ; |
| 3182 |
extern struct _IO_FILE *stdout ; |
|
3182 |
extern struct _IO_FILE *stdout ; |
| 3183 |
extern struct _IO_FILE *stderr ; |
|
3183 |
extern struct _IO_FILE *stderr ; |
| 3184 |
extern __attribute__((__nothrow__)) int remove(char const *__filename ) ; |
|
3184 |
extern __attribute__((__nothrow__)) int remove(char const *__filename ) ; |
| 3185 |
extern __attribute__((__nothrow__)) int rename(char const *__old , |
|
3185 |
extern __attribute__((__nothrow__)) int rename(char const *__old , |
| 3186 |
char const *__new ) ; |
|
3186 |
char const *__new ) ; |
| 3187 |
extern __attribute__((__nothrow__)) int renameat(int __oldfd , |
|
3187 |
extern __attribute__((__nothrow__)) int renameat(int __oldfd , |
| 3188 |
char const *__old , |
|
3188 |
char const *__old , |
| 3189 |
int __newfd , |
|
3189 |
int __newfd , |
| 3190 |
char const *__new ) ; |
|
3190 |
char const *__new ) ; |
| 3191 |
extern FILE *tmpfile(void) ; |
|
3191 |
extern FILE *tmpfile(void) ; |
| 3192 |
extern __attribute__((__nothrow__)) char *tmpnam(char *__s ) ; |
|
3192 |
extern __attribute__((__nothrow__)) char *tmpnam(char *__s ) ; |
| 3193 |
extern __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ; |
|
3193 |
extern __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ; |
| 3194 |
extern __attribute__((__nothrow__)) char *tempnam(char const *__dir , |
|
3194 |
extern __attribute__((__nothrow__)) char *tempnam(char const *__dir , |
| 3195 |
char const *__pfx ) __attribute__((__malloc__)) ; |
|
3195 |
char const *__pfx ) __attribute__((__malloc__)) ; |
| 3196 |
extern int fclose(FILE *__stream ) ; |
|
3196 |
extern int fclose(FILE *__stream ) ; |
| 3197 |
extern int fflush(FILE *__stream ) ; |
|
3197 |
extern int fflush(FILE *__stream ) ; |
| 3198 |
extern int fflush_unlocked(FILE *__stream ) ; |
|
3198 |
extern int fflush_unlocked(FILE *__stream ) ; |
| 3199 |
extern FILE *fopen(char const * __restrict __filename , |
|
3199 |
extern FILE *fopen(char const * __restrict __filename , |
| 3200 |
char const * __restrict __modes ) ; |
|
3200 |
char const * __restrict __modes ) ; |
| 3201 |
extern FILE *freopen(char const * __restrict __filename , |
|
3201 |
extern FILE *freopen(char const * __restrict __filename , |
| 3202 |
char const * __restrict __modes , |
|
3202 |
char const * __restrict __modes , |
| 3203 |
FILE * __restrict __stream ) ; |
|
3203 |
FILE * __restrict __stream ) ; |
| 3204 |
extern __attribute__((__nothrow__)) FILE *fdopen(int __fd , |
|
3204 |
extern __attribute__((__nothrow__)) FILE *fdopen(int __fd , |
| 3205 |
char const *__modes ) ; |
|
3205 |
char const *__modes ) ; |
| 3206 |
extern __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len , |
|
3206 |
extern __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len , |
| 3207 |
char const *__modes ) ; |
|
3207 |
char const *__modes ) ; |
| 3208 |
extern __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc , |
|
3208 |
extern __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc , |
| 3209 |
size_t *__sizeloc ) ; |
|
3209 |
size_t *__sizeloc ) ; |
| 3210 |
extern __attribute__((__nothrow__)) void setbuf(FILE * __restrict __stream , |
|
3210 |
extern __attribute__((__nothrow__)) void setbuf(FILE * __restrict __stream , |
| 3211 |
char * __restrict __buf ) ; |
|
3211 |
char * __restrict __buf ) ; |
| 3212 |
extern __attribute__((__nothrow__)) int setvbuf(FILE * __restrict __stream , |
|
3212 |
extern __attribute__((__nothrow__)) int setvbuf(FILE * __restrict __stream , |
| 3213 |
char * __restrict __buf , |
|
3213 |
char * __restrict __buf , |
| 3214 |
int __modes , size_t __n ) ; |
|
3214 |
int __modes , size_t __n ) ; |
| 3215 |
extern __attribute__((__nothrow__)) void setbuffer(FILE * __restrict __stream , |
|
3215 |
extern __attribute__((__nothrow__)) void setbuffer(FILE * __restrict __stream , |
| 3216 |
char * __restrict __buf , |
|
3216 |
char * __restrict __buf , |
| 3217 |
size_t __size ) ; |
|
3217 |
size_t __size ) ; |
| 3218 |
extern __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ; |
|
3218 |
extern __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ; |
| 3219 |
extern int fprintf(FILE * __restrict __stream , |
|
3219 |
extern int fprintf(FILE * __restrict __stream , |
| 3220 |
char const * __restrict __format , ...) ; |
|
3220 |
char const * __restrict __format , ...) ; |
| 3221 |
extern int printf(char const * __restrict __format , ...) ; |
|
3221 |
extern int printf(char const * __restrict __format , ...) ; |
| 3222 |
extern __attribute__((__nothrow__)) int sprintf(char * __restrict __s , |
|
3222 |
extern __attribute__((__nothrow__)) int sprintf(char * __restrict __s , |
| 3223 |
char const * __restrict __format |
|
3223 |
char const * __restrict __format |
| 3224 |
, ...) ; |
|
3224 |
, ...) ; |
| 3225 |
extern int vfprintf(FILE * __restrict __s , |
|
3225 |
extern int vfprintf(FILE * __restrict __s , |
| 3226 |
char const * __restrict __format , __gnuc_va_list __arg ) ; |
|
3226 |
char const * __restrict __format , __gnuc_va_list __arg ) ; |
| 3227 |
__inline extern int vprintf(char const * __restrict __fmt , |
|
3227 |
__inline extern int vprintf(char const * __restrict __fmt , |
| 3228 |
__gnuc_va_list __arg ) ; |
|
3228 |
__gnuc_va_list __arg ) ; |
| 3229 |
extern __attribute__((__nothrow__)) int vsprintf(char * __restrict __s , |
|
3229 |
extern __attribute__((__nothrow__)) int vsprintf(char * __restrict __s , |
| 3230 |
char const * __restrict __format , |
|
3230 |
char const * __restrict __format , |
| 3231 |
__gnuc_va_list __arg ) ; |
|
3231 |
__gnuc_va_list __arg ) ; |
| 3232 |
extern __attribute__((__nothrow__)) int ( snprintf)(char * __restrict __s , |
|
3232 |
extern __attribute__((__nothrow__)) int ( snprintf)(char * __restrict __s , |
| 3233 |
size_t __maxlen , |
|
3233 |
size_t __maxlen , |
| 3234 |
char const * __restrict __format |
|
3234 |
char const * __restrict __format |
| 3235 |
, ...) ; |
|
3235 |
, ...) ; |
| 3236 |
extern __attribute__((__nothrow__)) int ( vsnprintf)(char * __restrict __s , |
|
3236 |
extern __attribute__((__nothrow__)) int ( vsnprintf)(char * __restrict __s , |
| 3237 |
size_t __maxlen , |
|
3237 |
size_t __maxlen , |
| 3238 |
char const * __restrict __format , |
|
3238 |
char const * __restrict __format , |
| 3239 |
__gnuc_va_list __arg ) ; |
|
3239 |
__gnuc_va_list __arg ) ; |
| 3240 |
extern int ( vdprintf)(int __fd , |
|
3240 |
extern int ( vdprintf)(int __fd , |
| 3241 |
char const * __restrict __fmt , |
|
3241 |
char const * __restrict __fmt , |
| 3242 |
__gnuc_va_list __arg ) ; |
|
3242 |
__gnuc_va_list __arg ) ; |
| 3243 |
extern int ( dprintf)(int __fd , |
|
3243 |
extern int ( dprintf)(int __fd , |
| 3244 |
char const * __restrict __fmt |
|
3244 |
char const * __restrict __fmt |
| 3245 |
, ...) ; |
|
3245 |
, ...) ; |
| 3246 |
extern int fscanf(FILE * __restrict __stream , |
|
3246 |
extern int fscanf(FILE * __restrict __stream , |
| 3247 |
char const * __restrict __format , ...) __asm__("__isoc99_fscanf") ; |
|
3247 |
char const * __restrict __format , ...) __asm__("__isoc99_fscanf") ; |
| 3248 |
extern int scanf(char const * __restrict __format , ...) __asm__("__isoc99_scanf") ; |
|
3248 |
extern int scanf(char const * __restrict __format , ...) __asm__("__isoc99_scanf") ; |
| 3249 |
extern __attribute__((__nothrow__)) int sscanf(char const * __restrict __s , |
|
3249 |
extern __attribute__((__nothrow__)) int sscanf(char const * __restrict __s , |
| 3250 |
char const * __restrict __format |
|
3250 |
char const * __restrict __format |
| 3251 |
, ...) __asm__("__isoc99_sscanf") ; |
|
3251 |
, ...) __asm__("__isoc99_sscanf") ; |
| 3252 |
extern int ( vfscanf)(FILE * __restrict __s , |
|
3252 |
extern int ( vfscanf)(FILE * __restrict __s , |
| 3253 |
char const * __restrict __format , |
|
3253 |
char const * __restrict __format , |
| 3254 |
__gnuc_va_list __arg ) __asm__("__isoc99_vfscanf") ; |
|
3254 |
__gnuc_va_list __arg ) __asm__("__isoc99_vfscanf") ; |
| 3255 |
extern int ( vscanf)(char const * __restrict __format , |
|
3255 |
extern int ( vscanf)(char const * __restrict __format , |
| 3256 |
__gnuc_va_list __arg ) __asm__("__isoc99_vscanf") ; |
|
3256 |
__gnuc_va_list __arg ) __asm__("__isoc99_vscanf") ; |
| 3257 |
extern __attribute__((__nothrow__)) int ( vsscanf)(char const * __restrict __s , |
|
3257 |
extern __attribute__((__nothrow__)) int ( vsscanf)(char const * __restrict __s , |
| 3258 |
char const * __restrict __format , |
|
3258 |
char const * __restrict __format , |
| 3259 |
__gnuc_va_list __arg ) __asm__("__isoc99_vsscanf") ; |
|
3259 |
__gnuc_va_list __arg ) __asm__("__isoc99_vsscanf") ; |
| 3260 |
extern int fgetc(FILE *__stream ) ; |
|
3260 |
extern int fgetc(FILE *__stream ) ; |
| 3261 |
extern int getc(FILE *__stream ) ; |
|
3261 |
extern int getc(FILE *__stream ) ; |
| 3262 |
__inline extern int getchar(void) ; |
|
3262 |
__inline extern int getchar(void) ; |
| 3263 |
__inline extern int getc_unlocked(FILE *__fp ) ; |
|
3263 |
__inline extern int getc_unlocked(FILE *__fp ) ; |
| 3264 |
__inline extern int getchar_unlocked(void) ; |
|
3264 |
__inline extern int getchar_unlocked(void) ; |
| 3265 |
__inline extern int fgetc_unlocked(FILE *__fp ) ; |
|
3265 |
__inline extern int fgetc_unlocked(FILE *__fp ) ; |
| 3266 |
extern int fputc(int __c , FILE *__stream ) ; |
|
3266 |
extern int fputc(int __c , FILE *__stream ) ; |
| 3267 |
extern int putc(int __c , FILE *__stream ) ; |
|
3267 |
extern int putc(int __c , FILE *__stream ) ; |
| 3268 |
__inline extern int putchar(int __c ) ; |
|
3268 |
__inline extern int putchar(int __c ) ; |
| 3269 |
__inline extern int fputc_unlocked(int __c , FILE *__stream ) ; |
|
3269 |
__inline extern int fputc_unlocked(int __c , FILE *__stream ) ; |
| 3270 |
__inline extern int putc_unlocked(int __c , FILE *__stream ) ; |
|
3270 |
__inline extern int putc_unlocked(int __c , FILE *__stream ) ; |
| 3271 |
__inline extern int putchar_unlocked(int __c ) ; |
|
3271 |
__inline extern int putchar_unlocked(int __c ) ; |
| 3272 |
extern int getw(FILE *__stream ) ; |
|
3272 |
extern int getw(FILE *__stream ) ; |
| 3273 |
extern int putw(int __w , FILE *__stream ) ; |
|
3273 |
extern int putw(int __w , FILE *__stream ) ; |
| 3274 |
extern char *fgets(char * __restrict __s , int __n , |
|
3274 |
extern char *fgets(char * __restrict __s , int __n , |
| 3275 |
FILE * __restrict __stream ) ; |
|
3275 |
FILE * __restrict __stream ) ; |
| 3276 |
extern char *gets(char *__s ) ; |
|
3276 |
extern char *gets(char *__s ) ; |
| 3277 |
extern __ssize_t __getdelim(char ** __restrict __lineptr , |
|
3277 |
extern __ssize_t __getdelim(char ** __restrict __lineptr , |
| 3278 |
size_t * __restrict __n , int __delimiter , |
|
3278 |
size_t * __restrict __n , int __delimiter , |
| 3279 |
FILE * __restrict __stream ) ; |
|
3279 |
FILE * __restrict __stream ) ; |
| 3280 |
extern __ssize_t getdelim(char ** __restrict __lineptr , |
|
3280 |
extern __ssize_t getdelim(char ** __restrict __lineptr , |
| 3281 |
size_t * __restrict __n , int __delimiter , |
|
3281 |
size_t * __restrict __n , int __delimiter , |
| 3282 |
FILE * __restrict __stream ) ; |
|
3282 |
FILE * __restrict __stream ) ; |
| 3283 |
extern __ssize_t getline(char ** __restrict __lineptr , |
|
3283 |
extern __ssize_t getline(char ** __restrict __lineptr , |
| 3284 |
size_t * __restrict __n , FILE * __restrict __stream ) ; |
|
3284 |
size_t * __restrict __n , FILE * __restrict __stream ) ; |
| 3285 |
extern int fputs(char const * __restrict __s , FILE * __restrict __stream ) ; |
|
3285 |
extern int fputs(char const * __restrict __s , FILE * __restrict __stream ) ; |
| 3286 |
extern int puts(char const *__s ) ; |
|
3286 |
extern int puts(char const *__s ) ; |
| 3287 |
extern int ungetc(int __c , FILE *__stream ) ; |
|
3287 |
extern int ungetc(int __c , FILE *__stream ) ; |
| 3288 |
extern size_t fread(void * __restrict __ptr , size_t __size , size_t __n , |
|
3288 |
extern size_t fread(void * __restrict __ptr , size_t __size , size_t __n , |
| 3289 |
FILE * __restrict __stream ) ; |
|
3289 |
FILE * __restrict __stream ) ; |
| 3290 |
extern size_t fwrite(void const * __restrict __ptr , size_t __size , |
|
3290 |
extern size_t fwrite(void const * __restrict __ptr , size_t __size , |
| 3291 |
size_t __n , FILE * __restrict __s ) ; |
|
3291 |
size_t __n , FILE * __restrict __s ) ; |
| 3292 |
extern size_t fread_unlocked(void * __restrict __ptr , size_t __size , |
|
3292 |
extern size_t fread_unlocked(void * __restrict __ptr , size_t __size , |
| 3293 |
size_t __n , FILE * __restrict __stream ) ; |
|
3293 |
size_t __n , FILE * __restrict __stream ) ; |
| 3294 |
extern size_t fwrite_unlocked(void const * __restrict __ptr , size_t __size , |
|
3294 |
extern size_t fwrite_unlocked(void const * __restrict __ptr , size_t __size , |
| 3295 |
size_t __n , FILE * __restrict __stream ) ; |
|
3295 |
size_t __n , FILE * __restrict __stream ) ; |
| 3296 |
extern int fseek(FILE *__stream , long __off , int __whence ) ; |
|
3296 |
extern int fseek(FILE *__stream , long __off , int __whence ) ; |
| 3297 |
extern long ftell(FILE *__stream ) ; |
|
3297 |
extern long ftell(FILE *__stream ) ; |
| 3298 |
extern void rewind(FILE *__stream ) ; |
|
3298 |
extern void rewind(FILE *__stream ) ; |
| 3299 |
extern int fseeko(FILE *__stream , __off_t __off , int __whence ) ; |
|
3299 |
extern int fseeko(FILE *__stream , __off_t __off , int __whence ) ; |
| 3300 |
extern __off_t ftello(FILE *__stream ) ; |
|
3300 |
extern __off_t ftello(FILE *__stream ) ; |
| 3301 |
extern int fgetpos(FILE * __restrict __stream , fpos_t * __restrict __pos ) ; |
|
3301 |
extern int fgetpos(FILE * __restrict __stream , fpos_t * __restrict __pos ) ; |
| 3302 |
extern int fsetpos(FILE *__stream , fpos_t const *__pos ) ; |
|
3302 |
extern int fsetpos(FILE *__stream , fpos_t const *__pos ) ; |
| 3303 |
extern __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ; |
|
3303 |
extern __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ; |
| 3304 |
extern __attribute__((__nothrow__)) int feof(FILE *__stream ) ; |
|
3304 |
extern __attribute__((__nothrow__)) int feof(FILE *__stream ) ; |
| 3305 |
extern __attribute__((__nothrow__)) int ferror(FILE *__stream ) ; |
|
3305 |
extern __attribute__((__nothrow__)) int ferror(FILE *__stream ) ; |
| 3306 |
extern __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ; |
|
3306 |
extern __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ; |
| 3307 |
__inline extern __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ; |
|
3307 |
__inline extern __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ; |
| 3308 |
__inline extern __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ; |
|
3308 |
__inline extern __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ; |
| 3309 |
extern void perror(char const *__s ) ; |
|
3309 |
extern void perror(char const *__s ) ; |
| 3310 |
extern int sys_nerr ; |
|
3310 |
extern int sys_nerr ; |
| 3311 |
extern char const * const sys_errlist[] ; |
|
3311 |
extern char const * const sys_errlist[] ; |
| 3312 |
extern __attribute__((__nothrow__)) int fileno(FILE *__stream ) ; |
|
3312 |
extern __attribute__((__nothrow__)) int fileno(FILE *__stream ) ; |
| 3313 |
extern __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ; |
|
3313 |
extern __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ; |
| 3314 |
extern FILE *popen(char const *__command , char const *__modes ) ; |
|
3314 |
extern FILE *popen(char const *__command , char const *__modes ) ; |
| 3315 |
extern int pclose(FILE *__stream ) ; |
|
3315 |
extern int pclose(FILE *__stream ) ; |
| 3316 |
extern __attribute__((__nothrow__)) char *ctermid(char *__s ) ; |
|
3316 |
extern __attribute__((__nothrow__)) char *ctermid(char *__s ) ; |
| 3317 |
extern __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ; |
|
3317 |
extern __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ; |
| 3318 |
extern __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ; |
|
3318 |
extern __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ; |
| 3319 |
extern __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ; |
|
3319 |
extern __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ; |
| 3320 |
__inline extern int vprintf(char const * __restrict __fmt , |
|
3320 |
__inline extern int vprintf(char const * __restrict __fmt , |
| 3321 |
__gnuc_va_list __arg ) |
|
3321 |
__gnuc_va_list __arg ) |
| 3322 |
{ |
|
3322 |
{ |
| 3323 |
int tmp ; |
|
3323 |
int tmp ; |
| 3324 |
|
|
3324 |
|
| 3325 |
{ |
|
3325 |
{ |
| 3326 |
tmp = vfprintf((FILE *)stdout, __fmt, __arg); |
|
3326 |
tmp = vfprintf((FILE *)stdout, __fmt, __arg); |
| 3327 |
return (tmp); |
|
3327 |
return (tmp); |
| 3328 |
} |
|
3328 |
} |
| 3329 |
} |
|
3329 |
} |
| 3330 |
__inline extern int getchar(void) |
|
3330 |
__inline extern int getchar(void) |
| 3331 |
{ |
|
3331 |
{ |
| 3332 |
int tmp ; |
|
3332 |
int tmp ; |
| 3333 |
|
|
3333 |
|
| 3334 |
{ |
|
3334 |
{ |
| 3335 |
tmp = _IO_getc(stdin); |
|
3335 |
tmp = _IO_getc(stdin); |
| 3336 |
return (tmp); |
|
3336 |
return (tmp); |
| 3337 |
} |
|
3337 |
} |
| 3338 |
} |
|
3338 |
} |
| 3339 |
__inline extern int fgetc_unlocked(FILE *__fp ) |
|
3339 |
__inline extern int fgetc_unlocked(FILE *__fp ) |
| 3340 |
{ |
|
3340 |
{ |
| 3341 |
long tmp ; |
|
3341 |
long tmp ; |
| 3342 |
int tmp___0 ; |
|
3342 |
int tmp___0 ; |
| 3343 |
char *tmp___1 ; |
|
3343 |
char *tmp___1 ; |
| 3344 |
int tmp___2 ; |
|
3344 |
int tmp___2 ; |
| 3345 |
long tmp___3 ; |
|
3345 |
long tmp___3 ; |
| 3346 |
|
|
3346 |
|
| 3347 |
{ |
|
3347 |
{ |
| 3348 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
|
3348 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
| 3349 |
0L); |
|
3349 |
0L); |
| 3350 |
if (tmp___3) { |
|
3350 |
if (tmp___3) { |
| 3351 |
tmp___0 = __uflow(__fp); |
|
3351 |
tmp___0 = __uflow(__fp); |
| 3352 |
tmp___2 = tmp___0; |
|
3352 |
tmp___2 = tmp___0; |
| 3353 |
} else { |
|
3353 |
} else { |
| 3354 |
tmp___1 = __fp->_IO_read_ptr; |
|
3354 |
tmp___1 = __fp->_IO_read_ptr; |
| 3355 |
(__fp->_IO_read_ptr) ++; |
|
3355 |
(__fp->_IO_read_ptr) ++; |
| 3356 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
3356 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 3357 |
} |
|
3357 |
} |
| 3358 |
return (tmp___2); |
|
3358 |
return (tmp___2); |
| 3359 |
} |
|
3359 |
} |
| 3360 |
} |
|
3360 |
} |
| 3361 |
__inline extern int getc_unlocked(FILE *__fp ) |
|
3361 |
__inline extern int getc_unlocked(FILE *__fp ) |
| 3362 |
{ |
|
3362 |
{ |
| 3363 |
long tmp ; |
|
3363 |
long tmp ; |
| 3364 |
int tmp___0 ; |
|
3364 |
int tmp___0 ; |
| 3365 |
char *tmp___1 ; |
|
3365 |
char *tmp___1 ; |
| 3366 |
int tmp___2 ; |
|
3366 |
int tmp___2 ; |
| 3367 |
long tmp___3 ; |
|
3367 |
long tmp___3 ; |
| 3368 |
|
|
3368 |
|
| 3369 |
{ |
|
3369 |
{ |
| 3370 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
|
3370 |
tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end), |
| 3371 |
0L); |
|
3371 |
0L); |
| 3372 |
if (tmp___3) { |
|
3372 |
if (tmp___3) { |
| 3373 |
tmp___0 = __uflow(__fp); |
|
3373 |
tmp___0 = __uflow(__fp); |
| 3374 |
tmp___2 = tmp___0; |
|
3374 |
tmp___2 = tmp___0; |
| 3375 |
} else { |
|
3375 |
} else { |
| 3376 |
tmp___1 = __fp->_IO_read_ptr; |
|
3376 |
tmp___1 = __fp->_IO_read_ptr; |
| 3377 |
(__fp->_IO_read_ptr) ++; |
|
3377 |
(__fp->_IO_read_ptr) ++; |
| 3378 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
3378 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 3379 |
} |
|
3379 |
} |
| 3380 |
return (tmp___2); |
|
3380 |
return (tmp___2); |
| 3381 |
} |
|
3381 |
} |
| 3382 |
} |
|
3382 |
} |
| 3383 |
__inline extern int getchar_unlocked(void) |
|
3383 |
__inline extern int getchar_unlocked(void) |
| 3384 |
{ |
|
3384 |
{ |
| 3385 |
long tmp ; |
|
3385 |
long tmp ; |
| 3386 |
int tmp___0 ; |
|
3386 |
int tmp___0 ; |
| 3387 |
char *tmp___1 ; |
|
3387 |
char *tmp___1 ; |
| 3388 |
int tmp___2 ; |
|
3388 |
int tmp___2 ; |
| 3389 |
long tmp___3 ; |
|
3389 |
long tmp___3 ; |
| 3390 |
|
|
3390 |
|
| 3391 |
{ |
|
3391 |
{ |
| 3392 |
tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end), |
|
3392 |
tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end), |
| 3393 |
0L); |
|
3393 |
0L); |
| 3394 |
if (tmp___3) { |
|
3394 |
if (tmp___3) { |
| 3395 |
tmp___0 = __uflow(stdin); |
|
3395 |
tmp___0 = __uflow(stdin); |
| 3396 |
tmp___2 = tmp___0; |
|
3396 |
tmp___2 = tmp___0; |
| 3397 |
} else { |
|
3397 |
} else { |
| 3398 |
tmp___1 = stdin->_IO_read_ptr; |
|
3398 |
tmp___1 = stdin->_IO_read_ptr; |
| 3399 |
(stdin->_IO_read_ptr) ++; |
|
3399 |
(stdin->_IO_read_ptr) ++; |
| 3400 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
|
3400 |
tmp___2 = (int )*((unsigned char *)tmp___1); |
| 3401 |
} |
|
3401 |
} |
| 3402 |
return (tmp___2); |
|
3402 |
return (tmp___2); |
| 3403 |
} |
|
3403 |
} |
| 3404 |
} |
|
3404 |
} |
| 3405 |
__inline extern int putchar(int __c ) |
|
3405 |
__inline extern int putchar(int __c ) |
| 3406 |
{ |
|
3406 |
{ |
| 3407 |
int tmp ; |
|
3407 |
int tmp ; |
| 3408 |
|
|
3408 |
|
| 3409 |
{ |
|
3409 |
{ |
| 3410 |
tmp = _IO_putc(__c, stdout); |
|
3410 |
tmp = _IO_putc(__c, stdout); |
| 3411 |
return (tmp); |
|
3411 |
return (tmp); |
| 3412 |
} |
|
3412 |
} |
| 3413 |
} |
|
3413 |
} |
| 3414 |
__inline extern int fputc_unlocked(int __c , FILE *__stream ) |
|
3414 |
__inline extern int fputc_unlocked(int __c , FILE *__stream ) |
| 3415 |
{ |
|
3415 |
{ |
| 3416 |
long tmp ; |
|
3416 |
long tmp ; |
| 3417 |
int tmp___0 ; |
|
3417 |
int tmp___0 ; |
| 3418 |
char *tmp___1 ; |
|
3418 |
char *tmp___1 ; |
| 3419 |
char tmp___2 ; |
|
3419 |
char tmp___2 ; |
| 3420 |
int tmp___3 ; |
|
3420 |
int tmp___3 ; |
| 3421 |
long tmp___4 ; |
|
3421 |
long tmp___4 ; |
| 3422 |
|
|
3422 |
|
| 3423 |
{ |
|
3423 |
{ |
| 3424 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
|
3424 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
| 3425 |
0L); |
|
3425 |
0L); |
| 3426 |
if (tmp___4) { |
|
3426 |
if (tmp___4) { |
| 3427 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
|
3427 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
| 3428 |
tmp___3 = tmp___0; |
|
3428 |
tmp___3 = tmp___0; |
| 3429 |
} else { |
|
3429 |
} else { |
| 3430 |
tmp___1 = __stream->_IO_write_ptr; |
|
3430 |
tmp___1 = __stream->_IO_write_ptr; |
| 3431 |
(__stream->_IO_write_ptr) ++; |
|
3431 |
(__stream->_IO_write_ptr) ++; |
| 3432 |
tmp___2 = (char )__c; |
|
3432 |
tmp___2 = (char )__c; |
| 3433 |
*tmp___1 = tmp___2; |
|
3433 |
*tmp___1 = tmp___2; |
| 3434 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
3434 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 3435 |
} |
|
3435 |
} |
| 3436 |
return (tmp___3); |
|
3436 |
return (tmp___3); |
| 3437 |
} |
|
3437 |
} |
| 3438 |
} |
|
3438 |
} |
| 3439 |
__inline extern int putc_unlocked(int __c , FILE *__stream ) |
|
3439 |
__inline extern int putc_unlocked(int __c , FILE *__stream ) |
| 3440 |
{ |
|
3440 |
{ |
| 3441 |
long tmp ; |
|
3441 |
long tmp ; |
| 3442 |
int tmp___0 ; |
|
3442 |
int tmp___0 ; |
| 3443 |
char *tmp___1 ; |
|
3443 |
char *tmp___1 ; |
| 3444 |
char tmp___2 ; |
|
3444 |
char tmp___2 ; |
| 3445 |
int tmp___3 ; |
|
3445 |
int tmp___3 ; |
| 3446 |
long tmp___4 ; |
|
3446 |
long tmp___4 ; |
| 3447 |
|
|
3447 |
|
| 3448 |
{ |
|
3448 |
{ |
| 3449 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
|
3449 |
tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end), |
| 3450 |
0L); |
|
3450 |
0L); |
| 3451 |
if (tmp___4) { |
|
3451 |
if (tmp___4) { |
| 3452 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
|
3452 |
tmp___0 = __overflow(__stream, (int )((unsigned char )__c)); |
| 3453 |
tmp___3 = tmp___0; |
|
3453 |
tmp___3 = tmp___0; |
| 3454 |
} else { |
|
3454 |
} else { |
| 3455 |
tmp___1 = __stream->_IO_write_ptr; |
|
3455 |
tmp___1 = __stream->_IO_write_ptr; |
| 3456 |
(__stream->_IO_write_ptr) ++; |
|
3456 |
(__stream->_IO_write_ptr) ++; |
| 3457 |
tmp___2 = (char )__c; |
|
3457 |
tmp___2 = (char )__c; |
| 3458 |
*tmp___1 = tmp___2; |
|
3458 |
*tmp___1 = tmp___2; |
| 3459 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
3459 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 3460 |
} |
|
3460 |
} |
| 3461 |
return (tmp___3); |
|
3461 |
return (tmp___3); |
| 3462 |
} |
|
3462 |
} |
| 3463 |
} |
|
3463 |
} |
| 3464 |
__inline extern int putchar_unlocked(int __c ) |
|
3464 |
__inline extern int putchar_unlocked(int __c ) |
| 3465 |
{ |
|
3465 |
{ |
| 3466 |
long tmp ; |
|
3466 |
long tmp ; |
| 3467 |
int tmp___0 ; |
|
3467 |
int tmp___0 ; |
| 3468 |
char *tmp___1 ; |
|
3468 |
char *tmp___1 ; |
| 3469 |
char tmp___2 ; |
|
3469 |
char tmp___2 ; |
| 3470 |
int tmp___3 ; |
|
3470 |
int tmp___3 ; |
| 3471 |
long tmp___4 ; |
|
3471 |
long tmp___4 ; |
| 3472 |
|
|
3472 |
|
| 3473 |
{ |
|
3473 |
{ |
| 3474 |
tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end), |
|
3474 |
tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end), |
| 3475 |
0L); |
|
3475 |
0L); |
| 3476 |
if (tmp___4) { |
|
3476 |
if (tmp___4) { |
| 3477 |
tmp___0 = __overflow(stdout, (int )((unsigned char )__c)); |
|
3477 |
tmp___0 = __overflow(stdout, (int )((unsigned char )__c)); |
| 3478 |
tmp___3 = tmp___0; |
|
3478 |
tmp___3 = tmp___0; |
| 3479 |
} else { |
|
3479 |
} else { |
| 3480 |
tmp___1 = stdout->_IO_write_ptr; |
|
3480 |
tmp___1 = stdout->_IO_write_ptr; |
| 3481 |
(stdout->_IO_write_ptr) ++; |
|
3481 |
(stdout->_IO_write_ptr) ++; |
| 3482 |
tmp___2 = (char )__c; |
|
3482 |
tmp___2 = (char )__c; |
| 3483 |
*tmp___1 = tmp___2; |
|
3483 |
*tmp___1 = tmp___2; |
| 3484 |
tmp___3 = (int )((unsigned char )tmp___2); |
|
3484 |
tmp___3 = (int )((unsigned char )tmp___2); |
| 3485 |
} |
|
3485 |
} |
| 3486 |
return (tmp___3); |
|
3486 |
return (tmp___3); |
| 3487 |
} |
|
3487 |
} |
| 3488 |
} |
|
3488 |
} |
| 3489 |
__inline extern __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ; |
|
3489 |
__inline extern __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ; |
| 3490 |
__inline extern int feof_unlocked(FILE *__stream ) |
|
3490 |
__inline extern int feof_unlocked(FILE *__stream ) |
| 3491 |
{ |
|
3491 |
{ |
| 3492 |
|
|
3492 |
|
| 3493 |
|
|
3493 |
|
| 3494 |
{ |
|
3494 |
{ |
| 3495 |
return ((__stream->_flags & 16) != 0); |
|
3495 |
return ((__stream->_flags & 16) != 0); |
| 3496 |
} |
|
3496 |
} |
| 3497 |
} |
|
3497 |
} |
| 3498 |
__inline extern __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ; |
|
3498 |
__inline extern __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ; |
| 3499 |
__inline extern int ferror_unlocked(FILE *__stream ) |
|
3499 |
__inline extern int ferror_unlocked(FILE *__stream ) |
| 3500 |
{ |
|
3500 |
{ |
| 3501 |
|
|
3501 |
|
| 3502 |
|
|
3502 |
|
| 3503 |
{ |
|
3503 |
{ |
| 3504 |
return ((__stream->_flags & 32) != 0); |
|
3504 |
return ((__stream->_flags & 32) != 0); |
| 3505 |
} |
|
3505 |
} |
| 3506 |
} |
|
3506 |
} |
| 3507 |
extern __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ; |
|
3507 |
extern __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ; |
| 3508 |
__inline extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3508 |
__inline extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3509 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3509 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3510 |
__inline extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3510 |
__inline extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3511 |
__inline extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3511 |
__inline extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3512 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const * __restrict __nptr , |
|
3512 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const * __restrict __nptr , |
| 3513 |
char ** __restrict __endptr ) ; |
|
3513 |
char ** __restrict __endptr ) ; |
| 3514 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const * __restrict __nptr , |
|
3514 |
extern __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const * __restrict __nptr , |
| 3515 |
char ** __restrict __endptr ) ; |
|
3515 |
char ** __restrict __endptr ) ; |
| 3516 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const * __restrict __nptr , |
|
3516 |
extern __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const * __restrict __nptr , |
| 3517 |
char ** __restrict __endptr ) ; |
|
3517 |
char ** __restrict __endptr ) ; |
| 3518 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const * __restrict __nptr , |
|
3518 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const * __restrict __nptr , |
| 3519 |
char ** __restrict __endptr , |
|
3519 |
char ** __restrict __endptr , |
| 3520 |
int __base ) ; |
|
3520 |
int __base ) ; |
| 3521 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const * __restrict __nptr , |
|
3521 |
extern __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const * __restrict __nptr , |
| 3522 |
char ** __restrict __endptr , |
|
3522 |
char ** __restrict __endptr , |
| 3523 |
int __base ) ; |
|
3523 |
int __base ) ; |
| 3524 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const * __restrict __nptr , |
|
3524 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const * __restrict __nptr , |
| 3525 |
char ** __restrict __endptr , |
|
3525 |
char ** __restrict __endptr , |
| 3526 |
int __base ) ; |
|
3526 |
int __base ) ; |
| 3527 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const * __restrict __nptr , |
|
3527 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const * __restrict __nptr , |
| 3528 |
char ** __restrict __endptr , |
|
3528 |
char ** __restrict __endptr , |
| 3529 |
int __base ) ; |
|
3529 |
int __base ) ; |
| 3530 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const * __restrict __nptr , |
|
3530 |
extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const * __restrict __nptr , |
| 3531 |
char ** __restrict __endptr , |
|
3531 |
char ** __restrict __endptr , |
| 3532 |
int __base ) ; |
|
3532 |
int __base ) ; |
| 3533 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const * __restrict __nptr , |
|
3533 |
extern __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const * __restrict __nptr , |
| 3534 |
char ** __restrict __endptr , |
|
3534 |
char ** __restrict __endptr , |
| 3535 |
int __base ) ; |
|
3535 |
int __base ) ; |
| 3536 |
__inline extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3536 |
__inline extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3537 |
__inline extern double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) |
|
3537 |
__inline extern double ( __attribute__((__nonnull__(1))) atof)(char const *__nptr ) |
| 3538 |
{ |
|
3538 |
{ |
| 3539 |
double tmp ; |
|
3539 |
double tmp ; |
| 3540 |
|
|
3540 |
|
| 3541 |
{ |
|
3541 |
{ |
| 3542 |
tmp = strtod((char const *)__nptr, |
|
3542 |
tmp = strtod((char const *)__nptr, |
| 3543 |
(char **)((char **)((void *)0))); |
|
3543 |
(char **)((char **)((void *)0))); |
| 3544 |
return (tmp); |
|
3544 |
return (tmp); |
| 3545 |
} |
|
3545 |
} |
| 3546 |
} |
|
3546 |
} |
| 3547 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3547 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3548 |
__inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) |
|
3548 |
__inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const *__nptr ) |
| 3549 |
{ |
|
3549 |
{ |
| 3550 |
long tmp ; |
|
3550 |
long tmp ; |
| 3551 |
|
|
3551 |
|
| 3552 |
{ |
|
3552 |
{ |
| 3553 |
tmp = strtol((char const *)__nptr, |
|
3553 |
tmp = strtol((char const *)__nptr, |
| 3554 |
(char **)((char **)((void *)0)), 10); |
|
3554 |
(char **)((char **)((void *)0)), 10); |
| 3555 |
return ((int )tmp); |
|
3555 |
return ((int )tmp); |
| 3556 |
} |
|
3556 |
} |
| 3557 |
} |
|
3557 |
} |
| 3558 |
__inline extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3558 |
__inline extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3559 |
__inline extern long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) |
|
3559 |
__inline extern long ( __attribute__((__nonnull__(1))) atol)(char const *__nptr ) |
| 3560 |
{ |
|
3560 |
{ |
| 3561 |
long tmp ; |
|
3561 |
long tmp ; |
| 3562 |
|
|
3562 |
|
| 3563 |
{ |
|
3563 |
{ |
| 3564 |
tmp = strtol((char const *)__nptr, |
|
3564 |
tmp = strtol((char const *)__nptr, |
| 3565 |
(char **)((char **)((void *)0)), 10); |
|
3565 |
(char **)((char **)((void *)0)), 10); |
| 3566 |
return (tmp); |
|
3566 |
return (tmp); |
| 3567 |
} |
|
3567 |
} |
| 3568 |
} |
|
3568 |
} |
| 3569 |
__inline extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
|
3569 |
__inline extern __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) __attribute__((__pure__)) ; |
| 3570 |
__inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) |
|
3570 |
__inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const *__nptr ) |
| 3571 |
{ |
|
3571 |
{ |
| 3572 |
long long tmp ; |
|
3572 |
long long tmp ; |
| 3573 |
|
|
3573 |
|
| 3574 |
{ |
|
3574 |
{ |
| 3575 |
tmp = strtoll((char const *)__nptr, |
|
3575 |
tmp = strtoll((char const *)__nptr, |
| 3576 |
(char **)((char **)((void *)0)), 10); |
|
3576 |
(char **)((char **)((void *)0)), 10); |
| 3577 |
return (tmp); |
|
3577 |
return (tmp); |
| 3578 |
} |
|
3578 |
} |
| 3579 |
} |
|
3579 |
} |
| 3580 |
extern __attribute__((__nothrow__)) char *l64a(long __n ) ; |
|
3580 |
extern __attribute__((__nothrow__)) char *l64a(long __n ) ; |
| 3581 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const *__s ) __attribute__((__pure__)) ; |
|
3581 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const *__s ) __attribute__((__pure__)) ; |
| 3582 |
extern int select(int __nfds , fd_set * __restrict __readfds , |
|
3582 |
extern int select(int __nfds , fd_set * __restrict __readfds , |
| 3583 |
fd_set * __restrict __writefds , |
|
3583 |
fd_set * __restrict __writefds , |
| 3584 |
fd_set * __restrict __exceptfds , |
|
3584 |
fd_set * __restrict __exceptfds , |
| 3585 |
struct timeval * __restrict __timeout ) ; |
|
3585 |
struct timeval * __restrict __timeout ) ; |
| 3586 |
extern int pselect(int __nfds , fd_set * __restrict __readfds , |
|
3586 |
extern int pselect(int __nfds , fd_set * __restrict __readfds , |
| 3587 |
fd_set * __restrict __writefds , |
|
3587 |
fd_set * __restrict __writefds , |
| 3588 |
fd_set * __restrict __exceptfds , |
|
3588 |
fd_set * __restrict __exceptfds , |
| 3589 |
struct timespec const * __restrict __timeout , |
|
3589 |
struct timespec const * __restrict __timeout , |
| 3590 |
__sigset_t const * __restrict __sigmask ) ; |
|
3590 |
__sigset_t const * __restrict __sigmask ) ; |
| 3591 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ; |
|
3591 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ; |
| 3592 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ; |
|
3592 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ; |
| 3593 |
__inline extern __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , |
|
3593 |
__inline extern __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , |
| 3594 |
unsigned int __minor ) ; |
|
3594 |
unsigned int __minor ) ; |
| 3595 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ; |
|
3595 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ; |
| 3596 |
__inline extern unsigned int gnu_dev_major(unsigned long long __dev ) |
|
3596 |
__inline extern unsigned int gnu_dev_major(unsigned long long __dev ) |
| 3597 |
{ |
|
3597 |
{ |
| 3598 |
|
|
3598 |
|
| 3599 |
|
|
3599 |
|
| 3600 |
{ |
|
3600 |
{ |
| 3601 |
return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U))); |
|
3601 |
return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U))); |
| 3602 |
} |
|
3602 |
} |
| 3603 |
} |
|
3603 |
} |
| 3604 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ; |
|
3604 |
__inline extern __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ; |
| 3605 |
__inline extern unsigned int gnu_dev_minor(unsigned long long __dev ) |
|
3605 |
__inline extern unsigned int gnu_dev_minor(unsigned long long __dev ) |
| 3606 |
{ |
|
3606 |
{ |
| 3607 |
|
|
3607 |
|
| 3608 |
|
|
3608 |
|
| 3609 |
{ |
|
3609 |
{ |
| 3610 |
return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U))); |
|
3610 |
return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U))); |
| 3611 |
} |
|
3611 |
} |
| 3612 |
} |
|
3612 |
} |
| 3613 |
__inline extern __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , |
|
3613 |
__inline extern __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major , |
| 3614 |
unsigned int __minor ) ; |
|
3614 |
unsigned int __minor ) ; |
| 3615 |
__inline extern unsigned long long gnu_dev_makedev(unsigned int __major , |
|
3615 |
__inline extern unsigned long long gnu_dev_makedev(unsigned int __major , |
| 3616 |
unsigned int __minor ) |
|
3616 |
unsigned int __minor ) |
| 3617 |
{ |
|
3617 |
{ |
| 3618 |
|
|
3618 |
|
| 3619 |
|
|
3619 |
|
| 3620 |
{ |
|
3620 |
{ |
| 3621 |
return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32)); |
|
3621 |
return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32)); |
| 3622 |
} |
|
3622 |
} |
| 3623 |
} |
|
3623 |
} |
| 3624 |
extern __attribute__((__nothrow__)) long random(void) ; |
|
3624 |
extern __attribute__((__nothrow__)) long random(void) ; |
| 3625 |
extern __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ; |
|
3625 |
extern __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ; |
| 3626 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed , |
|
3626 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed , |
| 3627 |
char *__statebuf , |
|
3627 |
char *__statebuf , |
| 3628 |
size_t __statelen ) ; |
|
3628 |
size_t __statelen ) ; |
| 3629 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ; |
|
3629 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ; |
| 3630 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict __buf , |
|
3630 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict __buf , |
| 3631 |
int32_t * __restrict __result ) ; |
|
3631 |
int32_t * __restrict __result ) ; |
| 3632 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed , |
|
3632 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed , |
| 3633 |
struct random_data *__buf ) ; |
|
3633 |
struct random_data *__buf ) ; |
| 3634 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed , |
|
3634 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed , |
| 3635 |
char * __restrict __statebuf , |
|
3635 |
char * __restrict __statebuf , |
| 3636 |
size_t __statelen , |
|
3636 |
size_t __statelen , |
| 3637 |
struct random_data * __restrict __buf ) ; |
|
3637 |
struct random_data * __restrict __buf ) ; |
| 3638 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict __statebuf , |
|
3638 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict __statebuf , |
| 3639 |
struct random_data * __restrict __buf ) ; |
|
3639 |
struct random_data * __restrict __buf ) ; |
| 3640 |
extern __attribute__((__nothrow__)) int rand(void) ; |
|
3640 |
extern __attribute__((__nothrow__)) int rand(void) ; |
| 3641 |
extern __attribute__((__nothrow__)) void srand(unsigned int __seed ) ; |
|
3641 |
extern __attribute__((__nothrow__)) void srand(unsigned int __seed ) ; |
| 3642 |
extern __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ; |
|
3642 |
extern __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ; |
| 3643 |
extern __attribute__((__nothrow__)) double drand48(void) ; |
|
3643 |
extern __attribute__((__nothrow__)) double drand48(void) ; |
| 3644 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ; |
|
3644 |
extern __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ; |
| 3645 |
extern __attribute__((__nothrow__)) long lrand48(void) ; |
|
3645 |
extern __attribute__((__nothrow__)) long lrand48(void) ; |
| 3646 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ; |
|
3646 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ; |
| 3647 |
extern __attribute__((__nothrow__)) long mrand48(void) ; |
|
3647 |
extern __attribute__((__nothrow__)) long mrand48(void) ; |
| 3648 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ; |
|
3648 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ; |
| 3649 |
extern __attribute__((__nothrow__)) void srand48(long __seedval ) ; |
|
3649 |
extern __attribute__((__nothrow__)) void srand48(long __seedval ) ; |
| 3650 |
extern __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ; |
|
3650 |
extern __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ; |
| 3651 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ; |
|
3651 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ; |
| 3652 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict __buffer , |
|
3652 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict __buffer , |
| 3653 |
double * __restrict __result ) ; |
|
3653 |
double * __restrict __result ) ; |
| 3654 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi , |
|
3654 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi , |
| 3655 |
struct drand48_data * __restrict __buffer , |
|
3655 |
struct drand48_data * __restrict __buffer , |
| 3656 |
double * __restrict __result ) ; |
|
3656 |
double * __restrict __result ) ; |
| 3657 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict __buffer , |
|
3657 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict __buffer , |
| 3658 |
long * __restrict __result ) ; |
|
3658 |
long * __restrict __result ) ; |
| 3659 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi , |
|
3659 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi , |
| 3660 |
struct drand48_data * __restrict __buffer , |
|
3660 |
struct drand48_data * __restrict __buffer , |
| 3661 |
long * __restrict __result ) ; |
|
3661 |
long * __restrict __result ) ; |
| 3662 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict __buffer , |
|
3662 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict __buffer , |
| 3663 |
long * __restrict __result ) ; |
|
3663 |
long * __restrict __result ) ; |
| 3664 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi , |
|
3664 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi , |
| 3665 |
struct drand48_data * __restrict __buffer , |
|
3665 |
struct drand48_data * __restrict __buffer , |
| 3666 |
long * __restrict __result ) ; |
|
3666 |
long * __restrict __result ) ; |
| 3667 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval , |
|
3667 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval , |
| 3668 |
struct drand48_data *__buffer ) ; |
|
3668 |
struct drand48_data *__buffer ) ; |
| 3669 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v , |
|
3669 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v , |
| 3670 |
struct drand48_data *__buffer ) ; |
|
3670 |
struct drand48_data *__buffer ) ; |
| 3671 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param , |
|
3671 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param , |
| 3672 |
struct drand48_data *__buffer ) ; |
|
3672 |
struct drand48_data *__buffer ) ; |
| 3673 |
extern __attribute__((__nothrow__)) void *malloc(size_t __size ) __attribute__((__malloc__)) ; |
|
3673 |
extern __attribute__((__nothrow__)) void *malloc(size_t __size ) __attribute__((__malloc__)) ; |
| 3674 |
extern __attribute__((__nothrow__)) void *calloc(size_t __nmemb , |
|
3674 |
extern __attribute__((__nothrow__)) void *calloc(size_t __nmemb , |
| 3675 |
size_t __size ) __attribute__((__malloc__)) ; |
|
3675 |
size_t __size ) __attribute__((__malloc__)) ; |
| 3676 |
extern __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr , |
|
3676 |
extern __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr , |
| 3677 |
size_t __size ) ; |
|
3677 |
size_t __size ) ; |
| 3678 |
extern __attribute__((__nothrow__)) void free(void *__ptr ) ; |
|
3678 |
extern __attribute__((__nothrow__)) void free(void *__ptr ) ; |
| 3679 |
extern __attribute__((__nothrow__)) void cfree(void *__ptr ) ; |
|
3679 |
extern __attribute__((__nothrow__)) void cfree(void *__ptr ) ; |
| 3680 |
extern __attribute__((__nothrow__)) void *alloca(size_t __size ) ; |
|
3680 |
extern __attribute__((__nothrow__)) void *alloca(size_t __size ) ; |
| 3681 |
extern __attribute__((__nothrow__)) void *valloc(size_t __size ) __attribute__((__malloc__)) ; |
|
3681 |
extern __attribute__((__nothrow__)) void *valloc(size_t __size ) __attribute__((__malloc__)) ; |
| 3682 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr , |
|
3682 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr , |
| 3683 |
size_t __alignment , |
|
3683 |
size_t __alignment , |
| 3684 |
size_t __size ) ; |
|
3684 |
size_t __size ) ; |
| 3685 |
extern __attribute__((__nothrow__, __noreturn__)) void abort(void) ; |
|
3685 |
extern __attribute__((__nothrow__, __noreturn__)) void abort(void) ; |
| 3686 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ; |
|
3686 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ; |
| 3687 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status , |
|
3687 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status , |
| 3688 |
void *__arg ) , |
|
3688 |
void *__arg ) , |
| 3689 |
void *__arg ) ; |
|
3689 |
void *__arg ) ; |
| 3690 |
extern __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ; |
|
3690 |
extern __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ; |
| 3691 |
extern __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ; |
|
3691 |
extern __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ; |
| 3692 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const *__name ) ; |
|
3692 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const *__name ) ; |
| 3693 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const *__name ) ; |
|
3693 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const *__name ) ; |
| 3694 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ; |
|
3694 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ; |
| 3695 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const *__name , |
|
3695 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const *__name , |
| 3696 |
char const *__value , |
|
3696 |
char const *__value , |
| 3697 |
int __replace ) ; |
|
3697 |
int __replace ) ; |
| 3698 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const *__name ) ; |
|
3698 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const *__name ) ; |
| 3699 |
extern __attribute__((__nothrow__)) int clearenv(void) ; |
|
3699 |
extern __attribute__((__nothrow__)) int clearenv(void) ; |
| 3700 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ; |
|
3700 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ; |
| 3701 |
extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template ) ; |
|
3701 |
extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template ) ; |
| 3702 |
extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template , |
|
3702 |
extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template , |
| 3703 |
int __suffixlen ) ; |
|
3703 |
int __suffixlen ) ; |
| 3704 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ; |
|
3704 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ; |
| 3705 |
extern int system(char const *__command ) ; |
|
3705 |
extern int system(char const *__command ) ; |
| 3706 |
extern __attribute__((__nothrow__)) char *realpath(char const * __restrict __name , |
|
3706 |
extern __attribute__((__nothrow__)) char *realpath(char const * __restrict __name , |
| 3707 |
char * __restrict __resolved ) ; |
|
3707 |
char * __restrict __resolved ) ; |
| 3708 |
extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const *__key , |
|
3708 |
extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const *__key , |
| 3709 |
void const *__base , |
|
3709 |
void const *__base , |
| 3710 |
size_t __nmemb , |
|
3710 |
size_t __nmemb , |
| 3711 |
size_t __size , |
|
3711 |
size_t __size , |
| 3712 |
int (*__compar)(void const * , |
|
3712 |
int (*__compar)(void const * , |
| 3713 |
void const * ) ) ; |
|
3713 |
void const * ) ) ; |
| 3714 |
extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base , |
|
3714 |
extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base , |
| 3715 |
size_t __nmemb , |
|
3715 |
size_t __nmemb , |
| 3716 |
size_t __size , |
|
3716 |
size_t __size , |
| 3717 |
int (*__compar)(void const * , |
|
3717 |
int (*__compar)(void const * , |
| 3718 |
void const * ) ) ; |
|
3718 |
void const * ) ) ; |
| 3719 |
extern __attribute__((__nothrow__)) int abs(int __x ) __attribute__((__const__)) ; |
|
3719 |
extern __attribute__((__nothrow__)) int abs(int __x ) __attribute__((__const__)) ; |
| 3720 |
extern __attribute__((__nothrow__)) long labs(long __x ) __attribute__((__const__)) ; |
|
3720 |
extern __attribute__((__nothrow__)) long labs(long __x ) __attribute__((__const__)) ; |
| 3721 |
extern __attribute__((__nothrow__)) long long llabs(long long __x ) __attribute__((__const__)) ; |
|
3721 |
extern __attribute__((__nothrow__)) long long llabs(long long __x ) __attribute__((__const__)) ; |
| 3722 |
extern __attribute__((__nothrow__)) div_t div(int __numer , int __denom ) __attribute__((__const__)) ; |
|
3722 |
extern __attribute__((__nothrow__)) div_t div(int __numer , int __denom ) __attribute__((__const__)) ; |
| 3723 |
extern __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom ) __attribute__((__const__)) ; |
|
3723 |
extern __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom ) __attribute__((__const__)) ; |
| 3724 |
extern __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer , |
|
3724 |
extern __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer , |
| 3725 |
long long __denom ) __attribute__((__const__)) ; |
|
3725 |
long long __denom ) __attribute__((__const__)) ; |
| 3726 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value , |
|
3726 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value , |
| 3727 |
int __ndigit , |
|
3727 |
int __ndigit , |
| 3728 |
int * __restrict __decpt , |
|
3728 |
int * __restrict __decpt , |
| 3729 |
int * __restrict __sign ) ; |
|
3729 |
int * __restrict __sign ) ; |
| 3730 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value , |
|
3730 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value , |
| 3731 |
int __ndigit , |
|
3731 |
int __ndigit , |
| 3732 |
int * __restrict __decpt , |
|
3732 |
int * __restrict __decpt , |
| 3733 |
int * __restrict __sign ) ; |
|
3733 |
int * __restrict __sign ) ; |
| 3734 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value , |
|
3734 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value , |
| 3735 |
int __ndigit , |
|
3735 |
int __ndigit , |
| 3736 |
char *__buf ) ; |
|
3736 |
char *__buf ) ; |
| 3737 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value , |
|
3737 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value , |
| 3738 |
int __ndigit , |
|
3738 |
int __ndigit , |
| 3739 |
int * __restrict __decpt , |
|
3739 |
int * __restrict __decpt , |
| 3740 |
int * __restrict __sign ) ; |
|
3740 |
int * __restrict __sign ) ; |
| 3741 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value , |
|
3741 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value , |
| 3742 |
int __ndigit , |
|
3742 |
int __ndigit , |
| 3743 |
int * __restrict __decpt , |
|
3743 |
int * __restrict __decpt , |
| 3744 |
int * __restrict __sign ) ; |
|
3744 |
int * __restrict __sign ) ; |
| 3745 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value , |
|
3745 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value , |
| 3746 |
int __ndigit , |
|
3746 |
int __ndigit , |
| 3747 |
char *__buf ) ; |
|
3747 |
char *__buf ) ; |
| 3748 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value , |
|
3748 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value , |
| 3749 |
int __ndigit , |
|
3749 |
int __ndigit , |
| 3750 |
int * __restrict __decpt , |
|
3750 |
int * __restrict __decpt , |
| 3751 |
int * __restrict __sign , |
|
3751 |
int * __restrict __sign , |
| 3752 |
char * __restrict __buf , |
|
3752 |
char * __restrict __buf , |
| 3753 |
size_t __len ) ; |
|
3753 |
size_t __len ) ; |
| 3754 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value , |
|
3754 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value , |
| 3755 |
int __ndigit , |
|
3755 |
int __ndigit , |
| 3756 |
int * __restrict __decpt , |
|
3756 |
int * __restrict __decpt , |
| 3757 |
int * __restrict __sign , |
|
3757 |
int * __restrict __sign , |
| 3758 |
char * __restrict __buf , |
|
3758 |
char * __restrict __buf , |
| 3759 |
size_t __len ) ; |
|
3759 |
size_t __len ) ; |
| 3760 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value , |
|
3760 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value , |
| 3761 |
int __ndigit , |
|
3761 |
int __ndigit , |
| 3762 |
int * __restrict __decpt , |
|
3762 |
int * __restrict __decpt , |
| 3763 |
int * __restrict __sign , |
|
3763 |
int * __restrict __sign , |
| 3764 |
char * __restrict __buf , |
|
3764 |
char * __restrict __buf , |
| 3765 |
size_t __len ) ; |
|
3765 |
size_t __len ) ; |
| 3766 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value , |
|
3766 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value , |
| 3767 |
int __ndigit , |
|
3767 |
int __ndigit , |
| 3768 |
int * __restrict __decpt , |
|
3768 |
int * __restrict __decpt , |
| 3769 |
int * __restrict __sign , |
|
3769 |
int * __restrict __sign , |
| 3770 |
char * __restrict __buf , |
|
3770 |
char * __restrict __buf , |
| 3771 |
size_t __len ) ; |
|
3771 |
size_t __len ) ; |
| 3772 |
extern __attribute__((__nothrow__)) int mblen(char const *__s , size_t __n ) ; |
|
3772 |
extern __attribute__((__nothrow__)) int mblen(char const *__s , size_t __n ) ; |
| 3773 |
extern __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict __pwc , |
|
3773 |
extern __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict __pwc , |
| 3774 |
char const * __restrict __s , |
|
3774 |
char const * __restrict __s , |
| 3775 |
size_t __n ) ; |
|
3775 |
size_t __n ) ; |
| 3776 |
extern __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ; |
|
3776 |
extern __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ; |
| 3777 |
extern __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict __pwcs , |
|
3777 |
extern __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict __pwcs , |
| 3778 |
char const * __restrict __s , |
|
3778 |
char const * __restrict __s , |
| 3779 |
size_t __n ) ; |
|
3779 |
size_t __n ) ; |
| 3780 |
extern __attribute__((__nothrow__)) size_t wcstombs(char * __restrict __s , |
|
3780 |
extern __attribute__((__nothrow__)) size_t wcstombs(char * __restrict __s , |
| 3781 |
wchar_t const * __restrict __pwcs , |
|
3781 |
wchar_t const * __restrict __pwcs , |
| 3782 |
size_t __n ) ; |
|
3782 |
size_t __n ) ; |
| 3783 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const *__response ) ; |
|
3783 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const *__response ) ; |
| 3784 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict __optionp , |
|
3784 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict __optionp , |
| 3785 |
char * const * __restrict __tokens , |
|
3785 |
char * const * __restrict __tokens , |
| 3786 |
char ** __restrict __valuep ) ; |
|
3786 |
char ** __restrict __valuep ) ; |
| 3787 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg , |
|
3787 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg , |
| 3788 |
int __nelem ) ; |
|
3788 |
int __nelem ) ; |
| 3789 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict __dest , |
|
3789 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict __dest , |
| 3790 |
void const * __restrict __src , |
|
3790 |
void const * __restrict __src , |
| 3791 |
size_t __n ) ; |
|
3791 |
size_t __n ) ; |
| 3792 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest , |
|
3792 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest , |
| 3793 |
void const *__src , |
|
3793 |
void const *__src , |
| 3794 |
size_t __n ) ; |
|
3794 |
size_t __n ) ; |
| 3795 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict __dest , |
|
3795 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict __dest , |
| 3796 |
void const * __restrict __src , |
|
3796 |
void const * __restrict __src , |
| 3797 |
int __c , |
|
3797 |
int __c , |
| 3798 |
size_t __n ) ; |
|
3798 |
size_t __n ) ; |
| 3799 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s , |
|
3799 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s , |
| 3800 |
int __c , |
|
3800 |
int __c , |
| 3801 |
size_t __n ) ; |
|
3801 |
size_t __n ) ; |
| 3802 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const *__s1 , |
|
3802 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const *__s1 , |
| 3803 |
void const *__s2 , |
|
3803 |
void const *__s2 , |
| 3804 |
size_t __n ) __attribute__((__pure__)) ; |
|
3804 |
size_t __n ) __attribute__((__pure__)) ; |
| 3805 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const *__s , |
|
3805 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const *__s , |
| 3806 |
int __c , |
|
3806 |
int __c , |
| 3807 |
size_t __n ) __attribute__((__pure__)) ; |
|
3807 |
size_t __n ) __attribute__((__pure__)) ; |
| 3808 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict __dest , |
|
3808 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict __dest , |
| 3809 |
char const * __restrict __src ) ; |
|
3809 |
char const * __restrict __src ) ; |
| 3810 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict __dest , |
|
3810 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict __dest , |
| 3811 |
char const * __restrict __src , |
|
3811 |
char const * __restrict __src , |
| 3812 |
size_t __n ) ; |
|
3812 |
size_t __n ) ; |
| 3813 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict __dest , |
|
3813 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict __dest , |
| 3814 |
char const * __restrict __src ) ; |
|
3814 |
char const * __restrict __src ) ; |
| 3815 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict __dest , |
|
3815 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict __dest , |
| 3816 |
char const * __restrict __src , |
|
3816 |
char const * __restrict __src , |
| 3817 |
size_t __n ) ; |
|
3817 |
size_t __n ) ; |
| 3818 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const *__s1 , |
|
3818 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const *__s1 , |
| 3819 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
3819 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 3820 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const *__s1 , |
|
3820 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const *__s1 , |
| 3821 |
char const *__s2 , |
|
3821 |
char const *__s2 , |
| 3822 |
size_t __n ) __attribute__((__pure__)) ; |
|
3822 |
size_t __n ) __attribute__((__pure__)) ; |
| 3823 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const *__s1 , |
|
3823 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const *__s1 , |
| 3824 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
3824 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 3825 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict __dest , |
|
3825 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict __dest , |
| 3826 |
char const * __restrict __src , |
|
3826 |
char const * __restrict __src , |
| 3827 |
size_t __n ) ; |
|
3827 |
size_t __n ) ; |
| 3828 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const *__s1 , |
|
3828 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const *__s1 , |
| 3829 |
char const *__s2 , |
|
3829 |
char const *__s2 , |
| 3830 |
__locale_t __l ) __attribute__((__pure__)) ; |
|
3830 |
__locale_t __l ) __attribute__((__pure__)) ; |
| 3831 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest , |
|
3831 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest , |
| 3832 |
char const *__src , |
|
3832 |
char const *__src , |
| 3833 |
size_t __n , |
|
3833 |
size_t __n , |
| 3834 |
__locale_t __l ) ; |
|
3834 |
__locale_t __l ) ; |
| 3835 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const *__s ) __attribute__((__malloc__)) ; |
|
3835 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const *__s ) __attribute__((__malloc__)) ; |
| 3836 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const *__string , |
|
3836 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const *__string , |
| 3837 |
size_t __n ) __attribute__((__malloc__)) ; |
|
3837 |
size_t __n ) __attribute__((__malloc__)) ; |
| 3838 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const *__s , |
|
3838 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const *__s , |
| 3839 |
int __c ) __attribute__((__pure__)) ; |
|
3839 |
int __c ) __attribute__((__pure__)) ; |
| 3840 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const *__s , |
|
3840 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const *__s , |
| 3841 |
int __c ) __attribute__((__pure__)) ; |
|
3841 |
int __c ) __attribute__((__pure__)) ; |
| 3842 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const *__s , |
|
3842 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const *__s , |
| 3843 |
char const *__reject ) __attribute__((__pure__)) ; |
|
3843 |
char const *__reject ) __attribute__((__pure__)) ; |
| 3844 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const *__s , |
|
3844 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const *__s , |
| 3845 |
char const *__accept ) __attribute__((__pure__)) ; |
|
3845 |
char const *__accept ) __attribute__((__pure__)) ; |
| 3846 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const *__s , |
|
3846 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const *__s , |
| 3847 |
char const *__accept ) __attribute__((__pure__)) ; |
|
3847 |
char const *__accept ) __attribute__((__pure__)) ; |
| 3848 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const *__haystack , |
|
3848 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const *__haystack , |
| 3849 |
char const *__needle ) __attribute__((__pure__)) ; |
|
3849 |
char const *__needle ) __attribute__((__pure__)) ; |
| 3850 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict __s , |
|
3850 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict __s , |
| 3851 |
char const * __restrict __delim ) ; |
|
3851 |
char const * __restrict __delim ) ; |
| 3852 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict __s , |
|
3852 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict __s , |
| 3853 |
char const * __restrict __delim , |
|
3853 |
char const * __restrict __delim , |
| 3854 |
char ** __restrict __save_ptr ) ; |
|
3854 |
char ** __restrict __save_ptr ) ; |
| 3855 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict __s , |
|
3855 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict __s , |
| 3856 |
char const * __restrict __delim , |
|
3856 |
char const * __restrict __delim , |
| 3857 |
char ** __restrict __save_ptr ) ; |
|
3857 |
char ** __restrict __save_ptr ) ; |
| 3858 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const *__s ) __attribute__((__pure__)) ; |
|
3858 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const *__s ) __attribute__((__pure__)) ; |
| 3859 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const *__string , |
|
3859 |
extern __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const *__string , |
| 3860 |
size_t __maxlen ) __attribute__((__pure__)) ; |
|
3860 |
size_t __maxlen ) __attribute__((__pure__)) ; |
| 3861 |
extern __attribute__((__nothrow__)) char *strerror(int __errnum ) ; |
|
3861 |
extern __attribute__((__nothrow__)) char *strerror(int __errnum ) ; |
| 3862 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum , |
|
3862 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum , |
| 3863 |
char *__buf , |
|
3863 |
char *__buf , |
| 3864 |
size_t __buflen ) __asm__("__xpg_strerror_r") ; |
|
3864 |
size_t __buflen ) __asm__("__xpg_strerror_r") ; |
| 3865 |
extern __attribute__((__nothrow__)) char *strerror_l(int __errnum , |
|
3865 |
extern __attribute__((__nothrow__)) char *strerror_l(int __errnum , |
| 3866 |
__locale_t __l ) ; |
|
3866 |
__locale_t __l ) ; |
| 3867 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s , |
|
3867 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s , |
| 3868 |
size_t __n ) ; |
|
3868 |
size_t __n ) ; |
| 3869 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const *__src , |
|
3869 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const *__src , |
| 3870 |
void *__dest , |
|
3870 |
void *__dest , |
| 3871 |
size_t __n ) ; |
|
3871 |
size_t __n ) ; |
| 3872 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s , |
|
3872 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s , |
| 3873 |
size_t __n ) ; |
|
3873 |
size_t __n ) ; |
| 3874 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const *__s1 , |
|
3874 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const *__s1 , |
| 3875 |
void const *__s2 , |
|
3875 |
void const *__s2 , |
| 3876 |
size_t __n ) __attribute__((__pure__)) ; |
|
3876 |
size_t __n ) __attribute__((__pure__)) ; |
| 3877 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const *__s , |
|
3877 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const *__s , |
| 3878 |
int __c ) __attribute__((__pure__)) ; |
|
3878 |
int __c ) __attribute__((__pure__)) ; |
| 3879 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const *__s , |
|
3879 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const *__s , |
| 3880 |
int __c ) __attribute__((__pure__)) ; |
|
3880 |
int __c ) __attribute__((__pure__)) ; |
| 3881 |
extern __attribute__((__nothrow__)) int ffs(int __i ) __attribute__((__const__)) ; |
|
3881 |
extern __attribute__((__nothrow__)) int ffs(int __i ) __attribute__((__const__)) ; |
| 3882 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const *__s1 , |
|
3882 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const *__s1 , |
| 3883 |
char const *__s2 ) __attribute__((__pure__)) ; |
|
3883 |
char const *__s2 ) __attribute__((__pure__)) ; |
| 3884 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const *__s1 , |
|
3884 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const *__s1 , |
| 3885 |
char const *__s2 , |
|
3885 |
char const *__s2 , |
| 3886 |
size_t __n ) __attribute__((__pure__)) ; |
|
3886 |
size_t __n ) __attribute__((__pure__)) ; |
| 3887 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict __stringp , |
|
3887 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict __stringp , |
| 3888 |
char const * __restrict __delim ) ; |
|
3888 |
char const * __restrict __delim ) ; |
| 3889 |
extern __attribute__((__nothrow__)) char *strsignal(int __sig ) ; |
|
3889 |
extern __attribute__((__nothrow__)) char *strsignal(int __sig ) ; |
| 3890 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict __dest , |
|
3890 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict __dest , |
| 3891 |
char const * __restrict __src ) ; |
|
3891 |
char const * __restrict __src ) ; |
| 3892 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict __dest , |
|
3892 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict __dest , |
| 3893 |
char const * __restrict __src ) ; |
|
3893 |
char const * __restrict __src ) ; |
| 3894 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict __dest , |
|
3894 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict __dest , |
| 3895 |
char const * __restrict __src , |
|
3895 |
char const * __restrict __src , |
| 3896 |
size_t __n ) ; |
|
3896 |
size_t __n ) ; |
| 3897 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict __dest , |
|
3897 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict __dest , |
| 3898 |
char const * __restrict __src , |
|
3898 |
char const * __restrict __src , |
| 3899 |
size_t __n ) ; |
|
3899 |
size_t __n ) ; |
| 3900 |
extern void *__rawmemchr(void const *__s , int __c ) ; |
|
3900 |
extern void *__rawmemchr(void const *__s , int __c ) ; |
| 3901 |
__inline extern size_t __strcspn_c1(char const *__s , int __reject ) ; |
|
3901 |
__inline extern size_t __strcspn_c1(char const *__s , int __reject ) ; |
| 3902 |
__inline extern size_t __strcspn_c1(char const *__s , int __reject ) |
|
3902 |
__inline extern size_t __strcspn_c1(char const *__s , int __reject ) |
| 3903 |
{ |
|
3903 |
{ |
| 3904 |
register size_t __result ; |
|
3904 |
register size_t __result ; |
| 3905 |
|
|
3905 |
|
| 3906 |
{ |
|
3906 |
{ |
| 3907 |
__result = (size_t )0; |
|
3907 |
__result = (size_t )0; |
| 3908 |
while (1) { |
|
3908 |
while (1) { |
| 3909 |
if ((int const )*(__s + __result) != 0) { |
|
3909 |
if ((int const )*(__s + __result) != 0) { |
| 3910 |
if ((int const )*(__s + __result) != (int const )__reject) { |
|
3910 |
if ((int const )*(__s + __result) != (int const )__reject) { |
| 3911 |
|
|
3911 |
|
| 3912 |
} else { |
|
3912 |
} else { |
| 3913 |
break; |
|
3913 |
break; |
| 3914 |
} |
|
3914 |
} |
| 3915 |
} else { |
|
3915 |
} else { |
| 3916 |
break; |
|
3916 |
break; |
| 3917 |
} |
|
3917 |
} |
| 3918 |
__result ++; |
|
3918 |
__result ++; |
| 3919 |
} |
|
3919 |
} |
| 3920 |
return (__result); |
|
3920 |
return (__result); |
| 3921 |
} |
|
3921 |
} |
| 3922 |
} |
|
3922 |
} |
| 3923 |
__inline extern size_t __strcspn_c2(char const *__s , int __reject1 , |
|
3923 |
__inline extern size_t __strcspn_c2(char const *__s , int __reject1 , |
| 3924 |
int __reject2 ) ; |
|
3924 |
int __reject2 ) ; |
| 3925 |
__inline extern size_t __strcspn_c2(char const *__s , int __reject1 , |
|
3925 |
__inline extern size_t __strcspn_c2(char const *__s , int __reject1 , |
| 3926 |
int __reject2 ) |
|
3926 |
int __reject2 ) |
| 3927 |
{ |
|
3927 |
{ |
| 3928 |
register size_t __result ; |
|
3928 |
register size_t __result ; |
| 3929 |
|
|
3929 |
|
| 3930 |
{ |
|
3930 |
{ |
| 3931 |
__result = (size_t )0; |
|
3931 |
__result = (size_t )0; |
| 3932 |
while (1) { |
|
3932 |
while (1) { |
| 3933 |
if ((int const )*(__s + __result) != 0) { |
|
3933 |
if ((int const )*(__s + __result) != 0) { |
| 3934 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
|
3934 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
| 3935 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
|
3935 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
| 3936 |
|
|
3936 |
|
| 3937 |
} else { |
|
3937 |
} else { |
| 3938 |
break; |
|
3938 |
break; |
| 3939 |
} |
|
3939 |
} |
| 3940 |
} else { |
|
3940 |
} else { |
| 3941 |
break; |
|
3941 |
break; |
| 3942 |
} |
|
3942 |
} |
| 3943 |
} else { |
|
3943 |
} else { |
| 3944 |
break; |
|
3944 |
break; |
| 3945 |
} |
|
3945 |
} |
| 3946 |
__result ++; |
|
3946 |
__result ++; |
| 3947 |
} |
|
3947 |
} |
| 3948 |
return (__result); |
|
3948 |
return (__result); |
| 3949 |
} |
|
3949 |
} |
| 3950 |
} |
|
3950 |
} |
| 3951 |
__inline extern size_t __strcspn_c3(char const *__s , int __reject1 , |
|
3951 |
__inline extern size_t __strcspn_c3(char const *__s , int __reject1 , |
| 3952 |
int __reject2 , int __reject3 ) ; |
|
3952 |
int __reject2 , int __reject3 ) ; |
| 3953 |
__inline extern size_t __strcspn_c3(char const *__s , int __reject1 , |
|
3953 |
__inline extern size_t __strcspn_c3(char const *__s , int __reject1 , |
| 3954 |
int __reject2 , int __reject3 ) |
|
3954 |
int __reject2 , int __reject3 ) |
| 3955 |
{ |
|
3955 |
{ |
| 3956 |
register size_t __result ; |
|
3956 |
register size_t __result ; |
| 3957 |
|
|
3957 |
|
| 3958 |
{ |
|
3958 |
{ |
| 3959 |
__result = (size_t )0; |
|
3959 |
__result = (size_t )0; |
| 3960 |
while (1) { |
|
3960 |
while (1) { |
| 3961 |
if ((int const )*(__s + __result) != 0) { |
|
3961 |
if ((int const )*(__s + __result) != 0) { |
| 3962 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
|
3962 |
if ((int const )*(__s + __result) != (int const )__reject1) { |
| 3963 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
|
3963 |
if ((int const )*(__s + __result) != (int const )__reject2) { |
| 3964 |
if ((int const )*(__s + __result) != (int const )__reject3) { |
|
3964 |
if ((int const )*(__s + __result) != (int const )__reject3) { |
| 3965 |
|
|
3965 |
|
| 3966 |
} else { |
|
3966 |
} else { |
| 3967 |
break; |
|
3967 |
break; |
| 3968 |
} |
|
3968 |
} |
| 3969 |
} else { |
|
3969 |
} else { |
| 3970 |
break; |
|
3970 |
break; |
| 3971 |
} |
|
3971 |
} |
| 3972 |
} else { |
|
3972 |
} else { |
| 3973 |
break; |
|
3973 |
break; |
| 3974 |
} |
|
3974 |
} |
| 3975 |
} else { |
|
3975 |
} else { |
| 3976 |
break; |
|
3976 |
break; |
| 3977 |
} |
|
3977 |
} |
| 3978 |
__result ++; |
|
3978 |
__result ++; |
| 3979 |
} |
|
3979 |
} |
| 3980 |
return (__result); |
|
3980 |
return (__result); |
| 3981 |
} |
|
3981 |
} |
| 3982 |
} |
|
3982 |
} |
| 3983 |
__inline extern size_t __strspn_c1(char const *__s , int __accept ) ; |
|
3983 |
__inline extern size_t __strspn_c1(char const *__s , int __accept ) ; |
| 3984 |
__inline extern size_t __strspn_c1(char const *__s , int __accept ) |
|
3984 |
__inline extern size_t __strspn_c1(char const *__s , int __accept ) |
| 3985 |
{ |
|
3985 |
{ |
| 3986 |
register size_t __result ; |
|
3986 |
register size_t __result ; |
| 3987 |
|
|
3987 |
|
| 3988 |
{ |
|
3988 |
{ |
| 3989 |
__result = (size_t )0; |
|
3989 |
__result = (size_t )0; |
| 3990 |
while ((int const )*(__s + __result) == (int const )__accept) { |
|
3990 |
while ((int const )*(__s + __result) == (int const )__accept) { |
| 3991 |
__result ++; |
|
3991 |
__result ++; |
| 3992 |
} |
|
3992 |
} |
| 3993 |
return (__result); |
|
3993 |
return (__result); |
| 3994 |
} |
|
3994 |
} |
| 3995 |
} |
|
3995 |
} |
| 3996 |
__inline extern size_t __strspn_c2(char const *__s , int __accept1 , |
|
3996 |
__inline extern size_t __strspn_c2(char const *__s , int __accept1 , |
| 3997 |
int __accept2 ) ; |
|
3997 |
int __accept2 ) ; |
| 3998 |
__inline extern size_t __strspn_c2(char const *__s , int __accept1 , |
|
3998 |
__inline extern size_t __strspn_c2(char const *__s , int __accept1 , |
| 3999 |
int __accept2 ) |
|
3999 |
int __accept2 ) |
| 4000 |
{ |
|
4000 |
{ |
| 4001 |
register size_t __result ; |
|
4001 |
register size_t __result ; |
| 4002 |
|
|
4002 |
|
| 4003 |
{ |
|
4003 |
{ |
| 4004 |
__result = (size_t )0; |
|
4004 |
__result = (size_t )0; |
| 4005 |
while (1) { |
|
4005 |
while (1) { |
| 4006 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
|
4006 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
| 4007 |
|
|
4007 |
|
| 4008 |
} else |
|
4008 |
} else |
| 4009 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
|
4009 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
| 4010 |
|
|
4010 |
|
| 4011 |
} else { |
|
4011 |
} else { |
| 4012 |
break; |
|
4012 |
break; |
| 4013 |
} |
|
4013 |
} |
| 4014 |
__result ++; |
|
4014 |
__result ++; |
| 4015 |
} |
|
4015 |
} |
| 4016 |
return (__result); |
|
4016 |
return (__result); |
| 4017 |
} |
|
4017 |
} |
| 4018 |
} |
|
4018 |
} |
| 4019 |
__inline extern size_t __strspn_c3(char const *__s , int __accept1 , |
|
4019 |
__inline extern size_t __strspn_c3(char const *__s , int __accept1 , |
| 4020 |
int __accept2 , int __accept3 ) ; |
|
4020 |
int __accept2 , int __accept3 ) ; |
| 4021 |
__inline extern size_t __strspn_c3(char const *__s , int __accept1 , |
|
4021 |
__inline extern size_t __strspn_c3(char const *__s , int __accept1 , |
| 4022 |
int __accept2 , int __accept3 ) |
|
4022 |
int __accept2 , int __accept3 ) |
| 4023 |
{ |
|
4023 |
{ |
| 4024 |
register size_t __result ; |
|
4024 |
register size_t __result ; |
| 4025 |
|
|
4025 |
|
| 4026 |
{ |
|
4026 |
{ |
| 4027 |
__result = (size_t )0; |
|
4027 |
__result = (size_t )0; |
| 4028 |
while (1) { |
|
4028 |
while (1) { |
| 4029 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
|
4029 |
if ((int const )*(__s + __result) == (int const )__accept1) { |
| 4030 |
|
|
4030 |
|
| 4031 |
} else |
|
4031 |
} else |
| 4032 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
|
4032 |
if ((int const )*(__s + __result) == (int const )__accept2) { |
| 4033 |
|
|
4033 |
|
| 4034 |
} else |
|
4034 |
} else |
| 4035 |
if ((int const )*(__s + __result) == (int const )__accept3) { |
|
4035 |
if ((int const )*(__s + __result) == (int const )__accept3) { |
| 4036 |
|
|
4036 |
|
| 4037 |
} else { |
|
4037 |
} else { |
| 4038 |
break; |
|
4038 |
break; |
| 4039 |
} |
|
4039 |
} |
| 4040 |
__result ++; |
|
4040 |
__result ++; |
| 4041 |
} |
|
4041 |
} |
| 4042 |
return (__result); |
|
4042 |
return (__result); |
| 4043 |
} |
|
4043 |
} |
| 4044 |
} |
|
4044 |
} |
| 4045 |
__inline extern char *__strpbrk_c2(char const *__s , int __accept1 , |
|
4045 |
__inline extern char *__strpbrk_c2(char const *__s , int __accept1 , |
| 4046 |
int __accept2 ) ; |
|
4046 |
int __accept2 ) ; |
| 4047 |
__inline extern char *__strpbrk_c2(char const *__s , int __accept1 , |
|
4047 |
__inline extern char *__strpbrk_c2(char const *__s , int __accept1 , |
| 4048 |
int __accept2 ) |
|
4048 |
int __accept2 ) |
| 4049 |
{ |
|
4049 |
{ |
| 4050 |
char *tmp ; |
|
4050 |
char *tmp ; |
| 4051 |
|
|
4051 |
|
| 4052 |
{ |
|
4052 |
{ |
| 4053 |
while (1) { |
|
4053 |
while (1) { |
| 4054 |
if ((int const )*__s != 0) { |
|
4054 |
if ((int const )*__s != 0) { |
| 4055 |
if ((int const )*__s != (int const )__accept1) { |
|
4055 |
if ((int const )*__s != (int const )__accept1) { |
| 4056 |
if ((int const )*__s != (int const )__accept2) { |
|
4056 |
if ((int const )*__s != (int const )__accept2) { |
| 4057 |
|
|
4057 |
|
| 4058 |
} else { |
|
4058 |
} else { |
| 4059 |
break; |
|
4059 |
break; |
| 4060 |
} |
|
4060 |
} |
| 4061 |
} else { |
|
4061 |
} else { |
| 4062 |
break; |
|
4062 |
break; |
| 4063 |
} |
|
4063 |
} |
| 4064 |
} else { |
|
4064 |
} else { |
| 4065 |
break; |
|
4065 |
break; |
| 4066 |
} |
|
4066 |
} |
| 4067 |
__s ++; |
|
4067 |
__s ++; |
| 4068 |
} |
|
4068 |
} |
| 4069 |
if ((int const )*__s == 0) { |
|
4069 |
if ((int const )*__s == 0) { |
| 4070 |
tmp = (char *)((void *)0); |
|
4070 |
tmp = (char *)((void *)0); |
| 4071 |
} else { |
|
4071 |
} else { |
| 4072 |
tmp = (char *)((size_t )__s); |
|
4072 |
tmp = (char *)((size_t )__s); |
| 4073 |
} |
|
4073 |
} |
| 4074 |
return (tmp); |
|
4074 |
return (tmp); |
| 4075 |
} |
|
4075 |
} |
| 4076 |
} |
|
4076 |
} |
| 4077 |
__inline extern char *__strpbrk_c3(char const *__s , int __accept1 , |
|
4077 |
__inline extern char *__strpbrk_c3(char const *__s , int __accept1 , |
| 4078 |
int __accept2 , int __accept3 ) ; |
|
4078 |
int __accept2 , int __accept3 ) ; |
| 4079 |
__inline extern char *__strpbrk_c3(char const *__s , int __accept1 , |
|
4079 |
__inline extern char *__strpbrk_c3(char const *__s , int __accept1 , |
| 4080 |
int __accept2 , int __accept3 ) |
|
4080 |
int __accept2 , int __accept3 ) |
| 4081 |
{ |
|
4081 |
{ |
| 4082 |
char *tmp ; |
|
4082 |
char *tmp ; |
| 4083 |
|
|
4083 |
|
| 4084 |
{ |
|
4084 |
{ |
| 4085 |
while (1) { |
|
4085 |
while (1) { |
| 4086 |
if ((int const )*__s != 0) { |
|
4086 |
if ((int const )*__s != 0) { |
| 4087 |
if ((int const )*__s != (int const )__accept1) { |
|
4087 |
if ((int const )*__s != (int const )__accept1) { |
| 4088 |
if ((int const )*__s != (int const )__accept2) { |
|
4088 |
if ((int const )*__s != (int const )__accept2) { |
| 4089 |
if ((int const )*__s != (int const )__accept3) { |
|
4089 |
if ((int const )*__s != (int const )__accept3) { |
| 4090 |
|
|
4090 |
|
| 4091 |
} else { |
|
4091 |
} else { |
| 4092 |
break; |
|
4092 |
break; |
| 4093 |
} |
|
4093 |
} |
| 4094 |
} else { |
|
4094 |
} else { |
| 4095 |
break; |
|
4095 |
break; |
| 4096 |
} |
|
4096 |
} |
| 4097 |
} else { |
|
4097 |
} else { |
| 4098 |
break; |
|
4098 |
break; |
| 4099 |
} |
|
4099 |
} |
| 4100 |
} else { |
|
4100 |
} else { |
| 4101 |
break; |
|
4101 |
break; |
| 4102 |
} |
|
4102 |
} |
| 4103 |
__s ++; |
|
4103 |
__s ++; |
| 4104 |
} |
|
4104 |
} |
| 4105 |
if ((int const )*__s == 0) { |
|
4105 |
if ((int const )*__s == 0) { |
| 4106 |
tmp = (char *)((void *)0); |
|
4106 |
tmp = (char *)((void *)0); |
| 4107 |
} else { |
|
4107 |
} else { |
| 4108 |
tmp = (char *)((size_t )__s); |
|
4108 |
tmp = (char *)((size_t )__s); |
| 4109 |
} |
|
4109 |
} |
| 4110 |
return (tmp); |
|
4110 |
return (tmp); |
| 4111 |
} |
|
4111 |
} |
| 4112 |
} |
|
4112 |
} |
| 4113 |
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ; |
|
4113 |
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ; |
| 4114 |
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) |
|
4114 |
__inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) |
| 4115 |
{ |
|
4115 |
{ |
| 4116 |
char *__result ; |
|
4116 |
char *__result ; |
| 4117 |
char *tmp ; |
|
4117 |
char *tmp ; |
| 4118 |
char *tmp___0 ; |
|
4118 |
char *tmp___0 ; |
| 4119 |
|
|
4119 |
|
| 4120 |
{ |
|
4120 |
{ |
| 4121 |
if ((unsigned int )__s == (unsigned int )((void *)0)) { |
|
4121 |
if ((unsigned int )__s == (unsigned int )((void *)0)) { |
| 4122 |
__s = *__nextp; |
|
4122 |
__s = *__nextp; |
| 4123 |
} else { |
|
4123 |
} else { |
| 4124 |
|
|
4124 |
|
| 4125 |
} |
|
4125 |
} |
| 4126 |
while ((int )*__s == (int )__sep) { |
|
4126 |
while ((int )*__s == (int )__sep) { |
| 4127 |
__s ++; |
|
4127 |
__s ++; |
| 4128 |
} |
|
4128 |
} |
| 4129 |
__result = (char *)((void *)0); |
|
4129 |
__result = (char *)((void *)0); |
| 4130 |
if ((int )*__s != 0) { |
|
4130 |
if ((int )*__s != 0) { |
| 4131 |
tmp = __s; |
|
4131 |
tmp = __s; |
| 4132 |
__s ++; |
|
4132 |
__s ++; |
| 4133 |
__result = tmp; |
|
4133 |
__result = tmp; |
| 4134 |
while ((int )*__s != 0) { |
|
4134 |
while ((int )*__s != 0) { |
| 4135 |
tmp___0 = __s; |
|
4135 |
tmp___0 = __s; |
| 4136 |
__s ++; |
|
4136 |
__s ++; |
| 4137 |
if ((int )*tmp___0 == (int )__sep) { |
|
4137 |
if ((int )*tmp___0 == (int )__sep) { |
| 4138 |
*(__s + -1) = (char )'\000'; |
|
4138 |
*(__s + -1) = (char )'\000'; |
| 4139 |
break; |
|
4139 |
break; |
| 4140 |
} else { |
|
4140 |
} else { |
| 4141 |
|
|
4141 |
|
| 4142 |
} |
|
4142 |
} |
| 4143 |
} |
|
4143 |
} |
| 4144 |
} else { |
|
4144 |
} else { |
| 4145 |
|
|
4145 |
|
| 4146 |
} |
|
4146 |
} |
| 4147 |
*__nextp = __s; |
|
4147 |
*__nextp = __s; |
| 4148 |
return (__result); |
|
4148 |
return (__result); |
| 4149 |
} |
|
4149 |
} |
| 4150 |
} |
|
4150 |
} |
| 4151 |
extern char *__strsep_g(char **__stringp , char const *__delim ) ; |
|
4151 |
extern char *__strsep_g(char **__stringp , char const *__delim ) ; |
| 4152 |
__inline extern char *__strsep_1c(char **__s , char __reject ) ; |
|
4152 |
__inline extern char *__strsep_1c(char **__s , char __reject ) ; |
| 4153 |
__inline extern char *__strsep_1c(char **__s , char __reject ) |
|
4153 |
__inline extern char *__strsep_1c(char **__s , char __reject ) |
| 4154 |
{ |
|
4154 |
{ |
| 4155 |
register char *__retval ; |
|
4155 |
register char *__retval ; |
| 4156 |
char *tmp ; |
|
4156 |
char *tmp ; |
| 4157 |
char *tmp___0 ; |
|
4157 |
char *tmp___0 ; |
| 4158 |
void *tmp___1 ; |
|
4158 |
void *tmp___1 ; |
| 4159 |
char *tmp___2 ; |
|
4159 |
char *tmp___2 ; |
| 4160 |
|
|
4160 |
|
| 4161 |
{ |
|
4161 |
{ |
| 4162 |
__retval = *__s; |
|
4162 |
__retval = *__s; |
| 4163 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
4163 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 4164 |
tmp___2 = __builtin_strchr(__retval, (int )__reject); |
|
4164 |
tmp___2 = __builtin_strchr(__retval, (int )__reject); |
| 4165 |
tmp___0 = tmp___2; |
|
4165 |
tmp___0 = tmp___2; |
| 4166 |
*__s = tmp___0; |
|
4166 |
*__s = tmp___0; |
| 4167 |
if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) { |
|
4167 |
if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) { |
| 4168 |
tmp = *__s; |
|
4168 |
tmp = *__s; |
| 4169 |
(*__s) ++; |
|
4169 |
(*__s) ++; |
| 4170 |
*tmp = (char )'\000'; |
|
4170 |
*tmp = (char )'\000'; |
| 4171 |
} else { |
|
4171 |
} else { |
| 4172 |
|
|
4172 |
|
| 4173 |
} |
|
4173 |
} |
| 4174 |
} else { |
|
4174 |
} else { |
| 4175 |
|
|
4175 |
|
| 4176 |
} |
|
4176 |
} |
| 4177 |
return (__retval); |
|
4177 |
return (__retval); |
| 4178 |
} |
|
4178 |
} |
| 4179 |
} |
|
4179 |
} |
| 4180 |
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ; |
|
4180 |
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ; |
| 4181 |
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) |
|
4181 |
__inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) |
| 4182 |
{ |
|
4182 |
{ |
| 4183 |
register char *__retval ; |
|
4183 |
register char *__retval ; |
| 4184 |
register char *__cp ; |
|
4184 |
register char *__cp ; |
| 4185 |
char *tmp ; |
|
4185 |
char *tmp ; |
| 4186 |
|
|
4186 |
|
| 4187 |
{ |
|
4187 |
{ |
| 4188 |
__retval = *__s; |
|
4188 |
__retval = *__s; |
| 4189 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
4189 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 4190 |
__cp = __retval; |
|
4190 |
__cp = __retval; |
| 4191 |
while (1) { |
|
4191 |
while (1) { |
| 4192 |
if ((int )*__cp == 0) { |
|
4192 |
if ((int )*__cp == 0) { |
| 4193 |
__cp = (char *)((void *)0); |
|
4193 |
__cp = (char *)((void *)0); |
| 4194 |
break; |
|
4194 |
break; |
| 4195 |
} else { |
|
4195 |
} else { |
| 4196 |
|
|
4196 |
|
| 4197 |
} |
|
4197 |
} |
| 4198 |
if ((int )*__cp == (int )__reject1) { |
|
4198 |
if ((int )*__cp == (int )__reject1) { |
| 4199 |
tmp = __cp; |
|
4199 |
tmp = __cp; |
| 4200 |
__cp ++; |
|
4200 |
__cp ++; |
| 4201 |
*tmp = (char )'\000'; |
|
4201 |
*tmp = (char )'\000'; |
| 4202 |
break; |
|
4202 |
break; |
| 4203 |
} else |
|
4203 |
} else |
| 4204 |
if ((int )*__cp == (int )__reject2) { |
|
4204 |
if ((int )*__cp == (int )__reject2) { |
| 4205 |
tmp = __cp; |
|
4205 |
tmp = __cp; |
| 4206 |
__cp ++; |
|
4206 |
__cp ++; |
| 4207 |
*tmp = (char )'\000'; |
|
4207 |
*tmp = (char )'\000'; |
| 4208 |
break; |
|
4208 |
break; |
| 4209 |
} else { |
|
4209 |
} else { |
| 4210 |
|
|
4210 |
|
| 4211 |
} |
|
4211 |
} |
| 4212 |
__cp ++; |
|
4212 |
__cp ++; |
| 4213 |
} |
|
4213 |
} |
| 4214 |
*__s = __cp; |
|
4214 |
*__s = __cp; |
| 4215 |
} else { |
|
4215 |
} else { |
| 4216 |
|
|
4216 |
|
| 4217 |
} |
|
4217 |
} |
| 4218 |
return (__retval); |
|
4218 |
return (__retval); |
| 4219 |
} |
|
4219 |
} |
| 4220 |
} |
|
4220 |
} |
| 4221 |
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , |
|
4221 |
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , |
| 4222 |
char __reject3 ) ; |
|
4222 |
char __reject3 ) ; |
| 4223 |
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , |
|
4223 |
__inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 , |
| 4224 |
char __reject3 ) |
|
4224 |
char __reject3 ) |
| 4225 |
{ |
|
4225 |
{ |
| 4226 |
register char *__retval ; |
|
4226 |
register char *__retval ; |
| 4227 |
register char *__cp ; |
|
4227 |
register char *__cp ; |
| 4228 |
char *tmp ; |
|
4228 |
char *tmp ; |
| 4229 |
|
|
4229 |
|
| 4230 |
{ |
|
4230 |
{ |
| 4231 |
__retval = *__s; |
|
4231 |
__retval = *__s; |
| 4232 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
|
4232 |
if ((unsigned int )__retval != (unsigned int )((void *)0)) { |
| 4233 |
__cp = __retval; |
|
4233 |
__cp = __retval; |
| 4234 |
while (1) { |
|
4234 |
while (1) { |
| 4235 |
if ((int )*__cp == 0) { |
|
4235 |
if ((int )*__cp == 0) { |
| 4236 |
__cp = (char *)((void *)0); |
|
4236 |
__cp = (char *)((void *)0); |
| 4237 |
break; |
|
4237 |
break; |
| 4238 |
} else { |
|
4238 |
} else { |
| 4239 |
|
|
4239 |
|
| 4240 |
} |
|
4240 |
} |
| 4241 |
if ((int )*__cp == (int )__reject1) { |
|
4241 |
if ((int )*__cp == (int )__reject1) { |
| 4242 |
tmp = __cp; |
|
4242 |
tmp = __cp; |
| 4243 |
__cp ++; |
|
4243 |
__cp ++; |
| 4244 |
*tmp = (char )'\000'; |
|
4244 |
*tmp = (char )'\000'; |
| 4245 |
break; |
|
4245 |
break; |
| 4246 |
} else |
|
4246 |
} else |
| 4247 |
if ((int )*__cp == (int )__reject2) { |
|
4247 |
if ((int )*__cp == (int )__reject2) { |
| 4248 |
tmp = __cp; |
|
4248 |
tmp = __cp; |
| 4249 |
__cp ++; |
|
4249 |
__cp ++; |
| 4250 |
*tmp = (char )'\000'; |
|
4250 |
*tmp = (char )'\000'; |
| 4251 |
break; |
|
4251 |
break; |
| 4252 |
} else |
|
4252 |
} else |
| 4253 |
if ((int )*__cp == (int )__reject3) { |
|
4253 |
if ((int )*__cp == (int )__reject3) { |
| 4254 |
tmp = __cp; |
|
4254 |
tmp = __cp; |
| 4255 |
__cp ++; |
|
4255 |
__cp ++; |
| 4256 |
*tmp = (char )'\000'; |
|
4256 |
*tmp = (char )'\000'; |
| 4257 |
break; |
|
4257 |
break; |
| 4258 |
} else { |
|
4258 |
} else { |
| 4259 |
|
|
4259 |
|
| 4260 |
} |
|
4260 |
} |
| 4261 |
__cp ++; |
|
4261 |
__cp ++; |
| 4262 |
} |
|
4262 |
} |
| 4263 |
*__s = __cp; |
|
4263 |
*__s = __cp; |
| 4264 |
} else { |
|
4264 |
} else { |
| 4265 |
|
|
4265 |
|
| 4266 |
} |
|
4266 |
} |
| 4267 |
return (__retval); |
|
4267 |
return (__retval); |
| 4268 |
} |
|
4268 |
} |
| 4269 |
} |
|
4269 |
} |
| 4270 |
extern __attribute__((__nothrow__)) char *__strdup(char const *__string ) __attribute__((__malloc__)) ; |
|
4270 |
extern __attribute__((__nothrow__)) char *__strdup(char const *__string ) __attribute__((__malloc__)) ; |
| 4271 |
extern __attribute__((__nothrow__)) char *__strndup(char const *__string , |
|
4271 |
extern __attribute__((__nothrow__)) char *__strndup(char const *__string , |
| 4272 |
size_t __n ) __attribute__((__malloc__)) ; |
|
4272 |
size_t __n ) __attribute__((__malloc__)) ; |
| 4273 |
extern __attribute__((__nothrow__)) double acos(double __x ) ; |
|
4273 |
extern __attribute__((__nothrow__)) double acos(double __x ) ; |
| 4274 |
extern __attribute__((__nothrow__)) double __acos(double __x ) ; |
|
4274 |
extern __attribute__((__nothrow__)) double __acos(double __x ) ; |
| 4275 |
extern __attribute__((__nothrow__)) double asin(double __x ) ; |
|
4275 |
extern __attribute__((__nothrow__)) double asin(double __x ) ; |
| 4276 |
extern __attribute__((__nothrow__)) double __asin(double __x ) ; |
|
4276 |
extern __attribute__((__nothrow__)) double __asin(double __x ) ; |
| 4277 |
extern __attribute__((__nothrow__)) double atan(double __x ) ; |
|
4277 |
extern __attribute__((__nothrow__)) double atan(double __x ) ; |
| 4278 |
extern __attribute__((__nothrow__)) double __atan(double __x ) ; |
|
4278 |
extern __attribute__((__nothrow__)) double __atan(double __x ) ; |
| 4279 |
extern __attribute__((__nothrow__)) double atan2(double __y , double __x ) ; |
|
4279 |
extern __attribute__((__nothrow__)) double atan2(double __y , double __x ) ; |
| 4280 |
extern __attribute__((__nothrow__)) double __atan2(double __y , double __x ) ; |
|
4280 |
extern __attribute__((__nothrow__)) double __atan2(double __y , double __x ) ; |
| 4281 |
extern __attribute__((__nothrow__)) double cos(double __x ) ; |
|
4281 |
extern __attribute__((__nothrow__)) double cos(double __x ) ; |
| 4282 |
extern __attribute__((__nothrow__)) double __cos(double __x ) ; |
|
4282 |
extern __attribute__((__nothrow__)) double __cos(double __x ) ; |
| 4283 |
extern __attribute__((__nothrow__)) double sin(double __x ) ; |
|
4283 |
extern __attribute__((__nothrow__)) double sin(double __x ) ; |
| 4284 |
extern __attribute__((__nothrow__)) double __sin(double __x ) ; |
|
4284 |
extern __attribute__((__nothrow__)) double __sin(double __x ) ; |
| 4285 |
extern __attribute__((__nothrow__)) double tan(double __x ) ; |
|
4285 |
extern __attribute__((__nothrow__)) double tan(double __x ) ; |
| 4286 |
extern __attribute__((__nothrow__)) double __tan(double __x ) ; |
|
4286 |
extern __attribute__((__nothrow__)) double __tan(double __x ) ; |
| 4287 |
extern __attribute__((__nothrow__)) double cosh(double __x ) ; |
|
4287 |
extern __attribute__((__nothrow__)) double cosh(double __x ) ; |
| 4288 |
extern __attribute__((__nothrow__)) double __cosh(double __x ) ; |
|
4288 |
extern __attribute__((__nothrow__)) double __cosh(double __x ) ; |
| 4289 |
extern __attribute__((__nothrow__)) double sinh(double __x ) ; |
|
4289 |
extern __attribute__((__nothrow__)) double sinh(double __x ) ; |
| 4290 |
extern __attribute__((__nothrow__)) double __sinh(double __x ) ; |
|
4290 |
extern __attribute__((__nothrow__)) double __sinh(double __x ) ; |
| 4291 |
extern __attribute__((__nothrow__)) double tanh(double __x ) ; |
|
4291 |
extern __attribute__((__nothrow__)) double tanh(double __x ) ; |
| 4292 |
extern __attribute__((__nothrow__)) double __tanh(double __x ) ; |
|
4292 |
extern __attribute__((__nothrow__)) double __tanh(double __x ) ; |
| 4293 |
extern __attribute__((__nothrow__)) double acosh(double __x ) ; |
|
4293 |
extern __attribute__((__nothrow__)) double acosh(double __x ) ; |
| 4294 |
extern __attribute__((__nothrow__)) double __acosh(double __x ) ; |
|
4294 |
extern __attribute__((__nothrow__)) double __acosh(double __x ) ; |
| 4295 |
extern __attribute__((__nothrow__)) double asinh(double __x ) ; |
|
4295 |
extern __attribute__((__nothrow__)) double asinh(double __x ) ; |
| 4296 |
extern __attribute__((__nothrow__)) double __asinh(double __x ) ; |
|
4296 |
extern __attribute__((__nothrow__)) double __asinh(double __x ) ; |
| 4297 |
extern __attribute__((__nothrow__)) double atanh(double __x ) ; |
|
4297 |
extern __attribute__((__nothrow__)) double atanh(double __x ) ; |
| 4298 |
extern __attribute__((__nothrow__)) double __atanh(double __x ) ; |
|
4298 |
extern __attribute__((__nothrow__)) double __atanh(double __x ) ; |
| 4299 |
extern __attribute__((__nothrow__)) double exp(double __x ) ; |
|
4299 |
extern __attribute__((__nothrow__)) double exp(double __x ) ; |
| 4300 |
extern __attribute__((__nothrow__)) double __exp(double __x ) ; |
|
4300 |
extern __attribute__((__nothrow__)) double __exp(double __x ) ; |
| 4301 |
extern __attribute__((__nothrow__)) double frexp(double __x , int *__exponent ) ; |
|
4301 |
extern __attribute__((__nothrow__)) double frexp(double __x , int *__exponent ) ; |
| 4302 |
extern __attribute__((__nothrow__)) double __frexp(double __x , |
|
4302 |
extern __attribute__((__nothrow__)) double __frexp(double __x , |
| 4303 |
int *__exponent ) ; |
|
4303 |
int *__exponent ) ; |
| 4304 |
extern __attribute__((__nothrow__)) double ldexp(double __x , int __exponent ) ; |
|
4304 |
extern __attribute__((__nothrow__)) double ldexp(double __x , int __exponent ) ; |
| 4305 |
extern __attribute__((__nothrow__)) double __ldexp(double __x , int __exponent ) ; |
|
4305 |
extern __attribute__((__nothrow__)) double __ldexp(double __x , int __exponent ) ; |
| 4306 |
extern __attribute__((__nothrow__)) double log(double __x ) ; |
|
4306 |
extern __attribute__((__nothrow__)) double log(double __x ) ; |
| 4307 |
extern __attribute__((__nothrow__)) double __log(double __x ) ; |
|
4307 |
extern __attribute__((__nothrow__)) double __log(double __x ) ; |
| 4308 |
extern __attribute__((__nothrow__)) double log10(double __x ) ; |
|
4308 |
extern __attribute__((__nothrow__)) double log10(double __x ) ; |
| 4309 |
extern __attribute__((__nothrow__)) double __log10(double __x ) ; |
|
4309 |
extern __attribute__((__nothrow__)) double __log10(double __x ) ; |
| 4310 |
extern __attribute__((__nothrow__)) double modf(double __x , double *__iptr ) ; |
|
4310 |
extern __attribute__((__nothrow__)) double modf(double __x , double *__iptr ) ; |
| 4311 |
extern __attribute__((__nothrow__)) double __modf(double __x , double *__iptr ) ; |
|
4311 |
extern __attribute__((__nothrow__)) double __modf(double __x , double *__iptr ) ; |
| 4312 |
extern __attribute__((__nothrow__)) double expm1(double __x ) ; |
|
4312 |
extern __attribute__((__nothrow__)) double expm1(double __x ) ; |
| 4313 |
extern __attribute__((__nothrow__)) double __expm1(double __x ) ; |
|
4313 |
extern __attribute__((__nothrow__)) double __expm1(double __x ) ; |
| 4314 |
extern __attribute__((__nothrow__)) double log1p(double __x ) ; |
|
4314 |
extern __attribute__((__nothrow__)) double log1p(double __x ) ; |
| 4315 |
extern __attribute__((__nothrow__)) double __log1p(double __x ) ; |
|
4315 |
extern __attribute__((__nothrow__)) double __log1p(double __x ) ; |
| 4316 |
extern __attribute__((__nothrow__)) double logb(double __x ) ; |
|
4316 |
extern __attribute__((__nothrow__)) double logb(double __x ) ; |
| 4317 |
extern __attribute__((__nothrow__)) double __logb(double __x ) ; |
|
4317 |
extern __attribute__((__nothrow__)) double __logb(double __x ) ; |
| 4318 |
extern __attribute__((__nothrow__)) double exp2(double __x ) ; |
|
4318 |
extern __attribute__((__nothrow__)) double exp2(double __x ) ; |
| 4319 |
extern __attribute__((__nothrow__)) double __exp2(double __x ) ; |
|
4319 |
extern __attribute__((__nothrow__)) double __exp2(double __x ) ; |
| 4320 |
extern __attribute__((__nothrow__)) double log2(double __x ) ; |
|
4320 |
extern __attribute__((__nothrow__)) double log2(double __x ) ; |
| 4321 |
extern __attribute__((__nothrow__)) double __log2(double __x ) ; |
|
4321 |
extern __attribute__((__nothrow__)) double __log2(double __x ) ; |
| 4322 |
extern __attribute__((__nothrow__)) double pow(double __x , double __y ) ; |
|
4322 |
extern __attribute__((__nothrow__)) double pow(double __x , double __y ) ; |
| 4323 |
extern __attribute__((__nothrow__)) double __pow(double __x , double __y ) ; |
|
4323 |
extern __attribute__((__nothrow__)) double __pow(double __x , double __y ) ; |
| 4324 |
extern __attribute__((__nothrow__)) double sqrt(double __x ) ; |
|
4324 |
extern __attribute__((__nothrow__)) double sqrt(double __x ) ; |
| 4325 |
extern __attribute__((__nothrow__)) double __sqrt(double __x ) ; |
|
4325 |
extern __attribute__((__nothrow__)) double __sqrt(double __x ) ; |
| 4326 |
extern __attribute__((__nothrow__)) double hypot(double __x , double __y ) ; |
|
4326 |
extern __attribute__((__nothrow__)) double hypot(double __x , double __y ) ; |
| 4327 |
extern __attribute__((__nothrow__)) double __hypot(double __x , double __y ) ; |
|
4327 |
extern __attribute__((__nothrow__)) double __hypot(double __x , double __y ) ; |
| 4328 |
extern __attribute__((__nothrow__)) double cbrt(double __x ) ; |
|
4328 |
extern __attribute__((__nothrow__)) double cbrt(double __x ) ; |
| 4329 |
extern __attribute__((__nothrow__)) double __cbrt(double __x ) ; |
|
4329 |
extern __attribute__((__nothrow__)) double __cbrt(double __x ) ; |
| 4330 |
__inline extern __attribute__((__nothrow__)) double ceil(double __x ) __attribute__((__const__)) ; |
|
4330 |
__inline extern __attribute__((__nothrow__)) double ceil(double __x ) __attribute__((__const__)) ; |
| 4331 |
extern __attribute__((__nothrow__)) double __ceil(double __x ) __attribute__((__const__)) ; |
|
4331 |
extern __attribute__((__nothrow__)) double __ceil(double __x ) __attribute__((__const__)) ; |
| 4332 |
__inline extern __attribute__((__nothrow__)) double fabs(double __x ) __attribute__((__const__)) ; |
|
4332 |
__inline extern __attribute__((__nothrow__)) double fabs(double __x ) __attribute__((__const__)) ; |
| 4333 |
extern __attribute__((__nothrow__)) double __fabs(double __x ) __attribute__((__const__)) ; |
|
4333 |
extern __attribute__((__nothrow__)) double __fabs(double __x ) __attribute__((__const__)) ; |
| 4334 |
__inline extern __attribute__((__nothrow__)) double floor(double __x ) __attribute__((__const__)) ; |
|
4334 |
__inline extern __attribute__((__nothrow__)) double floor(double __x ) __attribute__((__const__)) ; |
| 4335 |
extern __attribute__((__nothrow__)) double __floor(double __x ) __attribute__((__const__)) ; |
|
4335 |
extern __attribute__((__nothrow__)) double __floor(double __x ) __attribute__((__const__)) ; |
| 4336 |
extern __attribute__((__nothrow__)) double fmod(double __x , double __y ) ; |
|
4336 |
extern __attribute__((__nothrow__)) double fmod(double __x , double __y ) ; |
| 4337 |
extern __attribute__((__nothrow__)) double __fmod(double __x , double __y ) ; |
|
4337 |
extern __attribute__((__nothrow__)) double __fmod(double __x , double __y ) ; |
| 4338 |
extern __attribute__((__nothrow__)) int __isinf(double __value ) __attribute__((__const__)) ; |
|
4338 |
extern __attribute__((__nothrow__)) int __isinf(double __value ) __attribute__((__const__)) ; |
| 4339 |
__inline extern __attribute__((__nothrow__)) int __finite(double __x ) __attribute__((__const__)) ; |
|
4339 |
__inline extern __attribute__((__nothrow__)) int __finite(double __x ) __attribute__((__const__)) ; |
| 4340 |
extern __attribute__((__nothrow__)) int isinf(double __value ) __attribute__((__const__)) ; |
|
4340 |
extern __attribute__((__nothrow__)) int isinf(double __value ) __attribute__((__const__)) ; |
| 4341 |
extern __attribute__((__nothrow__)) int finite(double __value ) __attribute__((__const__)) ; |
|
4341 |
extern __attribute__((__nothrow__)) int finite(double __value ) __attribute__((__const__)) ; |
| 4342 |
extern __attribute__((__nothrow__)) double drem(double __x , double __y ) ; |
|
4342 |
extern __attribute__((__nothrow__)) double drem(double __x , double __y ) ; |
| 4343 |
extern __attribute__((__nothrow__)) double __drem(double __x , double __y ) ; |
|
4343 |
extern __attribute__((__nothrow__)) double __drem(double __x , double __y ) ; |
| 4344 |
extern __attribute__((__nothrow__)) double significand(double __x ) ; |
|
4344 |
extern __attribute__((__nothrow__)) double significand(double __x ) ; |
| 4345 |
extern __attribute__((__nothrow__)) double __significand(double __x ) ; |
|
4345 |
extern __attribute__((__nothrow__)) double __significand(double __x ) ; |
| 4346 |
extern __attribute__((__nothrow__)) double copysign(double __x , double __y ) __attribute__((__const__)) ; |
|
4346 |
extern __attribute__((__nothrow__)) double copysign(double __x , double __y ) __attribute__((__const__)) ; |
| 4347 |
extern __attribute__((__nothrow__)) double __copysign(double __x , double __y ) __attribute__((__const__)) ; |
|
4347 |
extern __attribute__((__nothrow__)) double __copysign(double __x , double __y ) __attribute__((__const__)) ; |
| 4348 |
extern __attribute__((__nothrow__)) double nan(char const *__tagb ) __attribute__((__const__)) ; |
|
4348 |
extern __attribute__((__nothrow__)) double nan(char const *__tagb ) __attribute__((__const__)) ; |
| 4349 |
extern __attribute__((__nothrow__)) double __nan(char const *__tagb ) __attribute__((__const__)) ; |
|
4349 |
extern __attribute__((__nothrow__)) double __nan(char const *__tagb ) __attribute__((__const__)) ; |
| 4350 |
extern __attribute__((__nothrow__)) int __isnan(double __value ) __attribute__((__const__)) ; |
|
4350 |
extern __attribute__((__nothrow__)) int __isnan(double __value ) __attribute__((__const__)) ; |
| 4351 |
extern __attribute__((__nothrow__)) int isnan(double __value ) __attribute__((__const__)) ; |
|
4351 |
extern __attribute__((__nothrow__)) int isnan(double __value ) __attribute__((__const__)) ; |
| 4352 |
extern __attribute__((__nothrow__)) double j0(double ) ; |
|
4352 |
extern __attribute__((__nothrow__)) double j0(double ) ; |
| 4353 |
extern __attribute__((__nothrow__)) double __j0(double ) ; |
|
4353 |
extern __attribute__((__nothrow__)) double __j0(double ) ; |
| 4354 |
extern __attribute__((__nothrow__)) double j1(double ) ; |
|
4354 |
extern __attribute__((__nothrow__)) double j1(double ) ; |
| 4355 |
extern __attribute__((__nothrow__)) double __j1(double ) ; |
|
4355 |
extern __attribute__((__nothrow__)) double __j1(double ) ; |
| 4356 |
extern __attribute__((__nothrow__)) double jn(int , double ) ; |
|
4356 |
extern __attribute__((__nothrow__)) double jn(int , double ) ; |
| 4357 |
extern __attribute__((__nothrow__)) double __jn(int , double ) ; |
|
4357 |
extern __attribute__((__nothrow__)) double __jn(int , double ) ; |
| 4358 |
extern __attribute__((__nothrow__)) double y0(double ) ; |
|
4358 |
extern __attribute__((__nothrow__)) double y0(double ) ; |
| 4359 |
extern __attribute__((__nothrow__)) double __y0(double ) ; |
|
4359 |
extern __attribute__((__nothrow__)) double __y0(double ) ; |
| 4360 |
extern __attribute__((__nothrow__)) double y1(double ) ; |
|
4360 |
extern __attribute__((__nothrow__)) double y1(double ) ; |
| 4361 |
extern __attribute__((__nothrow__)) double __y1(double ) ; |
|
4361 |
extern __attribute__((__nothrow__)) double __y1(double ) ; |
| 4362 |
extern __attribute__((__nothrow__)) double yn(int , double ) ; |
|
4362 |
extern __attribute__((__nothrow__)) double yn(int , double ) ; |
| 4363 |
extern __attribute__((__nothrow__)) double __yn(int , double ) ; |
|
4363 |
extern __attribute__((__nothrow__)) double __yn(int , double ) ; |
| 4364 |
extern __attribute__((__nothrow__)) double erf(double ) ; |
|
4364 |
extern __attribute__((__nothrow__)) double erf(double ) ; |
| 4365 |
extern __attribute__((__nothrow__)) double __erf(double ) ; |
|
4365 |
extern __attribute__((__nothrow__)) double __erf(double ) ; |
| 4366 |
extern __attribute__((__nothrow__)) double erfc(double ) ; |
|
4366 |
extern __attribute__((__nothrow__)) double erfc(double ) ; |
| 4367 |
extern __attribute__((__nothrow__)) double __erfc(double ) ; |
|
4367 |
extern __attribute__((__nothrow__)) double __erfc(double ) ; |
| 4368 |
extern __attribute__((__nothrow__)) double lgamma(double ) ; |
|
4368 |
extern __attribute__((__nothrow__)) double lgamma(double ) ; |
| 4369 |
extern __attribute__((__nothrow__)) double __lgamma(double ) ; |
|
4369 |
extern __attribute__((__nothrow__)) double __lgamma(double ) ; |
| 4370 |
extern __attribute__((__nothrow__)) double tgamma(double ) ; |
|
4370 |
extern __attribute__((__nothrow__)) double tgamma(double ) ; |
| 4371 |
extern __attribute__((__nothrow__)) double __tgamma(double ) ; |
|
4371 |
extern __attribute__((__nothrow__)) double __tgamma(double ) ; |
| 4372 |
extern __attribute__((__nothrow__)) double gamma(double ) ; |
|
4372 |
extern __attribute__((__nothrow__)) double gamma(double ) ; |
| 4373 |
extern __attribute__((__nothrow__)) double __gamma(double ) ; |
|
4373 |
extern __attribute__((__nothrow__)) double __gamma(double ) ; |
| 4374 |
extern __attribute__((__nothrow__)) double lgamma_r(double , int *__signgamp ) ; |
|
4374 |
extern __attribute__((__nothrow__)) double lgamma_r(double , int *__signgamp ) ; |
| 4375 |
extern __attribute__((__nothrow__)) double __lgamma_r(double , |
|
4375 |
extern __attribute__((__nothrow__)) double __lgamma_r(double , |
| 4376 |
int *__signgamp ) ; |
|
4376 |
int *__signgamp ) ; |
| 4377 |
extern __attribute__((__nothrow__)) double rint(double __x ) ; |
|
4377 |
extern __attribute__((__nothrow__)) double rint(double __x ) ; |
| 4378 |
extern __attribute__((__nothrow__)) double __rint(double __x ) ; |
|
4378 |
extern __attribute__((__nothrow__)) double __rint(double __x ) ; |
| 4379 |
extern __attribute__((__nothrow__)) double nextafter(double __x , double __y ) __attribute__((__const__)) ; |
|
4379 |
extern __attribute__((__nothrow__)) double nextafter(double __x , double __y ) __attribute__((__const__)) ; |
| 4380 |
extern __attribute__((__nothrow__)) double __nextafter(double __x , double __y ) __attribute__((__const__)) ; |
|
4380 |
extern __attribute__((__nothrow__)) double __nextafter(double __x , double __y ) __attribute__((__const__)) ; |
| 4381 |
extern __attribute__((__nothrow__)) double nexttoward(double __x , |
|
4381 |
extern __attribute__((__nothrow__)) double nexttoward(double __x , |
| 4382 |
long double __y ) __attribute__((__const__)) ; |
|
4382 |
long double __y ) __attribute__((__const__)) ; |
| 4383 |
extern __attribute__((__nothrow__)) double __nexttoward(double __x , |
|
4383 |
extern __attribute__((__nothrow__)) double __nexttoward(double __x , |
| 4384 |
long double __y ) __attribute__((__const__)) ; |
|
4384 |
long double __y ) __attribute__((__const__)) ; |
| 4385 |
extern __attribute__((__nothrow__)) double remainder(double __x , double __y ) ; |
|
4385 |
extern __attribute__((__nothrow__)) double remainder(double __x , double __y ) ; |
| 4386 |
extern __attribute__((__nothrow__)) double __remainder(double __x , double __y ) ; |
|
4386 |
extern __attribute__((__nothrow__)) double __remainder(double __x , double __y ) ; |
| 4387 |
extern __attribute__((__nothrow__)) double scalbn(double __x , int __n ) ; |
|
4387 |
extern __attribute__((__nothrow__)) double scalbn(double __x , int __n ) ; |
| 4388 |
extern __attribute__((__nothrow__)) double __scalbn(double __x , int __n ) ; |
|
4388 |
extern __attribute__((__nothrow__)) double __scalbn(double __x , int __n ) ; |
| 4389 |
extern __attribute__((__nothrow__)) int ilogb(double __x ) ; |
|
4389 |
extern __attribute__((__nothrow__)) int ilogb(double __x ) ; |
| 4390 |
extern __attribute__((__nothrow__)) int __ilogb(double __x ) ; |
|
4390 |
extern __attribute__((__nothrow__)) int __ilogb(double __x ) ; |
| 4391 |
extern __attribute__((__nothrow__)) double scalbln(double __x , long __n ) ; |
|
4391 |
extern __attribute__((__nothrow__)) double scalbln(double __x , long __n ) ; |
| 4392 |
extern __attribute__((__nothrow__)) double __scalbln(double __x , long __n ) ; |
|
4392 |
extern __attribute__((__nothrow__)) double __scalbln(double __x , long __n ) ; |
| 4393 |
extern __attribute__((__nothrow__)) double nearbyint(double __x ) ; |
|
4393 |
extern __attribute__((__nothrow__)) double nearbyint(double __x ) ; |
| 4394 |
extern __attribute__((__nothrow__)) double __nearbyint(double __x ) ; |
|
4394 |
extern __attribute__((__nothrow__)) double __nearbyint(double __x ) ; |
| 4395 |
extern __attribute__((__nothrow__)) double round(double __x ) __attribute__((__const__)) ; |
|
4395 |
extern __attribute__((__nothrow__)) double round(double __x ) __attribute__((__const__)) ; |
| 4396 |
extern __attribute__((__nothrow__)) double __round(double __x ) __attribute__((__const__)) ; |
|
4396 |
extern __attribute__((__nothrow__)) double __round(double __x ) __attribute__((__const__)) ; |
| 4397 |
extern __attribute__((__nothrow__)) double trunc(double __x ) __attribute__((__const__)) ; |
|
4397 |
extern __attribute__((__nothrow__)) double trunc(double __x ) __attribute__((__const__)) ; |
| 4398 |
extern __attribute__((__nothrow__)) double __trunc(double __x ) __attribute__((__const__)) ; |
|
4398 |
extern __attribute__((__nothrow__)) double __trunc(double __x ) __attribute__((__const__)) ; |
| 4399 |
extern __attribute__((__nothrow__)) double remquo(double __x , double __y , |
|
4399 |
extern __attribute__((__nothrow__)) double remquo(double __x , double __y , |
| 4400 |
int *__quo ) ; |
|
4400 |
int *__quo ) ; |
| 4401 |
extern __attribute__((__nothrow__)) double __remquo(double __x , double __y , |
|
4401 |
extern __attribute__((__nothrow__)) double __remquo(double __x , double __y , |
| 4402 |
int *__quo ) ; |
|
4402 |
int *__quo ) ; |
| 4403 |
__inline extern __attribute__((__nothrow__)) long lrint(double __x ) ; |
|
4403 |
__inline extern __attribute__((__nothrow__)) long lrint(double __x ) ; |
| 4404 |
extern __attribute__((__nothrow__)) long __lrint(double __x ) ; |
|
4404 |
extern __attribute__((__nothrow__)) long __lrint(double __x ) ; |
| 4405 |
__inline extern __attribute__((__nothrow__)) long long llrint(double __x ) ; |
|
4405 |
__inline extern __attribute__((__nothrow__)) long long llrint(double __x ) ; |
| 4406 |
extern __attribute__((__nothrow__)) long long __llrint(double __x ) ; |
|
4406 |
extern __attribute__((__nothrow__)) long long __llrint(double __x ) ; |
| 4407 |
extern __attribute__((__nothrow__)) long lround(double __x ) ; |
|
4407 |
extern __attribute__((__nothrow__)) long lround(double __x ) ; |
| 4408 |
extern __attribute__((__nothrow__)) long __lround(double __x ) ; |
|
4408 |
extern __attribute__((__nothrow__)) long __lround(double __x ) ; |
| 4409 |
extern __attribute__((__nothrow__)) long long llround(double __x ) ; |
|
4409 |
extern __attribute__((__nothrow__)) long long llround(double __x ) ; |
| 4410 |
extern __attribute__((__nothrow__)) long long __llround(double __x ) ; |
|
4410 |
extern __attribute__((__nothrow__)) long long __llround(double __x ) ; |
| 4411 |
extern __attribute__((__nothrow__)) double fdim(double __x , double __y ) ; |
|
4411 |
extern __attribute__((__nothrow__)) double fdim(double __x , double __y ) ; |
| 4412 |
extern __attribute__((__nothrow__)) double __fdim(double __x , double __y ) ; |
|
4412 |
extern __attribute__((__nothrow__)) double __fdim(double __x , double __y ) ; |
| 4413 |
extern __attribute__((__nothrow__)) double fmax(double __x , double __y ) ; |
|
4413 |
extern __attribute__((__nothrow__)) double fmax(double __x , double __y ) ; |
| 4414 |
extern __attribute__((__nothrow__)) double __fmax(double __x , double __y ) ; |
|
4414 |
extern __attribute__((__nothrow__)) double __fmax(double __x , double __y ) ; |
| 4415 |
extern __attribute__((__nothrow__)) double fmin(double __x , double __y ) ; |
|
4415 |
extern __attribute__((__nothrow__)) double fmin(double __x , double __y ) ; |
| 4416 |
extern __attribute__((__nothrow__)) double __fmin(double __x , double __y ) ; |
|
4416 |
extern __attribute__((__nothrow__)) double __fmin(double __x , double __y ) ; |
| 4417 |
extern __attribute__((__nothrow__)) int __fpclassify(double __value ) __attribute__((__const__)) ; |
|
4417 |
extern __attribute__((__nothrow__)) int __fpclassify(double __value ) __attribute__((__const__)) ; |
| 4418 |
__inline extern __attribute__((__nothrow__)) int __signbit(double __x ) __attribute__((__const__)) ; |
|
4418 |
__inline extern __attribute__((__nothrow__)) int __signbit(double __x ) __attribute__((__const__)) ; |
| 4419 |
extern __attribute__((__nothrow__)) double fma(double __x , double __y , |
|
4419 |
extern __attribute__((__nothrow__)) double fma(double __x , double __y , |
| 4420 |
double __z ) ; |
|
4420 |
double __z ) ; |
| 4421 |
extern __attribute__((__nothrow__)) double __fma(double __x , double __y , |
|
4421 |
extern __attribute__((__nothrow__)) double __fma(double __x , double __y , |
| 4422 |
double __z ) ; |
|
4422 |
double __z ) ; |
| 4423 |
extern __attribute__((__nothrow__)) double scalb(double __x , double __n ) ; |
|
4423 |
extern __attribute__((__nothrow__)) double scalb(double __x , double __n ) ; |
| 4424 |
extern __attribute__((__nothrow__)) double __scalb(double __x , double __n ) ; |
|
4424 |
extern __attribute__((__nothrow__)) double __scalb(double __x , double __n ) ; |
| 4425 |
extern __attribute__((__nothrow__)) float acosf(float __x ) ; |
|
4425 |
extern __attribute__((__nothrow__)) float acosf(float __x ) ; |
| 4426 |
extern __attribute__((__nothrow__)) float __acosf(float __x ) ; |
|
4426 |
extern __attribute__((__nothrow__)) float __acosf(float __x ) ; |
| 4427 |
extern __attribute__((__nothrow__)) float asinf(float __x ) ; |
|
4427 |
extern __attribute__((__nothrow__)) float asinf(float __x ) ; |
| 4428 |
extern __attribute__((__nothrow__)) float __asinf(float __x ) ; |
|
4428 |
extern __attribute__((__nothrow__)) float __asinf(float __x ) ; |
| 4429 |
extern __attribute__((__nothrow__)) float atanf(float __x ) ; |
|
4429 |
extern __attribute__((__nothrow__)) float atanf(float __x ) ; |
| 4430 |
extern __attribute__((__nothrow__)) float __atanf(float __x ) ; |
|
4430 |
extern __attribute__((__nothrow__)) float __atanf(float __x ) ; |
| 4431 |
extern __attribute__((__nothrow__)) float atan2f(float __y , float __x ) ; |
|
4431 |
extern __attribute__((__nothrow__)) float atan2f(float __y , float __x ) ; |
| 4432 |
extern __attribute__((__nothrow__)) float __atan2f(float __y , float __x ) ; |
|
4432 |
extern __attribute__((__nothrow__)) float __atan2f(float __y , float __x ) ; |
| 4433 |
extern __attribute__((__nothrow__)) float cosf(float __x ) ; |
|
4433 |
extern __attribute__((__nothrow__)) float cosf(float __x ) ; |
| 4434 |
extern __attribute__((__nothrow__)) float __cosf(float __x ) ; |
|
4434 |
extern __attribute__((__nothrow__)) float __cosf(float __x ) ; |
| 4435 |
extern __attribute__((__nothrow__)) float sinf(float __x ) ; |
|
4435 |
extern __attribute__((__nothrow__)) float sinf(float __x ) ; |
| 4436 |
extern __attribute__((__nothrow__)) float __sinf(float __x ) ; |
|
4436 |
extern __attribute__((__nothrow__)) float __sinf(float __x ) ; |
| 4437 |
extern __attribute__((__nothrow__)) float tanf(float __x ) ; |
|
4437 |
extern __attribute__((__nothrow__)) float tanf(float __x ) ; |
| 4438 |
extern __attribute__((__nothrow__)) float __tanf(float __x ) ; |
|
4438 |
extern __attribute__((__nothrow__)) float __tanf(float __x ) ; |
| 4439 |
extern __attribute__((__nothrow__)) float coshf(float __x ) ; |
|
4439 |
extern __attribute__((__nothrow__)) float coshf(float __x ) ; |
| 4440 |
extern __attribute__((__nothrow__)) float __coshf(float __x ) ; |
|
4440 |
extern __attribute__((__nothrow__)) float __coshf(float __x ) ; |
| 4441 |
extern __attribute__((__nothrow__)) float sinhf(float __x ) ; |
|
4441 |
extern __attribute__((__nothrow__)) float sinhf(float __x ) ; |
| 4442 |
extern __attribute__((__nothrow__)) float __sinhf(float __x ) ; |
|
4442 |
extern __attribute__((__nothrow__)) float __sinhf(float __x ) ; |
| 4443 |
extern __attribute__((__nothrow__)) float tanhf(float __x ) ; |
|
4443 |
extern __attribute__((__nothrow__)) float tanhf(float __x ) ; |
| 4444 |
extern __attribute__((__nothrow__)) float __tanhf(float __x ) ; |
|
4444 |
extern __attribute__((__nothrow__)) float __tanhf(float __x ) ; |
| 4445 |
extern __attribute__((__nothrow__)) float acoshf(float __x ) ; |
|
4445 |
extern __attribute__((__nothrow__)) float acoshf(float __x ) ; |
| 4446 |
extern __attribute__((__nothrow__)) float __acoshf(float __x ) ; |
|
4446 |
extern __attribute__((__nothrow__)) float __acoshf(float __x ) ; |
| 4447 |
extern __attribute__((__nothrow__)) float asinhf(float __x ) ; |
|
4447 |
extern __attribute__((__nothrow__)) float asinhf(float __x ) ; |
| 4448 |
extern __attribute__((__nothrow__)) float __asinhf(float __x ) ; |
|
4448 |
extern __attribute__((__nothrow__)) float __asinhf(float __x ) ; |
| 4449 |
extern __attribute__((__nothrow__)) float atanhf(float __x ) ; |
|
4449 |
extern __attribute__((__nothrow__)) float atanhf(float __x ) ; |
| 4450 |
extern __attribute__((__nothrow__)) float __atanhf(float __x ) ; |
|
4450 |
extern __attribute__((__nothrow__)) float __atanhf(float __x ) ; |
| 4451 |
extern __attribute__((__nothrow__)) float expf(float __x ) ; |
|
4451 |
extern __attribute__((__nothrow__)) float expf(float __x ) ; |
| 4452 |
extern __attribute__((__nothrow__)) float __expf(float __x ) ; |
|
4452 |
extern __attribute__((__nothrow__)) float __expf(float __x ) ; |
| 4453 |
extern __attribute__((__nothrow__)) float frexpf(float __x , int *__exponent ) ; |
|
4453 |
extern __attribute__((__nothrow__)) float frexpf(float __x , int *__exponent ) ; |
| 4454 |
extern __attribute__((__nothrow__)) float __frexpf(float __x , int *__exponent ) ; |
|
4454 |
extern __attribute__((__nothrow__)) float __frexpf(float __x , int *__exponent ) ; |
| 4455 |
extern __attribute__((__nothrow__)) float ldexpf(float __x , int __exponent ) ; |
|
4455 |
extern __attribute__((__nothrow__)) float ldexpf(float __x , int __exponent ) ; |
| 4456 |
extern __attribute__((__nothrow__)) float __ldexpf(float __x , int __exponent ) ; |
|
4456 |
extern __attribute__((__nothrow__)) float __ldexpf(float __x , int __exponent ) ; |
| 4457 |
extern __attribute__((__nothrow__)) float logf(float __x ) ; |
|
4457 |
extern __attribute__((__nothrow__)) float logf(float __x ) ; |
| 4458 |
extern __attribute__((__nothrow__)) float __logf(float __x ) ; |
|
4458 |
extern __attribute__((__nothrow__)) float __logf(float __x ) ; |
| 4459 |
extern __attribute__((__nothrow__)) float log10f(float __x ) ; |
|
4459 |
extern __attribute__((__nothrow__)) float log10f(float __x ) ; |
| 4460 |
extern __attribute__((__nothrow__)) float __log10f(float __x ) ; |
|
4460 |
extern __attribute__((__nothrow__)) float __log10f(float __x ) ; |
| 4461 |
extern __attribute__((__nothrow__)) float modff(float __x , float *__iptr ) ; |
|
4461 |
extern __attribute__((__nothrow__)) float modff(float __x , float *__iptr ) ; |
| 4462 |
extern __attribute__((__nothrow__)) float __modff(float __x , float *__iptr ) ; |
|
4462 |
extern __attribute__((__nothrow__)) float __modff(float __x , float *__iptr ) ; |
| 4463 |
extern __attribute__((__nothrow__)) float expm1f(float __x ) ; |
|
4463 |
extern __attribute__((__nothrow__)) float expm1f(float __x ) ; |
| 4464 |
extern __attribute__((__nothrow__)) float __expm1f(float __x ) ; |
|
4464 |
extern __attribute__((__nothrow__)) float __expm1f(float __x ) ; |
| 4465 |
extern __attribute__((__nothrow__)) float log1pf(float __x ) ; |
|
4465 |
extern __attribute__((__nothrow__)) float log1pf(float __x ) ; |
| 4466 |
extern __attribute__((__nothrow__)) float __log1pf(float __x ) ; |
|
4466 |
extern __attribute__((__nothrow__)) float __log1pf(float __x ) ; |
| 4467 |
extern __attribute__((__nothrow__)) float logbf(float __x ) ; |
|
4467 |
extern __attribute__((__nothrow__)) float logbf(float __x ) ; |
| 4468 |
extern __attribute__((__nothrow__)) float __logbf(float __x ) ; |
|
4468 |
extern __attribute__((__nothrow__)) float __logbf(float __x ) ; |
| 4469 |
extern __attribute__((__nothrow__)) float exp2f(float __x ) ; |
|
4469 |
extern __attribute__((__nothrow__)) float exp2f(float __x ) ; |
| 4470 |
extern __attribute__((__nothrow__)) float __exp2f(float __x ) ; |
|
4470 |
extern __attribute__((__nothrow__)) float __exp2f(float __x ) ; |
| 4471 |
extern __attribute__((__nothrow__)) float log2f(float __x ) ; |
|
4471 |
extern __attribute__((__nothrow__)) float log2f(float __x ) ; |
| 4472 |
extern __attribute__((__nothrow__)) float __log2f(float __x ) ; |
|
4472 |
extern __attribute__((__nothrow__)) float __log2f(float __x ) ; |
| 4473 |
extern __attribute__((__nothrow__)) float powf(float __x , float __y ) ; |
|
4473 |
extern __attribute__((__nothrow__)) float powf(float __x , float __y ) ; |
| 4474 |
extern __attribute__((__nothrow__)) float __powf(float __x , float __y ) ; |
|
4474 |
extern __attribute__((__nothrow__)) float __powf(float __x , float __y ) ; |
| 4475 |
extern __attribute__((__nothrow__)) float sqrtf(float __x ) ; |
|
4475 |
extern __attribute__((__nothrow__)) float sqrtf(float __x ) ; |
| 4476 |
extern __attribute__((__nothrow__)) float __sqrtf(float __x ) ; |
|
4476 |
extern __attribute__((__nothrow__)) float __sqrtf(float __x ) ; |
| 4477 |
extern __attribute__((__nothrow__)) float hypotf(float __x , float __y ) ; |
|
4477 |
extern __attribute__((__nothrow__)) float hypotf(float __x , float __y ) ; |
| 4478 |
extern __attribute__((__nothrow__)) float __hypotf(float __x , float __y ) ; |
|
4478 |
extern __attribute__((__nothrow__)) float __hypotf(float __x , float __y ) ; |
| 4479 |
extern __attribute__((__nothrow__)) float cbrtf(float __x ) ; |
|
4479 |
extern __attribute__((__nothrow__)) float cbrtf(float __x ) ; |
| 4480 |
extern __attribute__((__nothrow__)) float __cbrtf(float __x ) ; |
|
4480 |
extern __attribute__((__nothrow__)) float __cbrtf(float __x ) ; |
| 4481 |
__inline extern __attribute__((__nothrow__)) float ceilf(float __x ) __attribute__((__const__)) ; |
|
4481 |
__inline extern __attribute__((__nothrow__)) float ceilf(float __x ) __attribute__((__const__)) ; |
| 4482 |
extern __attribute__((__nothrow__)) float __ceilf(float __x ) __attribute__((__const__)) ; |
|
4482 |
extern __attribute__((__nothrow__)) float __ceilf(float __x ) __attribute__((__const__)) ; |
| 4483 |
__inline extern __attribute__((__nothrow__)) float fabsf(float __x ) __attribute__((__const__)) ; |
|
4483 |
__inline extern __attribute__((__nothrow__)) float fabsf(float __x ) __attribute__((__const__)) ; |
| 4484 |
extern __attribute__((__nothrow__)) float __fabsf(float __x ) __attribute__((__const__)) ; |
|
4484 |
extern __attribute__((__nothrow__)) float __fabsf(float __x ) __attribute__((__const__)) ; |
| 4485 |
__inline extern __attribute__((__nothrow__)) float floorf(float __x ) __attribute__((__const__)) ; |
|
4485 |
__inline extern __attribute__((__nothrow__)) float floorf(float __x ) __attribute__((__const__)) ; |
| 4486 |
extern __attribute__((__nothrow__)) float __floorf(float __x ) __attribute__((__const__)) ; |
|
4486 |
extern __attribute__((__nothrow__)) float __floorf(float __x ) __attribute__((__const__)) ; |
| 4487 |
extern __attribute__((__nothrow__)) float fmodf(float __x , float __y ) ; |
|
4487 |
extern __attribute__((__nothrow__)) float fmodf(float __x , float __y ) ; |
| 4488 |
extern __attribute__((__nothrow__)) float __fmodf(float __x , float __y ) ; |
|
4488 |
extern __attribute__((__nothrow__)) float __fmodf(float __x , float __y ) ; |
| 4489 |
extern __attribute__((__nothrow__)) int __isinff(float __value ) __attribute__((__const__)) ; |
|
4489 |
extern __attribute__((__nothrow__)) int __isinff(float __value ) __attribute__((__const__)) ; |
| 4490 |
extern __attribute__((__nothrow__)) int __finitef(float __value ) __attribute__((__const__)) ; |
|
4490 |
extern __attribute__((__nothrow__)) int __finitef(float __value ) __attribute__((__const__)) ; |
| 4491 |
extern __attribute__((__nothrow__)) int isinff(float __value ) __attribute__((__const__)) ; |
|
4491 |
extern __attribute__((__nothrow__)) int isinff(float __value ) __attribute__((__const__)) ; |
| 4492 |
extern __attribute__((__nothrow__)) int finitef(float __value ) __attribute__((__const__)) ; |
|
4492 |
extern __attribute__((__nothrow__)) int finitef(float __value ) __attribute__((__const__)) ; |
| 4493 |
extern __attribute__((__nothrow__)) float dremf(float __x , float __y ) ; |
|
4493 |
extern __attribute__((__nothrow__)) float dremf(float __x , float __y ) ; |
| 4494 |
extern __attribute__((__nothrow__)) float __dremf(float __x , float __y ) ; |
|
4494 |
extern __attribute__((__nothrow__)) float __dremf(float __x , float __y ) ; |
| 4495 |
extern __attribute__((__nothrow__)) float significandf(float __x ) ; |
|
4495 |
extern __attribute__((__nothrow__)) float significandf(float __x ) ; |
| 4496 |
extern __attribute__((__nothrow__)) float __significandf(float __x ) ; |
|
4496 |
extern __attribute__((__nothrow__)) float __significandf(float __x ) ; |
| 4497 |
extern __attribute__((__nothrow__)) float copysignf(float __x , float __y ) __attribute__((__const__)) ; |
|
4497 |
extern __attribute__((__nothrow__)) float copysignf(float __x , float __y ) __attribute__((__const__)) ; |
| 4498 |
extern __attribute__((__nothrow__)) float __copysignf(float __x , float __y ) __attribute__((__const__)) ; |
|
4498 |
extern __attribute__((__nothrow__)) float __copysignf(float __x , float __y ) __attribute__((__const__)) ; |
| 4499 |
extern __attribute__((__nothrow__)) float nanf(char const *__tagb ) __attribute__((__const__)) ; |
|
4499 |
extern __attribute__((__nothrow__)) float nanf(char const *__tagb ) __attribute__((__const__)) ; |
| 4500 |
extern __attribute__((__nothrow__)) float __nanf(char const *__tagb ) __attribute__((__const__)) ; |
|
4500 |
extern __attribute__((__nothrow__)) float __nanf(char const *__tagb ) __attribute__((__const__)) ; |
| 4501 |
extern __attribute__((__nothrow__)) int __isnanf(float __value ) __attribute__((__const__)) ; |
|
4501 |
extern __attribute__((__nothrow__)) int __isnanf(float __value ) __attribute__((__const__)) ; |
| 4502 |
extern __attribute__((__nothrow__)) int isnanf(float __value ) __attribute__((__const__)) ; |
|
4502 |
extern __attribute__((__nothrow__)) int isnanf(float __value ) __attribute__((__const__)) ; |
| 4503 |
extern __attribute__((__nothrow__)) float j0f(float ) ; |
|
4503 |
extern __attribute__((__nothrow__)) float j0f(float ) ; |
| 4504 |
extern __attribute__((__nothrow__)) float __j0f(float ) ; |
|
4504 |
extern __attribute__((__nothrow__)) float __j0f(float ) ; |
| 4505 |
extern __attribute__((__nothrow__)) float j1f(float ) ; |
|
4505 |
extern __attribute__((__nothrow__)) float j1f(float ) ; |
| 4506 |
extern __attribute__((__nothrow__)) float __j1f(float ) ; |
|
4506 |
extern __attribute__((__nothrow__)) float __j1f(float ) ; |
| 4507 |
extern __attribute__((__nothrow__)) float jnf(int , float ) ; |
|
4507 |
extern __attribute__((__nothrow__)) float jnf(int , float ) ; |
| 4508 |
extern __attribute__((__nothrow__)) float __jnf(int , float ) ; |
|
4508 |
extern __attribute__((__nothrow__)) float __jnf(int , float ) ; |
| 4509 |
extern __attribute__((__nothrow__)) float y0f(float ) ; |
|
4509 |
extern __attribute__((__nothrow__)) float y0f(float ) ; |
| 4510 |
extern __attribute__((__nothrow__)) float __y0f(float ) ; |
|
4510 |
extern __attribute__((__nothrow__)) float __y0f(float ) ; |
| 4511 |
extern __attribute__((__nothrow__)) float y1f(float ) ; |
|
4511 |
extern __attribute__((__nothrow__)) float y1f(float ) ; |
| 4512 |
extern __attribute__((__nothrow__)) float __y1f(float ) ; |
|
4512 |
extern __attribute__((__nothrow__)) float __y1f(float ) ; |
| 4513 |
extern __attribute__((__nothrow__)) float ynf(int , float ) ; |
|
4513 |
extern __attribute__((__nothrow__)) float ynf(int , float ) ; |
| 4514 |
extern __attribute__((__nothrow__)) float __ynf(int , float ) ; |
|
4514 |
extern __attribute__((__nothrow__)) float __ynf(int , float ) ; |
| 4515 |
extern __attribute__((__nothrow__)) float erff(float ) ; |
|
4515 |
extern __attribute__((__nothrow__)) float erff(float ) ; |
| 4516 |
extern __attribute__((__nothrow__)) float __erff(float ) ; |
|
4516 |
extern __attribute__((__nothrow__)) float __erff(float ) ; |
| 4517 |
extern __attribute__((__nothrow__)) float erfcf(float ) ; |
|
4517 |
extern __attribute__((__nothrow__)) float erfcf(float ) ; |
| 4518 |
extern __attribute__((__nothrow__)) float __erfcf(float ) ; |
|
4518 |
extern __attribute__((__nothrow__)) float __erfcf(float ) ; |
| 4519 |
extern __attribute__((__nothrow__)) float lgammaf(float ) ; |
|
4519 |
extern __attribute__((__nothrow__)) float lgammaf(float ) ; |
| 4520 |
extern __attribute__((__nothrow__)) float __lgammaf(float ) ; |
|
4520 |
extern __attribute__((__nothrow__)) float __lgammaf(float ) ; |
| 4521 |
extern __attribute__((__nothrow__)) float tgammaf(float ) ; |
|
4521 |
extern __attribute__((__nothrow__)) float tgammaf(float ) ; |
| 4522 |
extern __attribute__((__nothrow__)) float __tgammaf(float ) ; |
|
4522 |
extern __attribute__((__nothrow__)) float __tgammaf(float ) ; |
| 4523 |
extern __attribute__((__nothrow__)) float gammaf(float ) ; |
|
4523 |
extern __attribute__((__nothrow__)) float gammaf(float ) ; |
| 4524 |
extern __attribute__((__nothrow__)) float __gammaf(float ) ; |
|
4524 |
extern __attribute__((__nothrow__)) float __gammaf(float ) ; |
| 4525 |
extern __attribute__((__nothrow__)) float lgammaf_r(float , int *__signgamp ) ; |
|
4525 |
extern __attribute__((__nothrow__)) float lgammaf_r(float , int *__signgamp ) ; |
| 4526 |
extern __attribute__((__nothrow__)) float __lgammaf_r(float , int *__signgamp ) ; |
|
4526 |
extern __attribute__((__nothrow__)) float __lgammaf_r(float , int *__signgamp ) ; |
| 4527 |
extern __attribute__((__nothrow__)) float rintf(float __x ) ; |
|
4527 |
extern __attribute__((__nothrow__)) float rintf(float __x ) ; |
| 4528 |
extern __attribute__((__nothrow__)) float __rintf(float __x ) ; |
|
4528 |
extern __attribute__((__nothrow__)) float __rintf(float __x ) ; |
| 4529 |
extern __attribute__((__nothrow__)) float nextafterf(float __x , float __y ) __attribute__((__const__)) ; |
|
4529 |
extern __attribute__((__nothrow__)) float nextafterf(float __x , float __y ) __attribute__((__const__)) ; |
| 4530 |
extern __attribute__((__nothrow__)) float __nextafterf(float __x , float __y ) __attribute__((__const__)) ; |
|
4530 |
extern __attribute__((__nothrow__)) float __nextafterf(float __x , float __y ) __attribute__((__const__)) ; |
| 4531 |
extern __attribute__((__nothrow__)) float nexttowardf(float __x , |
|
4531 |
extern __attribute__((__nothrow__)) float nexttowardf(float __x , |
| 4532 |
long double __y ) __attribute__((__const__)) ; |
|
4532 |
long double __y ) __attribute__((__const__)) ; |
| 4533 |
extern __attribute__((__nothrow__)) float __nexttowardf(float __x , |
|
4533 |
extern __attribute__((__nothrow__)) float __nexttowardf(float __x , |
| 4534 |
long double __y ) __attribute__((__const__)) ; |
|
4534 |
long double __y ) __attribute__((__const__)) ; |
| 4535 |
extern __attribute__((__nothrow__)) float remainderf(float __x , float __y ) ; |
|
4535 |
extern __attribute__((__nothrow__)) float remainderf(float __x , float __y ) ; |
| 4536 |
extern __attribute__((__nothrow__)) float __remainderf(float __x , float __y ) ; |
|
4536 |
extern __attribute__((__nothrow__)) float __remainderf(float __x , float __y ) ; |
| 4537 |
extern __attribute__((__nothrow__)) float scalbnf(float __x , int __n ) ; |
|
4537 |
extern __attribute__((__nothrow__)) float scalbnf(float __x , int __n ) ; |
| 4538 |
extern __attribute__((__nothrow__)) float __scalbnf(float __x , int __n ) ; |
|
4538 |
extern __attribute__((__nothrow__)) float __scalbnf(float __x , int __n ) ; |
| 4539 |
extern __attribute__((__nothrow__)) int ilogbf(float __x ) ; |
|
4539 |
extern __attribute__((__nothrow__)) int ilogbf(float __x ) ; |
| 4540 |
extern __attribute__((__nothrow__)) int __ilogbf(float __x ) ; |
|
4540 |
extern __attribute__((__nothrow__)) int __ilogbf(float __x ) ; |
| 4541 |
extern __attribute__((__nothrow__)) float scalblnf(float __x , long __n ) ; |
|
4541 |
extern __attribute__((__nothrow__)) float scalblnf(float __x , long __n ) ; |
| 4542 |
extern __attribute__((__nothrow__)) float __scalblnf(float __x , long __n ) ; |
|
4542 |
extern __attribute__((__nothrow__)) float __scalblnf(float __x , long __n ) ; |
| 4543 |
extern __attribute__((__nothrow__)) float nearbyintf(float __x ) ; |
|
4543 |
extern __attribute__((__nothrow__)) float nearbyintf(float __x ) ; |
| 4544 |
extern __attribute__((__nothrow__)) float __nearbyintf(float __x ) ; |
|
4544 |
extern __attribute__((__nothrow__)) float __nearbyintf(float __x ) ; |
| 4545 |
extern __attribute__((__nothrow__)) float roundf(float __x ) __attribute__((__const__)) ; |
|
4545 |
extern __attribute__((__nothrow__)) float roundf(float __x ) __attribute__((__const__)) ; |
| 4546 |
extern __attribute__((__nothrow__)) float __roundf(float __x ) __attribute__((__const__)) ; |
|
4546 |
extern __attribute__((__nothrow__)) float __roundf(float __x ) __attribute__((__const__)) ; |
| 4547 |
extern __attribute__((__nothrow__)) float truncf(float __x ) __attribute__((__const__)) ; |
|
4547 |
extern __attribute__((__nothrow__)) float truncf(float __x ) __attribute__((__const__)) ; |
| 4548 |
extern __attribute__((__nothrow__)) float __truncf(float __x ) __attribute__((__const__)) ; |
|
4548 |
extern __attribute__((__nothrow__)) float __truncf(float __x ) __attribute__((__const__)) ; |
| 4549 |
extern __attribute__((__nothrow__)) float remquof(float __x , float __y , |
|
4549 |
extern __attribute__((__nothrow__)) float remquof(float __x , float __y , |
| 4550 |
int *__quo ) ; |
|
4550 |
int *__quo ) ; |
| 4551 |
extern __attribute__((__nothrow__)) float __remquof(float __x , float __y , |
|
4551 |
extern __attribute__((__nothrow__)) float __remquof(float __x , float __y , |
| 4552 |
int *__quo ) ; |
|
4552 |
int *__quo ) ; |
| 4553 |
__inline extern __attribute__((__nothrow__)) long lrintf(float __x ) ; |
|
4553 |
__inline extern __attribute__((__nothrow__)) long lrintf(float __x ) ; |
| 4554 |
extern __attribute__((__nothrow__)) long __lrintf(float __x ) ; |
|
4554 |
extern __attribute__((__nothrow__)) long __lrintf(float __x ) ; |
| 4555 |
__inline extern __attribute__((__nothrow__)) long long llrintf(float __x ) ; |
|
4555 |
__inline extern __attribute__((__nothrow__)) long long llrintf(float __x ) ; |
| 4556 |
extern __attribute__((__nothrow__)) long long __llrintf(float __x ) ; |
|
4556 |
extern __attribute__((__nothrow__)) long long __llrintf(float __x ) ; |
| 4557 |
extern __attribute__((__nothrow__)) long lroundf(float __x ) ; |
|
4557 |
extern __attribute__((__nothrow__)) long lroundf(float __x ) ; |
| 4558 |
extern __attribute__((__nothrow__)) long __lroundf(float __x ) ; |
|
4558 |
extern __attribute__((__nothrow__)) long __lroundf(float __x ) ; |
| 4559 |
extern __attribute__((__nothrow__)) long long llroundf(float __x ) ; |
|
4559 |
extern __attribute__((__nothrow__)) long long llroundf(float __x ) ; |
| 4560 |
extern __attribute__((__nothrow__)) long long __llroundf(float __x ) ; |
|
4560 |
extern __attribute__((__nothrow__)) long long __llroundf(float __x ) ; |
| 4561 |
extern __attribute__((__nothrow__)) float fdimf(float __x , float __y ) ; |
|
4561 |
extern __attribute__((__nothrow__)) float fdimf(float __x , float __y ) ; |
| 4562 |
extern __attribute__((__nothrow__)) float __fdimf(float __x , float __y ) ; |
|
4562 |
extern __attribute__((__nothrow__)) float __fdimf(float __x , float __y ) ; |
| 4563 |
extern __attribute__((__nothrow__)) float fmaxf(float __x , float __y ) ; |
|
4563 |
extern __attribute__((__nothrow__)) float fmaxf(float __x , float __y ) ; |
| 4564 |
extern __attribute__((__nothrow__)) float __fmaxf(float __x , float __y ) ; |
|
4564 |
extern __attribute__((__nothrow__)) float __fmaxf(float __x , float __y ) ; |
| 4565 |
extern __attribute__((__nothrow__)) float fminf(float __x , float __y ) ; |
|
4565 |
extern __attribute__((__nothrow__)) float fminf(float __x , float __y ) ; |
| 4566 |
extern __attribute__((__nothrow__)) float __fminf(float __x , float __y ) ; |
|
4566 |
extern __attribute__((__nothrow__)) float __fminf(float __x , float __y ) ; |
| 4567 |
extern __attribute__((__nothrow__)) int __fpclassifyf(float __value ) __attribute__((__const__)) ; |
|
4567 |
extern __attribute__((__nothrow__)) int __fpclassifyf(float __value ) __attribute__((__const__)) ; |
| 4568 |
__inline extern __attribute__((__nothrow__)) int __signbitf(float __x ) __attribute__((__const__)) ; |
|
4568 |
__inline extern __attribute__((__nothrow__)) int __signbitf(float __x ) __attribute__((__const__)) ; |
| 4569 |
extern __attribute__((__nothrow__)) float fmaf(float __x , float __y , |
|
4569 |
extern __attribute__((__nothrow__)) float fmaf(float __x , float __y , |
| 4570 |
float __z ) ; |
|
4570 |
float __z ) ; |
| 4571 |
extern __attribute__((__nothrow__)) float __fmaf(float __x , float __y , |
|
4571 |
extern __attribute__((__nothrow__)) float __fmaf(float __x , float __y , |
| 4572 |
float __z ) ; |
|
4572 |
float __z ) ; |
| 4573 |
extern __attribute__((__nothrow__)) float scalbf(float __x , float __n ) ; |
|
4573 |
extern __attribute__((__nothrow__)) float scalbf(float __x , float __n ) ; |
| 4574 |
extern __attribute__((__nothrow__)) float __scalbf(float __x , float __n ) ; |
|
4574 |
extern __attribute__((__nothrow__)) float __scalbf(float __x , float __n ) ; |
| 4575 |
extern __attribute__((__nothrow__)) long double acosl(long double __x ) ; |
|
4575 |
extern __attribute__((__nothrow__)) long double acosl(long double __x ) ; |
| 4576 |
extern __attribute__((__nothrow__)) long double __acosl(long double __x ) ; |
|
4576 |
extern __attribute__((__nothrow__)) long double __acosl(long double __x ) ; |
| 4577 |
extern __attribute__((__nothrow__)) long double asinl(long double __x ) ; |
|
4577 |
extern __attribute__((__nothrow__)) long double asinl(long double __x ) ; |
| 4578 |
extern __attribute__((__nothrow__)) long double __asinl(long double __x ) ; |
|
4578 |
extern __attribute__((__nothrow__)) long double __asinl(long double __x ) ; |
| 4579 |
extern __attribute__((__nothrow__)) long double atanl(long double __x ) ; |
|
4579 |
extern __attribute__((__nothrow__)) long double atanl(long double __x ) ; |
| 4580 |
extern __attribute__((__nothrow__)) long double __atanl(long double __x ) ; |
|
4580 |
extern __attribute__((__nothrow__)) long double __atanl(long double __x ) ; |
| 4581 |
extern __attribute__((__nothrow__)) long double atan2l(long double __y , |
|
4581 |
extern __attribute__((__nothrow__)) long double atan2l(long double __y , |
| 4582 |
long double __x ) ; |
|
4582 |
long double __x ) ; |
| 4583 |
__inline extern __attribute__((__nothrow__)) long double __atan2l(long double __y , |
|
4583 |
__inline extern __attribute__((__nothrow__)) long double __atan2l(long double __y , |
| 4584 |
long double __x ) ; |
|
4584 |
long double __x ) ; |
| 4585 |
extern __attribute__((__nothrow__)) long double cosl(long double __x ) ; |
|
4585 |
extern __attribute__((__nothrow__)) long double cosl(long double __x ) ; |
| 4586 |
extern __attribute__((__nothrow__)) long double __cosl(long double __x ) ; |
|
4586 |
extern __attribute__((__nothrow__)) long double __cosl(long double __x ) ; |
| 4587 |
extern __attribute__((__nothrow__)) long double sinl(long double __x ) ; |
|
4587 |
extern __attribute__((__nothrow__)) long double sinl(long double __x ) ; |
| 4588 |
extern __attribute__((__nothrow__)) long double __sinl(long double __x ) ; |
|
4588 |
extern __attribute__((__nothrow__)) long double __sinl(long double __x ) ; |
| 4589 |
extern __attribute__((__nothrow__)) long double tanl(long double __x ) ; |
|
4589 |
extern __attribute__((__nothrow__)) long double tanl(long double __x ) ; |
| 4590 |
extern __attribute__((__nothrow__)) long double __tanl(long double __x ) ; |
|
4590 |
extern __attribute__((__nothrow__)) long double __tanl(long double __x ) ; |
| 4591 |
extern __attribute__((__nothrow__)) long double coshl(long double __x ) ; |
|
4591 |
extern __attribute__((__nothrow__)) long double coshl(long double __x ) ; |
| 4592 |
extern __attribute__((__nothrow__)) long double __coshl(long double __x ) ; |
|
4592 |
extern __attribute__((__nothrow__)) long double __coshl(long double __x ) ; |
| 4593 |
extern __attribute__((__nothrow__)) long double sinhl(long double __x ) ; |
|
4593 |
extern __attribute__((__nothrow__)) long double sinhl(long double __x ) ; |
| 4594 |
extern __attribute__((__nothrow__)) long double __sinhl(long double __x ) ; |
|
4594 |
extern __attribute__((__nothrow__)) long double __sinhl(long double __x ) ; |
| 4595 |
extern __attribute__((__nothrow__)) long double tanhl(long double __x ) ; |
|
4595 |
extern __attribute__((__nothrow__)) long double tanhl(long double __x ) ; |
| 4596 |
extern __attribute__((__nothrow__)) long double __tanhl(long double __x ) ; |
|
4596 |
extern __attribute__((__nothrow__)) long double __tanhl(long double __x ) ; |
| 4597 |
extern __attribute__((__nothrow__)) long double acoshl(long double __x ) ; |
|
4597 |
extern __attribute__((__nothrow__)) long double acoshl(long double __x ) ; |
| 4598 |
extern __attribute__((__nothrow__)) long double __acoshl(long double __x ) ; |
|
4598 |
extern __attribute__((__nothrow__)) long double __acoshl(long double __x ) ; |
| 4599 |
extern __attribute__((__nothrow__)) long double asinhl(long double __x ) ; |
|
4599 |
extern __attribute__((__nothrow__)) long double asinhl(long double __x ) ; |
| 4600 |
extern __attribute__((__nothrow__)) long double __asinhl(long double __x ) ; |
|
4600 |
extern __attribute__((__nothrow__)) long double __asinhl(long double __x ) ; |
| 4601 |
extern __attribute__((__nothrow__)) long double atanhl(long double __x ) ; |
|
4601 |
extern __attribute__((__nothrow__)) long double atanhl(long double __x ) ; |
| 4602 |
extern __attribute__((__nothrow__)) long double __atanhl(long double __x ) ; |
|
4602 |
extern __attribute__((__nothrow__)) long double __atanhl(long double __x ) ; |
| 4603 |
extern __attribute__((__nothrow__)) long double expl(long double __x ) ; |
|
4603 |
extern __attribute__((__nothrow__)) long double expl(long double __x ) ; |
| 4604 |
extern __attribute__((__nothrow__)) long double __expl(long double __x ) ; |
|
4604 |
extern __attribute__((__nothrow__)) long double __expl(long double __x ) ; |
| 4605 |
extern __attribute__((__nothrow__)) long double frexpl(long double __x , |
|
4605 |
extern __attribute__((__nothrow__)) long double frexpl(long double __x , |
| 4606 |
int *__exponent ) ; |
|
4606 |
int *__exponent ) ; |
| 4607 |
extern __attribute__((__nothrow__)) long double __frexpl(long double __x , |
|
4607 |
extern __attribute__((__nothrow__)) long double __frexpl(long double __x , |
| 4608 |
int *__exponent ) ; |
|
4608 |
int *__exponent ) ; |
| 4609 |
extern __attribute__((__nothrow__)) long double ldexpl(long double __x , |
|
4609 |
extern __attribute__((__nothrow__)) long double ldexpl(long double __x , |
| 4610 |
int __exponent ) ; |
|
4610 |
int __exponent ) ; |
| 4611 |
extern __attribute__((__nothrow__)) long double __ldexpl(long double __x , |
|
4611 |
extern __attribute__((__nothrow__)) long double __ldexpl(long double __x , |
| 4612 |
int __exponent ) ; |
|
4612 |
int __exponent ) ; |
| 4613 |
extern __attribute__((__nothrow__)) long double logl(long double __x ) ; |
|
4613 |
extern __attribute__((__nothrow__)) long double logl(long double __x ) ; |
| 4614 |
extern __attribute__((__nothrow__)) long double __logl(long double __x ) ; |
|
4614 |
extern __attribute__((__nothrow__)) long double __logl(long double __x ) ; |
| 4615 |
extern __attribute__((__nothrow__)) long double log10l(long double __x ) ; |
|
4615 |
extern __attribute__((__nothrow__)) long double log10l(long double __x ) ; |
| 4616 |
extern __attribute__((__nothrow__)) long double __log10l(long double __x ) ; |
|
4616 |
extern __attribute__((__nothrow__)) long double __log10l(long double __x ) ; |
| 4617 |
extern __attribute__((__nothrow__)) long double modfl(long double __x , |
|
4617 |
extern __attribute__((__nothrow__)) long double modfl(long double __x , |
| 4618 |
long double *__iptr ) ; |
|
4618 |
long double *__iptr ) ; |
| 4619 |
extern __attribute__((__nothrow__)) long double __modfl(long double __x , |
|
4619 |
extern __attribute__((__nothrow__)) long double __modfl(long double __x , |
| 4620 |
long double *__iptr ) ; |
|
4620 |
long double *__iptr ) ; |
| 4621 |
extern __attribute__((__nothrow__)) long double expm1l(long double __x ) ; |
|
4621 |
extern __attribute__((__nothrow__)) long double expm1l(long double __x ) ; |
| 4622 |
extern __attribute__((__nothrow__)) long double __expm1l(long double __x ) ; |
|
4622 |
extern __attribute__((__nothrow__)) long double __expm1l(long double __x ) ; |
| 4623 |
extern __attribute__((__nothrow__)) long double log1pl(long double __x ) ; |
|
4623 |
extern __attribute__((__nothrow__)) long double log1pl(long double __x ) ; |
| 4624 |
extern __attribute__((__nothrow__)) long double __log1pl(long double __x ) ; |
|
4624 |
extern __attribute__((__nothrow__)) long double __log1pl(long double __x ) ; |
| 4625 |
extern __attribute__((__nothrow__)) long double logbl(long double __x ) ; |
|
4625 |
extern __attribute__((__nothrow__)) long double logbl(long double __x ) ; |
| 4626 |
extern __attribute__((__nothrow__)) long double __logbl(long double __x ) ; |
|
4626 |
extern __attribute__((__nothrow__)) long double __logbl(long double __x ) ; |
| 4627 |
extern __attribute__((__nothrow__)) long double exp2l(long double __x ) ; |
|
4627 |
extern __attribute__((__nothrow__)) long double exp2l(long double __x ) ; |
| 4628 |
extern __attribute__((__nothrow__)) long double __exp2l(long double __x ) ; |
|
4628 |
extern __attribute__((__nothrow__)) long double __exp2l(long double __x ) ; |
| 4629 |
extern __attribute__((__nothrow__)) long double log2l(long double __x ) ; |
|
4629 |
extern __attribute__((__nothrow__)) long double log2l(long double __x ) ; |
| 4630 |
extern __attribute__((__nothrow__)) long double __log2l(long double __x ) ; |
|
4630 |
extern __attribute__((__nothrow__)) long double __log2l(long double __x ) ; |
| 4631 |
extern __attribute__((__nothrow__)) long double powl(long double __x , |
|
4631 |
extern __attribute__((__nothrow__)) long double powl(long double __x , |
| 4632 |
long double __y ) ; |
|
4632 |
long double __y ) ; |
| 4633 |
extern __attribute__((__nothrow__)) long double __powl(long double __x , |
|
4633 |
extern __attribute__((__nothrow__)) long double __powl(long double __x , |
| 4634 |
long double __y ) ; |
|
4634 |
long double __y ) ; |
| 4635 |
extern __attribute__((__nothrow__)) long double sqrtl(long double __x ) ; |
|
4635 |
extern __attribute__((__nothrow__)) long double sqrtl(long double __x ) ; |
| 4636 |
extern __attribute__((__nothrow__)) long double __sqrtl(long double __x ) ; |
|
4636 |
extern __attribute__((__nothrow__)) long double __sqrtl(long double __x ) ; |
| 4637 |
extern __attribute__((__nothrow__)) long double hypotl(long double __x , |
|
4637 |
extern __attribute__((__nothrow__)) long double hypotl(long double __x , |
| 4638 |
long double __y ) ; |
|
4638 |
long double __y ) ; |
| 4639 |
extern __attribute__((__nothrow__)) long double __hypotl(long double __x , |
|
4639 |
extern __attribute__((__nothrow__)) long double __hypotl(long double __x , |
| 4640 |
long double __y ) ; |
|
4640 |
long double __y ) ; |
| 4641 |
extern __attribute__((__nothrow__)) long double cbrtl(long double __x ) ; |
|
4641 |
extern __attribute__((__nothrow__)) long double cbrtl(long double __x ) ; |
| 4642 |
extern __attribute__((__nothrow__)) long double __cbrtl(long double __x ) ; |
|
4642 |
extern __attribute__((__nothrow__)) long double __cbrtl(long double __x ) ; |
| 4643 |
__inline extern __attribute__((__nothrow__)) long double ceill(long double __x ) __attribute__((__const__)) ; |
|
4643 |
__inline extern __attribute__((__nothrow__)) long double ceill(long double __x ) __attribute__((__const__)) ; |
| 4644 |
extern __attribute__((__nothrow__)) long double __ceill(long double __x ) __attribute__((__const__)) ; |
|
4644 |
extern __attribute__((__nothrow__)) long double __ceill(long double __x ) __attribute__((__const__)) ; |
| 4645 |
__inline extern __attribute__((__nothrow__)) long double fabsl(long double __x ) __attribute__((__const__)) ; |
|
4645 |
__inline extern __attribute__((__nothrow__)) long double fabsl(long double __x ) __attribute__((__const__)) ; |
| 4646 |
__inline extern __attribute__((__nothrow__)) long double __fabsl(long double __x ) __attribute__((__const__)) ; |
|
4646 |
__inline extern __attribute__((__nothrow__)) long double __fabsl(long double __x ) __attribute__((__const__)) ; |
| 4647 |
__inline extern __attribute__((__nothrow__)) long double floorl(long double __x ) __attribute__((__const__)) ; |
|
4647 |
__inline extern __attribute__((__nothrow__)) long double floorl(long double __x ) __attribute__((__const__)) ; |
| 4648 |
extern __attribute__((__nothrow__)) long double __floorl(long double __x ) __attribute__((__const__)) ; |
|
4648 |
extern __attribute__((__nothrow__)) long double __floorl(long double __x ) __attribute__((__const__)) ; |
| 4649 |
extern __attribute__((__nothrow__)) long double fmodl(long double __x , |
|
4649 |
extern __attribute__((__nothrow__)) long double fmodl(long double __x , |
| 4650 |
long double __y ) ; |
|
4650 |
long double __y ) ; |
| 4651 |
extern __attribute__((__nothrow__)) long double __fmodl(long double __x , |
|
4651 |
extern __attribute__((__nothrow__)) long double __fmodl(long double __x , |
| 4652 |
long double __y ) ; |
|
4652 |
long double __y ) ; |
| 4653 |
extern __attribute__((__nothrow__)) int __isinfl(long double __value ) __attribute__((__const__)) ; |
|
4653 |
extern __attribute__((__nothrow__)) int __isinfl(long double __value ) __attribute__((__const__)) ; |
| 4654 |
extern __attribute__((__nothrow__)) int __finitel(long double __value ) __attribute__((__const__)) ; |
|
4654 |
extern __attribute__((__nothrow__)) int __finitel(long double __value ) __attribute__((__const__)) ; |
| 4655 |
extern __attribute__((__nothrow__)) int isinfl(long double __value ) __attribute__((__const__)) ; |
|
4655 |
extern __attribute__((__nothrow__)) int isinfl(long double __value ) __attribute__((__const__)) ; |
| 4656 |
extern __attribute__((__nothrow__)) int finitel(long double __value ) __attribute__((__const__)) ; |
|
4656 |
extern __attribute__((__nothrow__)) int finitel(long double __value ) __attribute__((__const__)) ; |
| 4657 |
extern __attribute__((__nothrow__)) long double dreml(long double __x , |
|
4657 |
extern __attribute__((__nothrow__)) long double dreml(long double __x , |
| 4658 |
long double __y ) ; |
|
4658 |
long double __y ) ; |
| 4659 |
extern __attribute__((__nothrow__)) long double __dreml(long double __x , |
|
4659 |
extern __attribute__((__nothrow__)) long double __dreml(long double __x , |
| 4660 |
long double __y ) ; |
|
4660 |
long double __y ) ; |
| 4661 |
extern __attribute__((__nothrow__)) long double significandl(long double __x ) ; |
|
4661 |
extern __attribute__((__nothrow__)) long double significandl(long double __x ) ; |
| 4662 |
extern __attribute__((__nothrow__)) long double __significandl(long double __x ) ; |
|
4662 |
extern __attribute__((__nothrow__)) long double __significandl(long double __x ) ; |
| 4663 |
extern __attribute__((__nothrow__)) long double copysignl(long double __x , |
|
4663 |
extern __attribute__((__nothrow__)) long double copysignl(long double __x , |
| 4664 |
long double __y ) __attribute__((__const__)) ; |
|
4664 |
long double __y ) __attribute__((__const__)) ; |
| 4665 |
extern __attribute__((__nothrow__)) long double __copysignl(long double __x , |
|
4665 |
extern __attribute__((__nothrow__)) long double __copysignl(long double __x , |
| 4666 |
long double __y ) __attribute__((__const__)) ; |
|
4666 |
long double __y ) __attribute__((__const__)) ; |
| 4667 |
extern __attribute__((__nothrow__)) long double nanl(char const *__tagb ) __attribute__((__const__)) ; |
|
4667 |
extern __attribute__((__nothrow__)) long double nanl(char const *__tagb ) __attribute__((__const__)) ; |
| 4668 |
extern __attribute__((__nothrow__)) long double __nanl(char const *__tagb ) __attribute__((__const__)) ; |
|
4668 |
extern __attribute__((__nothrow__)) long double __nanl(char const *__tagb ) __attribute__((__const__)) ; |
| 4669 |
extern __attribute__((__nothrow__)) int __isnanl(long double __value ) __attribute__((__const__)) ; |
|
4669 |
extern __attribute__((__nothrow__)) int __isnanl(long double __value ) __attribute__((__const__)) ; |
| 4670 |
extern __attribute__((__nothrow__)) int isnanl(long double __value ) __attribute__((__const__)) ; |
|
4670 |
extern __attribute__((__nothrow__)) int isnanl(long double __value ) __attribute__((__const__)) ; |
| 4671 |
extern __attribute__((__nothrow__)) long double j0l(long double ) ; |
|
4671 |
extern __attribute__((__nothrow__)) long double j0l(long double ) ; |
| 4672 |
extern __attribute__((__nothrow__)) long double __j0l(long double ) ; |
|
4672 |
extern __attribute__((__nothrow__)) long double __j0l(long double ) ; |
| 4673 |
extern __attribute__((__nothrow__)) long double j1l(long double ) ; |
|
4673 |
extern __attribute__((__nothrow__)) long double j1l(long double ) ; |
| 4674 |
extern __attribute__((__nothrow__)) long double __j1l(long double ) ; |
|
4674 |
extern __attribute__((__nothrow__)) long double __j1l(long double ) ; |
| 4675 |
extern __attribute__((__nothrow__)) long double jnl(int , long double ) ; |
|
4675 |
extern __attribute__((__nothrow__)) long double jnl(int , long double ) ; |
| 4676 |
extern __attribute__((__nothrow__)) long double __jnl(int , long double ) ; |
|
4676 |
extern __attribute__((__nothrow__)) long double __jnl(int , long double ) ; |
| 4677 |
extern __attribute__((__nothrow__)) long double y0l(long double ) ; |
|
4677 |
extern __attribute__((__nothrow__)) long double y0l(long double ) ; |
| 4678 |
extern __attribute__((__nothrow__)) long double __y0l(long double ) ; |
|
4678 |
extern __attribute__((__nothrow__)) long double __y0l(long double ) ; |
| 4679 |
extern __attribute__((__nothrow__)) long double y1l(long double ) ; |
|
4679 |
extern __attribute__((__nothrow__)) long double y1l(long double ) ; |
| 4680 |
extern __attribute__((__nothrow__)) long double __y1l(long double ) ; |
|
4680 |
extern __attribute__((__nothrow__)) long double __y1l(long double ) ; |
| 4681 |
extern __attribute__((__nothrow__)) long double ynl(int , long double ) ; |
|
4681 |
extern __attribute__((__nothrow__)) long double ynl(int , long double ) ; |
| 4682 |
extern __attribute__((__nothrow__)) long double __ynl(int , long double ) ; |
|
4682 |
extern __attribute__((__nothrow__)) long double __ynl(int , long double ) ; |
| 4683 |
extern __attribute__((__nothrow__)) long double erfl(long double ) ; |
|
4683 |
extern __attribute__((__nothrow__)) long double erfl(long double ) ; |
| 4684 |
extern __attribute__((__nothrow__)) long double __erfl(long double ) ; |
|
4684 |
extern __attribute__((__nothrow__)) long double __erfl(long double ) ; |
| 4685 |
extern __attribute__((__nothrow__)) long double erfcl(long double ) ; |
|
4685 |
extern __attribute__((__nothrow__)) long double erfcl(long double ) ; |
| 4686 |
extern __attribute__((__nothrow__)) long double __erfcl(long double ) ; |
|
4686 |
extern __attribute__((__nothrow__)) long double __erfcl(long double ) ; |
| 4687 |
extern __attribute__((__nothrow__)) long double lgammal(long double ) ; |
|
4687 |
extern __attribute__((__nothrow__)) long double lgammal(long double ) ; |
| 4688 |
extern __attribute__((__nothrow__)) long double __lgammal(long double ) ; |
|
4688 |
extern __attribute__((__nothrow__)) long double __lgammal(long double ) ; |
| 4689 |
extern __attribute__((__nothrow__)) long double tgammal(long double ) ; |
|
4689 |
extern __attribute__((__nothrow__)) long double tgammal(long double ) ; |
| 4690 |
extern __attribute__((__nothrow__)) long double __tgammal(long double ) ; |
|
4690 |
extern __attribute__((__nothrow__)) long double __tgammal(long double ) ; |
| 4691 |
extern __attribute__((__nothrow__)) long double gammal(long double ) ; |
|
4691 |
extern __attribute__((__nothrow__)) long double gammal(long double ) ; |
| 4692 |
extern __attribute__((__nothrow__)) long double __gammal(long double ) ; |
|
4692 |
extern __attribute__((__nothrow__)) long double __gammal(long double ) ; |
| 4693 |
extern __attribute__((__nothrow__)) long double lgammal_r(long double , |
|
4693 |
extern __attribute__((__nothrow__)) long double lgammal_r(long double , |
| 4694 |
int *__signgamp ) ; |
|
4694 |
int *__signgamp ) ; |
| 4695 |
extern __attribute__((__nothrow__)) long double __lgammal_r(long double , |
|
4695 |
extern __attribute__((__nothrow__)) long double __lgammal_r(long double , |
| 4696 |
int *__signgamp ) ; |
|
4696 |
int *__signgamp ) ; |
| 4697 |
extern __attribute__((__nothrow__)) long double rintl(long double __x ) ; |
|
4697 |
extern __attribute__((__nothrow__)) long double rintl(long double __x ) ; |
| 4698 |
extern __attribute__((__nothrow__)) long double __rintl(long double __x ) ; |
|
4698 |
extern __attribute__((__nothrow__)) long double __rintl(long double __x ) ; |
| 4699 |
extern __attribute__((__nothrow__)) long double nextafterl(long double __x , |
|
4699 |
extern __attribute__((__nothrow__)) long double nextafterl(long double __x , |
| 4700 |
long double __y ) __attribute__((__const__)) ; |
|
4700 |
long double __y ) __attribute__((__const__)) ; |
| 4701 |
extern __attribute__((__nothrow__)) long double __nextafterl(long double __x , |
|
4701 |
extern __attribute__((__nothrow__)) long double __nextafterl(long double __x , |
| 4702 |
long double __y ) __attribute__((__const__)) ; |
|
4702 |
long double __y ) __attribute__((__const__)) ; |
| 4703 |
extern __attribute__((__nothrow__)) long double nexttowardl(long double __x , |
|
4703 |
extern __attribute__((__nothrow__)) long double nexttowardl(long double __x , |
| 4704 |
long double __y ) __attribute__((__const__)) ; |
|
4704 |
long double __y ) __attribute__((__const__)) ; |
| 4705 |
extern __attribute__((__nothrow__)) long double __nexttowardl(long double __x , |
|
4705 |
extern __attribute__((__nothrow__)) long double __nexttowardl(long double __x , |
| 4706 |
long double __y ) __attribute__((__const__)) ; |
|
4706 |
long double __y ) __attribute__((__const__)) ; |
| 4707 |
extern __attribute__((__nothrow__)) long double remainderl(long double __x , |
|
4707 |
extern __attribute__((__nothrow__)) long double remainderl(long double __x , |
| 4708 |
long double __y ) ; |
|
4708 |
long double __y ) ; |
| 4709 |
extern __attribute__((__nothrow__)) long double __remainderl(long double __x , |
|
4709 |
extern __attribute__((__nothrow__)) long double __remainderl(long double __x , |
| 4710 |
long double __y ) ; |
|
4710 |
long double __y ) ; |
| 4711 |
extern __attribute__((__nothrow__)) long double scalbnl(long double __x , |
|
4711 |
extern __attribute__((__nothrow__)) long double scalbnl(long double __x , |
| 4712 |
int __n ) ; |
|
4712 |
int __n ) ; |
| 4713 |
extern __attribute__((__nothrow__)) long double __scalbnl(long double __x , |
|
4713 |
extern __attribute__((__nothrow__)) long double __scalbnl(long double __x , |
| 4714 |
int __n ) ; |
|
4714 |
int __n ) ; |
| 4715 |
extern __attribute__((__nothrow__)) int ilogbl(long double __x ) ; |
|
4715 |
extern __attribute__((__nothrow__)) int ilogbl(long double __x ) ; |
| 4716 |
extern __attribute__((__nothrow__)) int __ilogbl(long double __x ) ; |
|
4716 |
extern __attribute__((__nothrow__)) int __ilogbl(long double __x ) ; |
| 4717 |
extern __attribute__((__nothrow__)) long double scalblnl(long double __x , |
|
4717 |
extern __attribute__((__nothrow__)) long double scalblnl(long double __x , |
| 4718 |
long __n ) ; |
|
4718 |
long __n ) ; |
| 4719 |
extern __attribute__((__nothrow__)) long double __scalblnl(long double __x , |
|
4719 |
extern __attribute__((__nothrow__)) long double __scalblnl(long double __x , |
| 4720 |
long __n ) ; |
|
4720 |
long __n ) ; |
| 4721 |
extern __attribute__((__nothrow__)) long double nearbyintl(long double __x ) ; |
|
4721 |
extern __attribute__((__nothrow__)) long double nearbyintl(long double __x ) ; |
| 4722 |
extern __attribute__((__nothrow__)) long double __nearbyintl(long double __x ) ; |
|
4722 |
extern __attribute__((__nothrow__)) long double __nearbyintl(long double __x ) ; |
| 4723 |
extern __attribute__((__nothrow__)) long double roundl(long double __x ) __attribute__((__const__)) ; |
|
4723 |
extern __attribute__((__nothrow__)) long double roundl(long double __x ) __attribute__((__const__)) ; |
| 4724 |
extern __attribute__((__nothrow__)) long double __roundl(long double __x ) __attribute__((__const__)) ; |
|
4724 |
extern __attribute__((__nothrow__)) long double __roundl(long double __x ) __attribute__((__const__)) ; |
| 4725 |
extern __attribute__((__nothrow__)) long double truncl(long double __x ) __attribute__((__const__)) ; |
|
4725 |
extern __attribute__((__nothrow__)) long double truncl(long double __x ) __attribute__((__const__)) ; |
| 4726 |
extern __attribute__((__nothrow__)) long double __truncl(long double __x ) __attribute__((__const__)) ; |
|
4726 |
extern __attribute__((__nothrow__)) long double __truncl(long double __x ) __attribute__((__const__)) ; |
| 4727 |
extern __attribute__((__nothrow__)) long double remquol(long double __x , |
|
4727 |
extern __attribute__((__nothrow__)) long double remquol(long double __x , |
| 4728 |
long double __y , |
|
4728 |
long double __y , |
| 4729 |
int *__quo ) ; |
|
4729 |
int *__quo ) ; |
| 4730 |
extern __attribute__((__nothrow__)) long double __remquol(long double __x , |
|
4730 |
extern __attribute__((__nothrow__)) long double __remquol(long double __x , |
| 4731 |
long double __y , |
|
4731 |
long double __y , |
| 4732 |
int *__quo ) ; |
|
4732 |
int *__quo ) ; |
| 4733 |
__inline extern __attribute__((__nothrow__)) long lrintl(long double __x ) ; |
|
4733 |
__inline extern __attribute__((__nothrow__)) long lrintl(long double __x ) ; |
| 4734 |
extern __attribute__((__nothrow__)) long __lrintl(long double __x ) ; |
|
4734 |
extern __attribute__((__nothrow__)) long __lrintl(long double __x ) ; |
| 4735 |
__inline extern __attribute__((__nothrow__)) long long llrintl(long double __x ) ; |
|
4735 |
__inline extern __attribute__((__nothrow__)) long long llrintl(long double __x ) ; |
| 4736 |
extern __attribute__((__nothrow__)) long long __llrintl(long double __x ) ; |
|
4736 |
extern __attribute__((__nothrow__)) long long __llrintl(long double __x ) ; |
| 4737 |
extern __attribute__((__nothrow__)) long lroundl(long double __x ) ; |
|
4737 |
extern __attribute__((__nothrow__)) long lroundl(long double __x ) ; |
| 4738 |
extern __attribute__((__nothrow__)) long __lroundl(long double __x ) ; |
|
4738 |
extern __attribute__((__nothrow__)) long __lroundl(long double __x ) ; |
| 4739 |
extern __attribute__((__nothrow__)) long long llroundl(long double __x ) ; |
|
4739 |
extern __attribute__((__nothrow__)) long long llroundl(long double __x ) ; |
| 4740 |
extern __attribute__((__nothrow__)) long long __llroundl(long double __x ) ; |
|
4740 |
extern __attribute__((__nothrow__)) long long __llroundl(long double __x ) ; |
| 4741 |
extern __attribute__((__nothrow__)) long double fdiml(long double __x , |
|
4741 |
extern __attribute__((__nothrow__)) long double fdiml(long double __x , |
| 4742 |
long double __y ) ; |
|
4742 |
long double __y ) ; |
| 4743 |
extern __attribute__((__nothrow__)) long double __fdiml(long double __x , |
|
4743 |
extern __attribute__((__nothrow__)) long double __fdiml(long double __x , |
| 4744 |
long double __y ) ; |
|
4744 |
long double __y ) ; |
| 4745 |
extern __attribute__((__nothrow__)) long double fmaxl(long double __x , |
|
4745 |
extern __attribute__((__nothrow__)) long double fmaxl(long double __x , |
| 4746 |
long double __y ) ; |
|
4746 |
long double __y ) ; |
| 4747 |
extern __attribute__((__nothrow__)) long double __fmaxl(long double __x , |
|
4747 |
extern __attribute__((__nothrow__)) long double __fmaxl(long double __x , |
| 4748 |
long double __y ) ; |
|
4748 |
long double __y ) ; |
| 4749 |
extern __attribute__((__nothrow__)) long double fminl(long double __x , |
|
4749 |
extern __attribute__((__nothrow__)) long double fminl(long double __x , |
| 4750 |
long double __y ) ; |
|
4750 |
long double __y ) ; |
| 4751 |
extern __attribute__((__nothrow__)) long double __fminl(long double __x , |
|
4751 |
extern __attribute__((__nothrow__)) long double __fminl(long double __x , |
| 4752 |
long double __y ) ; |
|
4752 |
long double __y ) ; |
| 4753 |
extern __attribute__((__nothrow__)) int __fpclassifyl(long double __value ) __attribute__((__const__)) ; |
|
4753 |
extern __attribute__((__nothrow__)) int __fpclassifyl(long double __value ) __attribute__((__const__)) ; |
| 4754 |
__inline extern __attribute__((__nothrow__)) int __signbitl(long double __x ) __attribute__((__const__)) ; |
|
4754 |
__inline extern __attribute__((__nothrow__)) int __signbitl(long double __x ) __attribute__((__const__)) ; |
| 4755 |
extern __attribute__((__nothrow__)) long double fmal(long double __x , |
|
4755 |
extern __attribute__((__nothrow__)) long double fmal(long double __x , |
| 4756 |
long double __y , |
|
4756 |
long double __y , |
| 4757 |
long double __z ) ; |
|
4757 |
long double __z ) ; |
| 4758 |
extern __attribute__((__nothrow__)) long double __fmal(long double __x , |
|
4758 |
extern __attribute__((__nothrow__)) long double __fmal(long double __x , |
| 4759 |
long double __y , |
|
4759 |
long double __y , |
| 4760 |
long double __z ) ; |
|
4760 |
long double __z ) ; |
| 4761 |
extern __attribute__((__nothrow__)) long double scalbl(long double __x , |
|
4761 |
extern __attribute__((__nothrow__)) long double scalbl(long double __x , |
| 4762 |
long double __n ) ; |
|
4762 |
long double __n ) ; |
| 4763 |
extern __attribute__((__nothrow__)) long double __scalbl(long double __x , |
|
4763 |
extern __attribute__((__nothrow__)) long double __scalbl(long double __x , |
| 4764 |
long double __n ) ; |
|
4764 |
long double __n ) ; |
| 4765 |
extern int signgam ; |
|
4765 |
extern int signgam ; |
| 4766 |
extern _LIB_VERSION_TYPE _LIB_VERSION ; |
|
4766 |
extern _LIB_VERSION_TYPE _LIB_VERSION ; |
| 4767 |
extern int matherr(struct exception *__exc ) ; |
|
4767 |
extern int matherr(struct exception *__exc ) ; |
| 4768 |
__inline extern __attribute__((__nothrow__)) int __signbitf(float __x ) __attribute__((__const__)) ; |
|
4768 |
__inline extern __attribute__((__nothrow__)) int __signbitf(float __x ) __attribute__((__const__)) ; |
| 4769 |
__inline extern int __signbitf(float __x ) |
|
4769 |
__inline extern int __signbitf(float __x ) |
| 4770 |
{ |
|
4770 |
{ |
| 4771 |
union __anonunion___u_28 __u ; |
|
4771 |
union __anonunion___u_28 __u ; |
| 4772 |
|
|
4772 |
|
| 4773 |
{ |
|
4773 |
{ |
| 4774 |
__u.__f = __x; |
|
4774 |
__u.__f = __x; |
| 4775 |
return (__u.__i < 0); |
|
4775 |
return (__u.__i < 0); |
| 4776 |
} |
|
4776 |
} |
| 4777 |
} |
|
4777 |
} |
| 4778 |
__inline extern __attribute__((__nothrow__)) int __signbit(double __x ) __attribute__((__const__)) ; |
|
4778 |
__inline extern __attribute__((__nothrow__)) int __signbit(double __x ) __attribute__((__const__)) ; |
| 4779 |
__inline extern int __signbit(double __x ) |
|
4779 |
__inline extern int __signbit(double __x ) |
| 4780 |
{ |
|
4780 |
{ |
| 4781 |
union __anonunion___u_29 __u ; |
|
4781 |
union __anonunion___u_29 __u ; |
| 4782 |
|
|
4782 |
|
| 4783 |
{ |
|
4783 |
{ |
| 4784 |
__u.__d = __x; |
|
4784 |
__u.__d = __x; |
| 4785 |
return (__u.__i[1] < 0); |
|
4785 |
return (__u.__i[1] < 0); |
| 4786 |
} |
|
4786 |
} |
| 4787 |
} |
|
4787 |
} |
| 4788 |
__inline extern __attribute__((__nothrow__)) int __signbitl(long double __x ) __attribute__((__const__)) ; |
|
4788 |
__inline extern __attribute__((__nothrow__)) int __signbitl(long double __x ) __attribute__((__const__)) ; |
| 4789 |
__inline extern int __signbitl(long double __x ) |
|
4789 |
__inline extern int __signbitl(long double __x ) |
| 4790 |
{ |
|
4790 |
{ |
| 4791 |
union __anonunion___u_30 __u ; |
|
4791 |
union __anonunion___u_30 __u ; |
| 4792 |
|
|
4792 |
|
| 4793 |
{ |
|
4793 |
{ |
| 4794 |
__u.__l = __x; |
|
4794 |
__u.__l = __x; |
| 4795 |
return ((__u.__i[2] & 32768) != 0); |
|
4795 |
return ((__u.__i[2] & 32768) != 0); |
| 4796 |
} |
|
4796 |
} |
| 4797 |
} |
|
4797 |
} |
| 4798 |
__inline extern __attribute__((__nothrow__)) double __sgn(double __x ) ; |
|
4798 |
__inline extern __attribute__((__nothrow__)) double __sgn(double __x ) ; |
| 4799 |
__inline extern __attribute__((__nothrow__)) double __sgn(double __x ) ; |
|
4799 |
__inline extern __attribute__((__nothrow__)) double __sgn(double __x ) ; |
| 4800 |
__inline extern double __sgn(double __x ) |
|
4800 |
__inline extern double __sgn(double __x ) |
| 4801 |
{ |
|
4801 |
{ |
| 4802 |
double tmp ; |
|
4802 |
double tmp ; |
| 4803 |
double tmp___0 ; |
|
4803 |
double tmp___0 ; |
| 4804 |
|
|
4804 |
|
| 4805 |
{ |
|
4805 |
{ |
| 4806 |
if (__x == 0.0) { |
|
4806 |
if (__x == 0.0) { |
| 4807 |
tmp___0 = 0.0; |
|
4807 |
tmp___0 = 0.0; |
| 4808 |
} else { |
|
4808 |
} else { |
| 4809 |
if (__x > 0.0) { |
|
4809 |
if (__x > 0.0) { |
| 4810 |
tmp = 1.0; |
|
4810 |
tmp = 1.0; |
| 4811 |
} else { |
|
4811 |
} else { |
| 4812 |
tmp = - 1.0; |
|
4812 |
tmp = - 1.0; |
| 4813 |
} |
|
4813 |
} |
| 4814 |
tmp___0 = tmp; |
|
4814 |
tmp___0 = tmp; |
| 4815 |
} |
|
4815 |
} |
| 4816 |
return (tmp___0); |
|
4816 |
return (tmp___0); |
| 4817 |
} |
|
4817 |
} |
| 4818 |
} |
|
4818 |
} |
| 4819 |
__inline extern __attribute__((__nothrow__)) float __sgnf(float __x ) ; |
|
4819 |
__inline extern __attribute__((__nothrow__)) float __sgnf(float __x ) ; |
| 4820 |
__inline extern __attribute__((__nothrow__)) float __sgnf(float __x ) ; |
|
4820 |
__inline extern __attribute__((__nothrow__)) float __sgnf(float __x ) ; |
| 4821 |
__inline extern float __sgnf(float __x ) |
|
4821 |
__inline extern float __sgnf(float __x ) |
| 4822 |
{ |
|
4822 |
{ |
| 4823 |
double tmp ; |
|
4823 |
double tmp ; |
| 4824 |
double tmp___0 ; |
|
4824 |
double tmp___0 ; |
| 4825 |
|
|
4825 |
|
| 4826 |
{ |
|
4826 |
{ |
| 4827 |
if ((double )__x == 0.0) { |
|
4827 |
if ((double )__x == 0.0) { |
| 4828 |
tmp___0 = 0.0; |
|
4828 |
tmp___0 = 0.0; |
| 4829 |
} else { |
|
4829 |
} else { |
| 4830 |
if ((double )__x > 0.0) { |
|
4830 |
if ((double )__x > 0.0) { |
| 4831 |
tmp = 1.0; |
|
4831 |
tmp = 1.0; |
| 4832 |
} else { |
|
4832 |
} else { |
| 4833 |
tmp = - 1.0; |
|
4833 |
tmp = - 1.0; |
| 4834 |
} |
|
4834 |
} |
| 4835 |
tmp___0 = tmp; |
|
4835 |
tmp___0 = tmp; |
| 4836 |
} |
|
4836 |
} |
| 4837 |
return ((float )tmp___0); |
|
4837 |
return ((float )tmp___0); |
| 4838 |
} |
|
4838 |
} |
| 4839 |
} |
|
4839 |
} |
| 4840 |
__inline extern __attribute__((__nothrow__)) long double __sgnl(long double __x ) ; |
|
4840 |
__inline extern __attribute__((__nothrow__)) long double __sgnl(long double __x ) ; |
| 4841 |
__inline extern __attribute__((__nothrow__)) long double __sgnl(long double __x ) ; |
|
4841 |
__inline extern __attribute__((__nothrow__)) long double __sgnl(long double __x ) ; |
| 4842 |
__inline extern long double __sgnl(long double __x ) |
|
4842 |
__inline extern long double __sgnl(long double __x ) |
| 4843 |
{ |
|
4843 |
{ |
| 4844 |
double tmp ; |
|
4844 |
double tmp ; |
| 4845 |
double tmp___0 ; |
|
4845 |
double tmp___0 ; |
| 4846 |
|
|
4846 |
|
| 4847 |
{ |
|
4847 |
{ |
| 4848 |
if (__x == (long double )0.0) { |
|
4848 |
if (__x == (long double )0.0) { |
| 4849 |
tmp___0 = 0.0; |
|
4849 |
tmp___0 = 0.0; |
| 4850 |
} else { |
|
4850 |
} else { |
| 4851 |
if (__x > (long double )0.0) { |
|
4851 |
if (__x > (long double )0.0) { |
| 4852 |
tmp = 1.0; |
|
4852 |
tmp = 1.0; |
| 4853 |
} else { |
|
4853 |
} else { |
| 4854 |
tmp = - 1.0; |
|
4854 |
tmp = - 1.0; |
| 4855 |
} |
|
4855 |
} |
| 4856 |
tmp___0 = tmp; |
|
4856 |
tmp___0 = tmp; |
| 4857 |
} |
|
4857 |
} |
| 4858 |
return ((long double )tmp___0); |
|
4858 |
return ((long double )tmp___0); |
| 4859 |
} |
|
4859 |
} |
| 4860 |
} |
|
4860 |
} |
| 4861 |
__inline extern __attribute__((__nothrow__)) long double __atan2l(long double __y , |
|
4861 |
__inline extern __attribute__((__nothrow__)) long double __atan2l(long double __y , |
| 4862 |
long double __x ) ; |
|
4862 |
long double __x ) ; |
| 4863 |
__inline extern long double __atan2l(long double __y , long double __x ) |
|
4863 |
__inline extern long double __atan2l(long double __y , long double __x ) |
| 4864 |
{ |
|
4864 |
{ |
| 4865 |
long double tmp ; |
|
4865 |
long double tmp ; |
| 4866 |
|
|
4866 |
|
| 4867 |
{ |
|
4867 |
{ |
| 4868 |
tmp = __builtin_atan2l(__y, __x); |
|
4868 |
tmp = __builtin_atan2l(__y, __x); |
| 4869 |
return (tmp); |
|
4869 |
return (tmp); |
| 4870 |
} |
|
4870 |
} |
| 4871 |
} |
|
4871 |
} |
| 4872 |
__inline extern __attribute__((__nothrow__)) double fabs(double __x ) __attribute__((__const__)) ; |
|
4872 |
__inline extern __attribute__((__nothrow__)) double fabs(double __x ) __attribute__((__const__)) ; |
| 4873 |
__inline extern double fabs(double __x ) |
|
4873 |
__inline extern double fabs(double __x ) |
| 4874 |
{ |
|
4874 |
{ |
| 4875 |
double tmp ; |
|
4875 |
double tmp ; |
| 4876 |
|
|
4876 |
|
| 4877 |
{ |
|
4877 |
{ |
| 4878 |
tmp = __builtin_fabs(__x); |
|
4878 |
tmp = __builtin_fabs(__x); |
| 4879 |
return (tmp); |
|
4879 |
return (tmp); |
| 4880 |
} |
|
4880 |
} |
| 4881 |
} |
|
4881 |
} |
| 4882 |
__inline extern __attribute__((__nothrow__)) float fabsf(float __x ) __attribute__((__const__)) ; |
|
4882 |
__inline extern __attribute__((__nothrow__)) float fabsf(float __x ) __attribute__((__const__)) ; |
| 4883 |
__inline extern float fabsf(float __x ) |
|
4883 |
__inline extern float fabsf(float __x ) |
| 4884 |
{ |
|
4884 |
{ |
| 4885 |
float tmp ; |
|
4885 |
float tmp ; |
| 4886 |
|
|
4886 |
|
| 4887 |
{ |
|
4887 |
{ |
| 4888 |
tmp = __builtin_fabsf(__x); |
|
4888 |
tmp = __builtin_fabsf(__x); |
| 4889 |
return (tmp); |
|
4889 |
return (tmp); |
| 4890 |
} |
|
4890 |
} |
| 4891 |
} |
|
4891 |
} |
| 4892 |
__inline extern __attribute__((__nothrow__)) long double fabsl(long double __x ) __attribute__((__const__)) ; |
|
4892 |
__inline extern __attribute__((__nothrow__)) long double fabsl(long double __x ) __attribute__((__const__)) ; |
| 4893 |
__inline extern long double fabsl(long double __x ) |
|
4893 |
__inline extern long double fabsl(long double __x ) |
| 4894 |
{ |
|
4894 |
{ |
| 4895 |
long double tmp ; |
|
4895 |
long double tmp ; |
| 4896 |
|
|
4896 |
|
| 4897 |
{ |
|
4897 |
{ |
| 4898 |
tmp = __builtin_fabsl(__x); |
|
4898 |
tmp = __builtin_fabsl(__x); |
| 4899 |
return (tmp); |
|
4899 |
return (tmp); |
| 4900 |
} |
|
4900 |
} |
| 4901 |
} |
|
4901 |
} |
| 4902 |
__inline extern __attribute__((__nothrow__)) long double __fabsl(long double __x ) __attribute__((__const__)) ; |
|
4902 |
__inline extern __attribute__((__nothrow__)) long double __fabsl(long double __x ) __attribute__((__const__)) ; |
| 4903 |
__inline extern long double __fabsl(long double __x ) |
|
4903 |
__inline extern long double __fabsl(long double __x ) |
| 4904 |
{ |
|
4904 |
{ |
| 4905 |
long double tmp ; |
|
4905 |
long double tmp ; |
| 4906 |
|
|
4906 |
|
| 4907 |
{ |
|
4907 |
{ |
| 4908 |
tmp = __builtin_fabsl(__x); |
|
4908 |
tmp = __builtin_fabsl(__x); |
| 4909 |
return (tmp); |
|
4909 |
return (tmp); |
| 4910 |
} |
|
4910 |
} |
| 4911 |
} |
|
4911 |
} |
| 4912 |
__inline extern __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ; |
|
4912 |
__inline extern __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ; |
| 4913 |
__inline extern __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ; |
|
4913 |
__inline extern __attribute__((__nothrow__)) long double __sgn1l(long double __x ) ; |
| 4914 |
__inline extern long double __sgn1l(long double __x ) |
|
4914 |
__inline extern long double __sgn1l(long double __x ) |
| 4915 |
{ |
|
4915 |
{ |
| 4916 |
union __anonunion___n_31 __n ; |
|
4916 |
union __anonunion___n_31 __n ; |
| 4917 |
|
|
4917 |
|
| 4918 |
{ |
|
4918 |
{ |
| 4919 |
__n.__xld = __x; |
|
4919 |
__n.__xld = __x; |
| 4920 |
__n.__xi[2] = (__n.__xi[2] & 32768U) | 16383U; |
|
4920 |
__n.__xi[2] = (__n.__xi[2] & 32768U) | 16383U; |
| 4921 |
__n.__xi[1] = 2147483648U; |
|
4921 |
__n.__xi[1] = 2147483648U; |
| 4922 |
__n.__xi[0] = 0U; |
|
4922 |
__n.__xi[0] = 0U; |
| 4923 |
return (__n.__xld); |
|
4923 |
return (__n.__xld); |
| 4924 |
} |
|
4924 |
} |
| 4925 |
} |
|
4925 |
} |
| 4926 |
__inline extern __attribute__((__nothrow__)) double floor(double __x ) __attribute__((__const__)) ; |
|
4926 |
__inline extern __attribute__((__nothrow__)) double floor(double __x ) __attribute__((__const__)) ; |
| 4927 |
__inline extern double floor(double __x ) |
|
4927 |
__inline extern double floor(double __x ) |
| 4928 |
{ |
|
4928 |
{ |
| 4929 |
register long double __value ; |
|
4929 |
register long double __value ; |
| 4930 |
register int __ignore ; |
|
4930 |
register int __ignore ; |
| 4931 |
unsigned short __cw ; |
|
4931 |
unsigned short __cw ; |
| 4932 |
unsigned short __cwtmp ; |
|
4932 |
unsigned short __cwtmp ; |
| 4933 |
|
|
4933 |
|
| 4934 |
{ |
|
4934 |
{ |
| 4935 |
__asm__ volatile ("fnstcw %3\n\t" |
|
4935 |
__asm__ volatile ("fnstcw %3\n\t" |
| 4936 |
"movzwl %3, %1\n\t" |
|
4936 |
"movzwl %3, %1\n\t" |
| 4937 |
"andl $0xf3ff, %1\n\t" |
|
4937 |
"andl $0xf3ff, %1\n\t" |
| 4938 |
"orl $0x0400, %1\n\t" |
|
4938 |
"orl $0x0400, %1\n\t" |
| 4939 |
"movw %w1, %2\n\t" |
|
4939 |
"movw %w1, %2\n\t" |
| 4940 |
"fldcw %2\n\t" |
|
4940 |
"fldcw %2\n\t" |
| 4941 |
"frndint\n\t" |
|
4941 |
"frndint\n\t" |
| 4942 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
4942 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 4943 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
4943 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 4944 |
return ((double )__value); |
|
4944 |
return ((double )__value); |
| 4945 |
} |
|
4945 |
} |
| 4946 |
} |
|
4946 |
} |
| 4947 |
__inline extern __attribute__((__nothrow__)) float floorf(float __x ) __attribute__((__const__)) ; |
|
4947 |
__inline extern __attribute__((__nothrow__)) float floorf(float __x ) __attribute__((__const__)) ; |
| 4948 |
__inline extern float floorf(float __x ) |
|
4948 |
__inline extern float floorf(float __x ) |
| 4949 |
{ |
|
4949 |
{ |
| 4950 |
register long double __value ; |
|
4950 |
register long double __value ; |
| 4951 |
register int __ignore ; |
|
4951 |
register int __ignore ; |
| 4952 |
unsigned short __cw ; |
|
4952 |
unsigned short __cw ; |
| 4953 |
unsigned short __cwtmp ; |
|
4953 |
unsigned short __cwtmp ; |
| 4954 |
|
|
4954 |
|
| 4955 |
{ |
|
4955 |
{ |
| 4956 |
__asm__ volatile ("fnstcw %3\n\t" |
|
4956 |
__asm__ volatile ("fnstcw %3\n\t" |
| 4957 |
"movzwl %3, %1\n\t" |
|
4957 |
"movzwl %3, %1\n\t" |
| 4958 |
"andl $0xf3ff, %1\n\t" |
|
4958 |
"andl $0xf3ff, %1\n\t" |
| 4959 |
"orl $0x0400, %1\n\t" |
|
4959 |
"orl $0x0400, %1\n\t" |
| 4960 |
"movw %w1, %2\n\t" |
|
4960 |
"movw %w1, %2\n\t" |
| 4961 |
"fldcw %2\n\t" |
|
4961 |
"fldcw %2\n\t" |
| 4962 |
"frndint\n\t" |
|
4962 |
"frndint\n\t" |
| 4963 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
4963 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 4964 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
4964 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 4965 |
return ((float )__value); |
|
4965 |
return ((float )__value); |
| 4966 |
} |
|
4966 |
} |
| 4967 |
} |
|
4967 |
} |
| 4968 |
__inline extern __attribute__((__nothrow__)) long double floorl(long double __x ) __attribute__((__const__)) ; |
|
4968 |
__inline extern __attribute__((__nothrow__)) long double floorl(long double __x ) __attribute__((__const__)) ; |
| 4969 |
__inline extern long double floorl(long double __x ) |
|
4969 |
__inline extern long double floorl(long double __x ) |
| 4970 |
{ |
|
4970 |
{ |
| 4971 |
register long double __value ; |
|
4971 |
register long double __value ; |
| 4972 |
register int __ignore ; |
|
4972 |
register int __ignore ; |
| 4973 |
unsigned short __cw ; |
|
4973 |
unsigned short __cw ; |
| 4974 |
unsigned short __cwtmp ; |
|
4974 |
unsigned short __cwtmp ; |
| 4975 |
|
|
4975 |
|
| 4976 |
{ |
|
4976 |
{ |
| 4977 |
__asm__ volatile ("fnstcw %3\n\t" |
|
4977 |
__asm__ volatile ("fnstcw %3\n\t" |
| 4978 |
"movzwl %3, %1\n\t" |
|
4978 |
"movzwl %3, %1\n\t" |
| 4979 |
"andl $0xf3ff, %1\n\t" |
|
4979 |
"andl $0xf3ff, %1\n\t" |
| 4980 |
"orl $0x0400, %1\n\t" |
|
4980 |
"orl $0x0400, %1\n\t" |
| 4981 |
"movw %w1, %2\n\t" |
|
4981 |
"movw %w1, %2\n\t" |
| 4982 |
"fldcw %2\n\t" |
|
4982 |
"fldcw %2\n\t" |
| 4983 |
"frndint\n\t" |
|
4983 |
"frndint\n\t" |
| 4984 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
4984 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 4985 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
4985 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 4986 |
return (__value); |
|
4986 |
return (__value); |
| 4987 |
} |
|
4987 |
} |
| 4988 |
} |
|
4988 |
} |
| 4989 |
__inline extern __attribute__((__nothrow__)) double ceil(double __x ) __attribute__((__const__)) ; |
|
4989 |
__inline extern __attribute__((__nothrow__)) double ceil(double __x ) __attribute__((__const__)) ; |
| 4990 |
__inline extern double ceil(double __x ) |
|
4990 |
__inline extern double ceil(double __x ) |
| 4991 |
{ |
|
4991 |
{ |
| 4992 |
register long double __value ; |
|
4992 |
register long double __value ; |
| 4993 |
register int __ignore ; |
|
4993 |
register int __ignore ; |
| 4994 |
unsigned short __cw ; |
|
4994 |
unsigned short __cw ; |
| 4995 |
unsigned short __cwtmp ; |
|
4995 |
unsigned short __cwtmp ; |
| 4996 |
|
|
4996 |
|
| 4997 |
{ |
|
4997 |
{ |
| 4998 |
__asm__ volatile ("fnstcw %3\n\t" |
|
4998 |
__asm__ volatile ("fnstcw %3\n\t" |
| 4999 |
"movzwl %3, %1\n\t" |
|
4999 |
"movzwl %3, %1\n\t" |
| 5000 |
"andl $0xf3ff, %1\n\t" |
|
5000 |
"andl $0xf3ff, %1\n\t" |
| 5001 |
"orl $0x0800, %1\n\t" |
|
5001 |
"orl $0x0800, %1\n\t" |
| 5002 |
"movw %w1, %2\n\t" |
|
5002 |
"movw %w1, %2\n\t" |
| 5003 |
"fldcw %2\n\t" |
|
5003 |
"fldcw %2\n\t" |
| 5004 |
"frndint\n\t" |
|
5004 |
"frndint\n\t" |
| 5005 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
5005 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 5006 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
5006 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 5007 |
return ((double )__value); |
|
5007 |
return ((double )__value); |
| 5008 |
} |
|
5008 |
} |
| 5009 |
} |
|
5009 |
} |
| 5010 |
__inline extern __attribute__((__nothrow__)) float ceilf(float __x ) __attribute__((__const__)) ; |
|
5010 |
__inline extern __attribute__((__nothrow__)) float ceilf(float __x ) __attribute__((__const__)) ; |
| 5011 |
__inline extern float ceilf(float __x ) |
|
5011 |
__inline extern float ceilf(float __x ) |
| 5012 |
{ |
|
5012 |
{ |
| 5013 |
register long double __value ; |
|
5013 |
register long double __value ; |
| 5014 |
register int __ignore ; |
|
5014 |
register int __ignore ; |
| 5015 |
unsigned short __cw ; |
|
5015 |
unsigned short __cw ; |
| 5016 |
unsigned short __cwtmp ; |
|
5016 |
unsigned short __cwtmp ; |
| 5017 |
|
|
5017 |
|
| 5018 |
{ |
|
5018 |
{ |
| 5019 |
__asm__ volatile ("fnstcw %3\n\t" |
|
5019 |
__asm__ volatile ("fnstcw %3\n\t" |
| 5020 |
"movzwl %3, %1\n\t" |
|
5020 |
"movzwl %3, %1\n\t" |
| 5021 |
"andl $0xf3ff, %1\n\t" |
|
5021 |
"andl $0xf3ff, %1\n\t" |
| 5022 |
"orl $0x0800, %1\n\t" |
|
5022 |
"orl $0x0800, %1\n\t" |
| 5023 |
"movw %w1, %2\n\t" |
|
5023 |
"movw %w1, %2\n\t" |
| 5024 |
"fldcw %2\n\t" |
|
5024 |
"fldcw %2\n\t" |
| 5025 |
"frndint\n\t" |
|
5025 |
"frndint\n\t" |
| 5026 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
5026 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 5027 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
5027 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 5028 |
return ((float )__value); |
|
5028 |
return ((float )__value); |
| 5029 |
} |
|
5029 |
} |
| 5030 |
} |
|
5030 |
} |
| 5031 |
__inline extern __attribute__((__nothrow__)) long double ceill(long double __x ) __attribute__((__const__)) ; |
|
5031 |
__inline extern __attribute__((__nothrow__)) long double ceill(long double __x ) __attribute__((__const__)) ; |
| 5032 |
__inline extern long double ceill(long double __x ) |
|
5032 |
__inline extern long double ceill(long double __x ) |
| 5033 |
{ |
|
5033 |
{ |
| 5034 |
register long double __value ; |
|
5034 |
register long double __value ; |
| 5035 |
register int __ignore ; |
|
5035 |
register int __ignore ; |
| 5036 |
unsigned short __cw ; |
|
5036 |
unsigned short __cw ; |
| 5037 |
unsigned short __cwtmp ; |
|
5037 |
unsigned short __cwtmp ; |
| 5038 |
|
|
5038 |
|
| 5039 |
{ |
|
5039 |
{ |
| 5040 |
__asm__ volatile ("fnstcw %3\n\t" |
|
5040 |
__asm__ volatile ("fnstcw %3\n\t" |
| 5041 |
"movzwl %3, %1\n\t" |
|
5041 |
"movzwl %3, %1\n\t" |
| 5042 |
"andl $0xf3ff, %1\n\t" |
|
5042 |
"andl $0xf3ff, %1\n\t" |
| 5043 |
"orl $0x0800, %1\n\t" |
|
5043 |
"orl $0x0800, %1\n\t" |
| 5044 |
"movw %w1, %2\n\t" |
|
5044 |
"movw %w1, %2\n\t" |
| 5045 |
"fldcw %2\n\t" |
|
5045 |
"fldcw %2\n\t" |
| 5046 |
"frndint\n\t" |
|
5046 |
"frndint\n\t" |
| 5047 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
|
5047 |
"fldcw %3": "=t" (__value), "=&q" (__ignore), |
| 5048 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
|
5048 |
"=m" (__cwtmp), "=m" (__cw): "0" (__x)); |
| 5049 |
return (__value); |
|
5049 |
return (__value); |
| 5050 |
} |
|
5050 |
} |
| 5051 |
} |
|
5051 |
} |
| 5052 |
__inline extern __attribute__((__nothrow__)) long lrintf(float __x ) ; |
|
5052 |
__inline extern __attribute__((__nothrow__)) long lrintf(float __x ) ; |
| 5053 |
__inline extern long lrintf(float __x ) |
|
5053 |
__inline extern long lrintf(float __x ) |
| 5054 |
{ |
|
5054 |
{ |
| 5055 |
long __lrintres ; |
|
5055 |
long __lrintres ; |
| 5056 |
|
|
5056 |
|
| 5057 |
{ |
|
5057 |
{ |
| 5058 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
|
5058 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
| 5059 |
return (__lrintres); |
|
5059 |
return (__lrintres); |
| 5060 |
} |
|
5060 |
} |
| 5061 |
} |
|
5061 |
} |
| 5062 |
__inline extern __attribute__((__nothrow__)) long lrint(double __x ) ; |
|
5062 |
__inline extern __attribute__((__nothrow__)) long lrint(double __x ) ; |
| 5063 |
__inline extern long lrint(double __x ) |
|
5063 |
__inline extern long lrint(double __x ) |
| 5064 |
{ |
|
5064 |
{ |
| 5065 |
long __lrintres ; |
|
5065 |
long __lrintres ; |
| 5066 |
|
|
5066 |
|
| 5067 |
{ |
|
5067 |
{ |
| 5068 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
|
5068 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
| 5069 |
return (__lrintres); |
|
5069 |
return (__lrintres); |
| 5070 |
} |
|
5070 |
} |
| 5071 |
} |
|
5071 |
} |
| 5072 |
__inline extern __attribute__((__nothrow__)) long lrintl(long double __x ) ; |
|
5072 |
__inline extern __attribute__((__nothrow__)) long lrintl(long double __x ) ; |
| 5073 |
__inline extern long lrintl(long double __x ) |
|
5073 |
__inline extern long lrintl(long double __x ) |
| 5074 |
{ |
|
5074 |
{ |
| 5075 |
long __lrintres ; |
|
5075 |
long __lrintres ; |
| 5076 |
|
|
5076 |
|
| 5077 |
{ |
|
5077 |
{ |
| 5078 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
|
5078 |
__asm__ volatile ("fistpl %0": "=m" (__lrintres): "t" (__x): "st"); |
| 5079 |
return (__lrintres); |
|
5079 |
return (__lrintres); |
| 5080 |
} |
|
5080 |
} |
| 5081 |
} |
|
5081 |
} |
| 5082 |
__inline extern __attribute__((__nothrow__)) long long llrintf(float __x ) ; |
|
5082 |
__inline extern __attribute__((__nothrow__)) long long llrintf(float __x ) ; |
| 5083 |
__inline extern long long llrintf(float __x ) |
|
5083 |
__inline extern long long llrintf(float __x ) |
| 5084 |
{ |
|
5084 |
{ |
| 5085 |
long long __llrintres ; |
|
5085 |
long long __llrintres ; |
| 5086 |
|
|
5086 |
|
| 5087 |
{ |
|
5087 |
{ |
| 5088 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
|
5088 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
| 5089 |
return (__llrintres); |
|
5089 |
return (__llrintres); |
| 5090 |
} |
|
5090 |
} |
| 5091 |
} |
|
5091 |
} |
| 5092 |
__inline extern __attribute__((__nothrow__)) long long llrint(double __x ) ; |
|
5092 |
__inline extern __attribute__((__nothrow__)) long long llrint(double __x ) ; |
| 5093 |
__inline extern long long llrint(double __x ) |
|
5093 |
__inline extern long long llrint(double __x ) |
| 5094 |
{ |
|
5094 |
{ |
| 5095 |
long long __llrintres ; |
|
5095 |
long long __llrintres ; |
| 5096 |
|
|
5096 |
|
| 5097 |
{ |
|
5097 |
{ |
| 5098 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
|
5098 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
| 5099 |
return (__llrintres); |
|
5099 |
return (__llrintres); |
| 5100 |
} |
|
5100 |
} |
| 5101 |
} |
|
5101 |
} |
| 5102 |
__inline extern __attribute__((__nothrow__)) long long llrintl(long double __x ) ; |
|
5102 |
__inline extern __attribute__((__nothrow__)) long long llrintl(long double __x ) ; |
| 5103 |
__inline extern long long llrintl(long double __x ) |
|
5103 |
__inline extern long long llrintl(long double __x ) |
| 5104 |
{ |
|
5104 |
{ |
| 5105 |
long long __llrintres ; |
|
5105 |
long long __llrintres ; |
| 5106 |
|
|
5106 |
|
| 5107 |
{ |
|
5107 |
{ |
| 5108 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
|
5108 |
__asm__ volatile ("fistpll %0": "=m" (__llrintres): "t" (__x): "st"); |
| 5109 |
return (__llrintres); |
|
5109 |
return (__llrintres); |
| 5110 |
} |
|
5110 |
} |
| 5111 |
} |
|
5111 |
} |
| 5112 |
__inline extern __attribute__((__nothrow__)) int __finite(double __x ) __attribute__((__const__)) ; |
|
5112 |
__inline extern __attribute__((__nothrow__)) int __finite(double __x ) __attribute__((__const__)) ; |
| 5113 |
__inline extern int __finite(double __x ) |
|
5113 |
__inline extern int __finite(double __x ) |
| 5114 |
{ |
|
5114 |
{ |
| 5115 |
union __anonunion_32 __constr_expr_0 ; |
|
5115 |
union __anonunion_32 __constr_expr_0 ; |
| 5116 |
|
|
5116 |
|
| 5117 |
{ |
|
5117 |
{ |
| 5118 |
__constr_expr_0.__d = __x; |
|
5118 |
__constr_expr_0.__d = __x; |
| 5119 |
return ((int )((((unsigned int )__constr_expr_0.__i[1] | 2148532223U) + 1U) >> 31)); |
|
5119 |
return ((int )((((unsigned int )__constr_expr_0.__i[1] | 2148532223U) + 1U) >> 31)); |
| 5120 |
} |
|
5120 |
} |
| 5121 |
} |
|
5121 |
} |
| 5122 |
extern __attribute__((__nothrow__)) void *dlopen(char const *__file , |
|
5122 |
extern __attribute__((__nothrow__)) void *dlopen(char const *__file , |
| 5123 |
int __mode ) ; |
|
5123 |
int __mode ) ; |
| 5124 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dlclose)(void *__handle ) ; |
|
5124 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dlclose)(void *__handle ) ; |
| 5125 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(2))) dlsym)(void * __restrict __handle , |
|
5125 |
extern __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(2))) dlsym)(void * __restrict __handle , |
| 5126 |
char const * __restrict __name ) ; |
|
5126 |
char const * __restrict __name ) ; |
| 5127 |
extern __attribute__((__nothrow__)) char *dlerror(void) ; |
|
5127 |
extern __attribute__((__nothrow__)) char *dlerror(void) ; |
| 5128 |
extern char __attribute__((__visibility__("default"))) *zend_strndup(char const *s , |
|
5128 |
extern char __attribute__((__visibility__("default"))) *zend_strndup(char const *s , |
| 5129 |
unsigned int length ) __attribute__((__malloc__)) ; |
|
5129 |
unsigned int length ) __attribute__((__malloc__)) ; |
| 5130 |
extern void __attribute__((__visibility__("default"))) *_emalloc(size_t size ) __attribute__((__malloc__)) ; |
|
5130 |
extern void __attribute__((__visibility__("default"))) *_emalloc(size_t size ) __attribute__((__malloc__)) ; |
| 5131 |
extern void __attribute__((__visibility__("default"))) *_safe_emalloc(size_t nmemb , |
|
5131 |
extern void __attribute__((__visibility__("default"))) *_safe_emalloc(size_t nmemb , |
| 5132 |
size_t size , |
|
5132 |
size_t size , |
| 5133 |
size_t offset ) __attribute__((__malloc__)) ; |
|
5133 |
size_t offset ) __attribute__((__malloc__)) ; |
| 5134 |
extern void __attribute__((__visibility__("default"))) *_safe_malloc(size_t nmemb , |
|
5134 |
extern void __attribute__((__visibility__("default"))) *_safe_malloc(size_t nmemb , |
| 5135 |
size_t size , |
|
5135 |
size_t size , |
| 5136 |
size_t offset ) __attribute__((__malloc__)) ; |
|
5136 |
size_t offset ) __attribute__((__malloc__)) ; |
| 5137 |
extern void __attribute__((__visibility__("default"))) _efree(void *ptr ) ; |
|
5137 |
extern void __attribute__((__visibility__("default"))) _efree(void *ptr ) ; |
| 5138 |
extern void __attribute__((__visibility__("default"))) *_ecalloc(size_t nmemb , |
|
5138 |
extern void __attribute__((__visibility__("default"))) *_ecalloc(size_t nmemb , |
| 5139 |
size_t size ) __attribute__((__malloc__)) ; |
|
5139 |
size_t size ) __attribute__((__malloc__)) ; |
| 5140 |
extern void __attribute__((__visibility__("default"))) *_erealloc(void *ptr , |
|
5140 |
extern void __attribute__((__visibility__("default"))) *_erealloc(void *ptr , |
| 5141 |
size_t size , |
|
5141 |
size_t size , |
| 5142 |
int allow_failure ) ; |
|
5142 |
int allow_failure ) ; |
| 5143 |
extern void __attribute__((__visibility__("default"))) *_safe_erealloc(void *ptr , |
|
5143 |
extern void __attribute__((__visibility__("default"))) *_safe_erealloc(void *ptr , |
| 5144 |
size_t nmemb , |
|
5144 |
size_t nmemb , |
| 5145 |
size_t size , |
|
5145 |
size_t size , |
| 5146 |
size_t offset ) ; |
|
5146 |
size_t offset ) ; |
| 5147 |
extern void __attribute__((__visibility__("default"))) *_safe_realloc(void *ptr , |
|
5147 |
extern void __attribute__((__visibility__("default"))) *_safe_realloc(void *ptr , |
| 5148 |
size_t nmemb , |
|
5148 |
size_t nmemb , |
| 5149 |
size_t size , |
|
5149 |
size_t size , |
| 5150 |
size_t offset ) ; |
|
5150 |
size_t offset ) ; |
| 5151 |
extern char __attribute__((__visibility__("default"))) *_estrdup(char const *s ) __attribute__((__malloc__)) ; |
|
5151 |
extern char __attribute__((__visibility__("default"))) *_estrdup(char const *s ) __attribute__((__malloc__)) ; |
| 5152 |
extern char __attribute__((__visibility__("default"))) *_estrndup(char const *s , |
|
5152 |
extern char __attribute__((__visibility__("default"))) *_estrndup(char const *s , |
| 5153 |
unsigned int length ) __attribute__((__malloc__)) ; |
|
5153 |
unsigned int length ) __attribute__((__malloc__)) ; |
| 5154 |
extern size_t __attribute__((__visibility__("default"))) _zend_mem_block_size(void *ptr ) ; |
|
5154 |
extern size_t __attribute__((__visibility__("default"))) _zend_mem_block_size(void *ptr ) ; |
| 5155 |
__inline static void *__zend_malloc(size_t len ) |
|
5155 |
__inline static void *__zend_malloc(size_t len ) |
| 5156 |
{ |
|
5156 |
{ |
| 5157 |
void *tmp ; |
|
5157 |
void *tmp ; |
| 5158 |
void *tmp___0 ; |
|
5158 |
void *tmp___0 ; |
| 5159 |
|
|
5159 |
|
| 5160 |
{ |
|
5160 |
{ |
| 5161 |
tmp___0 = malloc(len); |
|
5161 |
tmp___0 = malloc(len); |
| 5162 |
tmp = tmp___0; |
|
5162 |
tmp = tmp___0; |
| 5163 |
if (tmp) { |
|
5163 |
if (tmp) { |
| 5164 |
return (tmp); |
|
5164 |
return (tmp); |
| 5165 |
} else { |
|
5165 |
} else { |
| 5166 |
|
|
5166 |
|
| 5167 |
} |
|
5167 |
} |
| 5168 |
fprintf((FILE *)stderr, |
|
5168 |
fprintf((FILE *)stderr, |
| 5169 |
(char const *)"Out of memory\n"); |
|
5169 |
(char const *)"Out of memory\n"); |
| 5170 |
exit(1); |
|
5170 |
exit(1); |
| 5171 |
} |
|
5171 |
} |
| 5172 |
} |
|
5172 |
} |
| 5173 |
__inline static void *__zend_calloc(size_t nmemb , size_t len ) |
|
5173 |
__inline static void *__zend_calloc(size_t nmemb , size_t len ) |
| 5174 |
{ |
|
5174 |
{ |
| 5175 |
void *tmp ; |
|
5175 |
void *tmp ; |
| 5176 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
5176 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 5177 |
|
|
5177 |
|
| 5178 |
{ |
|
5178 |
{ |
| 5179 |
tmp___0 = _safe_malloc(nmemb, len, (size_t )0); |
|
5179 |
tmp___0 = _safe_malloc(nmemb, len, (size_t )0); |
| 5180 |
tmp = (void *)tmp___0; |
|
5180 |
tmp = (void *)tmp___0; |
| 5181 |
memset(tmp, 0, nmemb * len); |
|
5181 |
memset(tmp, 0, nmemb * len); |
| 5182 |
return (tmp); |
|
5182 |
return (tmp); |
| 5183 |
} |
|
5183 |
} |
| 5184 |
} |
|
5184 |
} |
| 5185 |
__inline static void *__zend_realloc(void *p , size_t len ) |
|
5185 |
__inline static void *__zend_realloc(void *p , size_t len ) |
| 5186 |
{ |
|
5186 |
{ |
| 5187 |
|
|
5187 |
|
| 5188 |
|
|
5188 |
|
| 5189 |
{ |
|
5189 |
{ |
| 5190 |
p = realloc(p, len); |
|
5190 |
p = realloc(p, len); |
| 5191 |
if (p) { |
|
5191 |
if (p) { |
| 5192 |
return (p); |
|
5192 |
return (p); |
| 5193 |
} else { |
|
5193 |
} else { |
| 5194 |
|
|
5194 |
|
| 5195 |
} |
|
5195 |
} |
| 5196 |
fprintf((FILE *)stderr, |
|
5196 |
fprintf((FILE *)stderr, |
| 5197 |
(char const *)"Out of memory\n"); |
|
5197 |
(char const *)"Out of memory\n"); |
| 5198 |
exit(1); |
|
5198 |
exit(1); |
| 5199 |
} |
|
5199 |
} |
| 5200 |
} |
|
5200 |
} |
| 5201 |
extern int __attribute__((__visibility__("default"))) zend_set_memory_limit(size_t memory_limit ) ; |
|
5201 |
extern int __attribute__((__visibility__("default"))) zend_set_memory_limit(size_t memory_limit ) ; |
| 5202 |
extern void __attribute__((__visibility__("default"))) start_memory_manager(void) ; |
|
5202 |
extern void __attribute__((__visibility__("default"))) start_memory_manager(void) ; |
| 5203 |
extern void __attribute__((__visibility__("default"))) shutdown_memory_manager(int silent , |
|
5203 |
extern void __attribute__((__visibility__("default"))) shutdown_memory_manager(int silent , |
| 5204 |
int full_shutdown ) ; |
|
5204 |
int full_shutdown ) ; |
| 5205 |
extern int __attribute__((__visibility__("default"))) is_zend_mm(void) ; |
|
5205 |
extern int __attribute__((__visibility__("default"))) is_zend_mm(void) ; |
| 5206 |
extern size_t __attribute__((__visibility__("default"))) zend_memory_usage(int real_usage ) ; |
|
5206 |
extern size_t __attribute__((__visibility__("default"))) zend_memory_usage(int real_usage ) ; |
| 5207 |
extern size_t __attribute__((__visibility__("default"))) zend_memory_peak_usage(int real_usage ) ; |
|
5207 |
extern size_t __attribute__((__visibility__("default"))) zend_memory_peak_usage(int real_usage ) ; |
| 5208 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_startup(void) ; |
|
5208 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_startup(void) ; |
| 5209 |
extern void __attribute__((__visibility__("default"))) zend_mm_shutdown(zend_mm_heap *heap , |
|
5209 |
extern void __attribute__((__visibility__("default"))) zend_mm_shutdown(zend_mm_heap *heap , |
| 5210 |
int full_shutdown , |
|
5210 |
int full_shutdown , |
| 5211 |
int silent ) ; |
|
5211 |
int silent ) ; |
| 5212 |
extern void __attribute__((__visibility__("default"))) *_zend_mm_alloc(zend_mm_heap *heap , |
|
5212 |
extern void __attribute__((__visibility__("default"))) *_zend_mm_alloc(zend_mm_heap *heap , |
| 5213 |
size_t size ) __attribute__((__malloc__)) ; |
|
5213 |
size_t size ) __attribute__((__malloc__)) ; |
| 5214 |
extern void __attribute__((__visibility__("default"))) _zend_mm_free(zend_mm_heap *heap , |
|
5214 |
extern void __attribute__((__visibility__("default"))) _zend_mm_free(zend_mm_heap *heap , |
| 5215 |
void *p ) ; |
|
5215 |
void *p ) ; |
| 5216 |
extern void __attribute__((__visibility__("default"))) *_zend_mm_realloc(zend_mm_heap *heap , |
|
5216 |
extern void __attribute__((__visibility__("default"))) *_zend_mm_realloc(zend_mm_heap *heap , |
| 5217 |
void *p , |
|
5217 |
void *p , |
| 5218 |
size_t size ) ; |
|
5218 |
size_t size ) ; |
| 5219 |
extern size_t __attribute__((__visibility__("default"))) _zend_mm_block_size(zend_mm_heap *heap , |
|
5219 |
extern size_t __attribute__((__visibility__("default"))) _zend_mm_block_size(zend_mm_heap *heap , |
| 5220 |
void *p ) ; |
|
5220 |
void *p ) ; |
| 5221 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_startup_ex(zend_mm_mem_handlers const *handlers , |
|
5221 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_startup_ex(zend_mm_mem_handlers const *handlers , |
| 5222 |
size_t block_size , |
|
5222 |
size_t block_size , |
| 5223 |
size_t reserve_size , |
|
5223 |
size_t reserve_size , |
| 5224 |
int internal , |
|
5224 |
int internal , |
| 5225 |
void *params ) ; |
|
5225 |
void *params ) ; |
| 5226 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_set_heap(zend_mm_heap *new_heap ) ; |
|
5226 |
extern zend_mm_heap __attribute__((__visibility__("default"))) *zend_mm_set_heap(zend_mm_heap *new_heap ) ; |
| 5227 |
extern zend_mm_storage __attribute__((__visibility__("default"))) *zend_mm_get_storage(zend_mm_heap *heap ) ; |
|
5227 |
extern zend_mm_storage __attribute__((__visibility__("default"))) *zend_mm_get_storage(zend_mm_heap *heap ) ; |
| 5228 |
extern void __attribute__((__visibility__("default"))) zend_mm_set_custom_handlers(zend_mm_heap *heap , |
|
5228 |
extern void __attribute__((__visibility__("default"))) zend_mm_set_custom_handlers(zend_mm_heap *heap , |
| 5229 |
void *(*_malloc)(size_t ) , |
|
5229 |
void *(*_malloc)(size_t ) , |
| 5230 |
void (*_free)(void * ) , |
|
5230 |
void (*_free)(void * ) , |
| 5231 |
void *(*_realloc)(void * , |
|
5231 |
void *(*_realloc)(void * , |
| 5232 |
size_t ) ) ; |
|
5232 |
size_t ) ) ; |
| 5233 |
extern char const __attribute__((__visibility__("default"))) *(*zend_new_interned_string)(char const *str , |
|
5233 |
extern char const __attribute__((__visibility__("default"))) *(*zend_new_interned_string)(char const *str , |
| 5234 |
int len , |
|
5234 |
int len , |
| 5235 |
int free_src ) ; |
|
5235 |
int free_src ) ; |
| 5236 |
extern void __attribute__((__visibility__("default"))) (*zend_interned_strings_snapshot)(void) ; |
|
5236 |
extern void __attribute__((__visibility__("default"))) (*zend_interned_strings_snapshot)(void) ; |
| 5237 |
extern void __attribute__((__visibility__("default"))) (*zend_interned_strings_restore)(void) ; |
|
5237 |
extern void __attribute__((__visibility__("default"))) (*zend_interned_strings_restore)(void) ; |
| 5238 |
extern void zend_interned_strings_init(void) ; |
|
5238 |
extern void zend_interned_strings_init(void) ; |
| 5239 |
extern void zend_interned_strings_dtor(void) ; |
|
5239 |
extern void zend_interned_strings_dtor(void) ; |
| 5240 |
static char const long_min_digits[11] = |
|
5240 |
static char const long_min_digits[11] = |
| 5241 |
{ (char const )'2', (char const )'1', (char const )'4', (char const )'7', |
|
5241 |
{ (char const )'2', (char const )'1', (char const )'4', (char const )'7', |
| 5242 |
(char const )'4', (char const )'8', (char const )'3', (char const )'6', |
|
5242 |
(char const )'4', (char const )'8', (char const )'3', (char const )'6', |
| 5243 |
(char const )'4', (char const )'8', (char const )'\000'}; |
|
5243 |
(char const )'4', (char const )'8', (char const )'\000'}; |
| 5244 |
extern int __attribute__((__visibility__("default"))) _zend_hash_init(HashTable *ht , |
|
5244 |
extern int __attribute__((__visibility__("default"))) _zend_hash_init(HashTable *ht , |
| 5245 |
uint nSize , |
|
5245 |
uint nSize , |
| 5246 |
ulong (*pHashFunction)(char const *arKey , |
|
5246 |
ulong (*pHashFunction)(char const *arKey , |
| 5247 |
uint nKeyLength ) , |
|
5247 |
uint nKeyLength ) , |
| 5248 |
void (*pDestructor)(void *pDest ) , |
|
5248 |
void (*pDestructor)(void *pDest ) , |
| 5249 |
zend_bool persistent ) ; |
|
5249 |
zend_bool persistent ) ; |
| 5250 |
extern int __attribute__((__visibility__("default"))) _zend_hash_init_ex(HashTable *ht , |
|
5250 |
extern int __attribute__((__visibility__("default"))) _zend_hash_init_ex(HashTable *ht , |
| 5251 |
uint nSize , |
|
5251 |
uint nSize , |
| 5252 |
ulong (*pHashFunction)(char const *arKey , |
|
5252 |
ulong (*pHashFunction)(char const *arKey , |
| 5253 |
uint nKeyLength ) , |
|
5253 |
uint nKeyLength ) , |
| 5254 |
void (*pDestructor)(void *pDest ) , |
|
5254 |
void (*pDestructor)(void *pDest ) , |
| 5255 |
zend_bool persistent , |
|
5255 |
zend_bool persistent , |
| 5256 |
zend_bool bApplyProtection ) ; |
|
5256 |
zend_bool bApplyProtection ) ; |
| 5257 |
extern void __attribute__((__visibility__("default"))) zend_hash_destroy(HashTable *ht ) ; |
|
5257 |
extern void __attribute__((__visibility__("default"))) zend_hash_destroy(HashTable *ht ) ; |
| 5258 |
extern void __attribute__((__visibility__("default"))) zend_hash_clean(HashTable *ht ) ; |
|
5258 |
extern void __attribute__((__visibility__("default"))) zend_hash_clean(HashTable *ht ) ; |
| 5259 |
extern int __attribute__((__visibility__("default"))) _zend_hash_add_or_update(HashTable *ht , |
|
5259 |
extern int __attribute__((__visibility__("default"))) _zend_hash_add_or_update(HashTable *ht , |
| 5260 |
char const *arKey , |
|
5260 |
char const *arKey , |
| 5261 |
uint nKeyLength , |
|
5261 |
uint nKeyLength , |
| 5262 |
void *pData , |
|
5262 |
void *pData , |
| 5263 |
uint nDataSize , |
|
5263 |
uint nDataSize , |
| 5264 |
void **pDest , |
|
5264 |
void **pDest , |
| 5265 |
int flag ) ; |
|
5265 |
int flag ) ; |
| 5266 |
extern int __attribute__((__visibility__("default"))) _zend_hash_quick_add_or_update(HashTable *ht , |
|
5266 |
extern int __attribute__((__visibility__("default"))) _zend_hash_quick_add_or_update(HashTable *ht , |
| 5267 |
char const *arKey , |
|
5267 |
char const *arKey , |
| 5268 |
uint nKeyLength , |
|
5268 |
uint nKeyLength , |
| 5269 |
ulong h , |
|
5269 |
ulong h , |
| 5270 |
void *pData , |
|
5270 |
void *pData , |
| 5271 |
uint nDataSize , |
|
5271 |
uint nDataSize , |
| 5272 |
void **pDest , |
|
5272 |
void **pDest , |
| 5273 |
int flag ) ; |
|
5273 |
int flag ) ; |
| 5274 |
extern int __attribute__((__visibility__("default"))) _zend_hash_index_update_or_next_insert(HashTable *ht , |
|
5274 |
extern int __attribute__((__visibility__("default"))) _zend_hash_index_update_or_next_insert(HashTable *ht , |
| 5275 |
ulong h , |
|
5275 |
ulong h , |
| 5276 |
void *pData , |
|
5276 |
void *pData , |
| 5277 |
uint nDataSize , |
|
5277 |
uint nDataSize , |
| 5278 |
void **pDest , |
|
5278 |
void **pDest , |
| 5279 |
int flag ) ; |
|
5279 |
int flag ) ; |
| 5280 |
extern int __attribute__((__visibility__("default"))) zend_hash_add_empty_element(HashTable *ht , |
|
5280 |
extern int __attribute__((__visibility__("default"))) zend_hash_add_empty_element(HashTable *ht , |
| 5281 |
char const *arKey , |
|
5281 |
char const *arKey , |
| 5282 |
uint nKeyLength ) ; |
|
5282 |
uint nKeyLength ) ; |
| 5283 |
extern void __attribute__((__visibility__("default"))) zend_hash_graceful_destroy(HashTable *ht ) ; |
|
5283 |
extern void __attribute__((__visibility__("default"))) zend_hash_graceful_destroy(HashTable *ht ) ; |
| 5284 |
extern void __attribute__((__visibility__("default"))) zend_hash_graceful_reverse_destroy(HashTable *ht ) ; |
|
5284 |
extern void __attribute__((__visibility__("default"))) zend_hash_graceful_reverse_destroy(HashTable *ht ) ; |
| 5285 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply(HashTable *ht , |
|
5285 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply(HashTable *ht , |
| 5286 |
int (*apply_func)(void *pDest ) ) ; |
|
5286 |
int (*apply_func)(void *pDest ) ) ; |
| 5287 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply_with_argument(HashTable *ht , |
|
5287 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply_with_argument(HashTable *ht , |
| 5288 |
int (*apply_func)(void *pDest , |
|
5288 |
int (*apply_func)(void *pDest , |
| 5289 |
void *argument ) , |
|
5289 |
void *argument ) , |
| 5290 |
void * ) ; |
|
5290 |
void * ) ; |
| 5291 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply_with_arguments(HashTable *ht , |
|
5291 |
extern void __attribute__((__visibility__("default"))) zend_hash_apply_with_arguments(HashTable *ht , |
| 5292 |
int (*apply_func)(void *pDest , |
|
5292 |
int (*apply_func)(void *pDest , |
| 5293 |
int num_args , |
|
5293 |
int num_args , |
| 5294 |
va_list args , |
|
5294 |
va_list args , |
| 5295 |
zend_hash_key *hash_key ) , |
|
5295 |
zend_hash_key *hash_key ) , |
| 5296 |
int |
|
5296 |
int |
| 5297 |
, ...) ; |
|
5297 |
, ...) ; |
| 5298 |
extern void __attribute__((__visibility__("default"))) zend_hash_reverse_apply(HashTable *ht , |
|
5298 |
extern void __attribute__((__visibility__("default"))) zend_hash_reverse_apply(HashTable *ht , |
| 5299 |
int (*apply_func)(void *pDest ) ) ; |
|
5299 |
int (*apply_func)(void *pDest ) ) ; |
| 5300 |
extern int __attribute__((__visibility__("default"))) zend_hash_del_key_or_index(HashTable *ht , |
|
5300 |
extern int __attribute__((__visibility__("default"))) zend_hash_del_key_or_index(HashTable *ht , |
| 5301 |
char const *arKey , |
|
5301 |
char const *arKey , |
| 5302 |
uint nKeyLength , |
|
5302 |
uint nKeyLength , |
| 5303 |
ulong h , |
|
5303 |
ulong h , |
| 5304 |
int flag ) ; |
|
5304 |
int flag ) ; |
| 5305 |
extern ulong __attribute__((__visibility__("default"))) zend_get_hash_value(char const *arKey , |
|
5305 |
extern ulong __attribute__((__visibility__("default"))) zend_get_hash_value(char const *arKey , |
| 5306 |
uint nKeyLength ) ; |
|
5306 |
uint nKeyLength ) ; |
| 5307 |
extern int __attribute__((__visibility__("default"))) zend_hash_find(HashTable const *ht , |
|
5307 |
extern int __attribute__((__visibility__("default"))) zend_hash_find(HashTable const *ht , |
| 5308 |
char const *arKey , |
|
5308 |
char const *arKey , |
| 5309 |
uint nKeyLength , |
|
5309 |
uint nKeyLength , |
| 5310 |
void **pData ) ; |
|
5310 |
void **pData ) ; |
| 5311 |
extern int __attribute__((__visibility__("default"))) zend_hash_quick_find(HashTable const *ht , |
|
5311 |
extern int __attribute__((__visibility__("default"))) zend_hash_quick_find(HashTable const *ht , |
| 5312 |
char const *arKey , |
|
5312 |
char const *arKey , |
| 5313 |
uint nKeyLength , |
|
5313 |
uint nKeyLength , |
| 5314 |
ulong h , |
|
5314 |
ulong h , |
| 5315 |
void **pData ) ; |
|
5315 |
void **pData ) ; |
| 5316 |
extern int __attribute__((__visibility__("default"))) zend_hash_index_find(HashTable const *ht , |
|
5316 |
extern int __attribute__((__visibility__("default"))) zend_hash_index_find(HashTable const *ht , |
| 5317 |
ulong h , |
|
5317 |
ulong h , |
| 5318 |
void **pData ) ; |
|
5318 |
void **pData ) ; |
| 5319 |
extern int __attribute__((__visibility__("default"))) zend_hash_exists(HashTable const *ht , |
|
5319 |
extern int __attribute__((__visibility__("default"))) zend_hash_exists(HashTable const *ht , |
| 5320 |
char const *arKey , |
|
5320 |
char const *arKey , |
| 5321 |
uint nKeyLength ) ; |
|
5321 |
uint nKeyLength ) ; |
| 5322 |
extern int __attribute__((__visibility__("default"))) zend_hash_quick_exists(HashTable const *ht , |
|
5322 |
extern int __attribute__((__visibility__("default"))) zend_hash_quick_exists(HashTable const *ht , |
| 5323 |
char const *arKey , |
|
5323 |
char const *arKey , |
| 5324 |
uint nKeyLength , |
|
5324 |
uint nKeyLength , |
| 5325 |
ulong h ) ; |
|
5325 |
ulong h ) ; |
| 5326 |
extern int __attribute__((__visibility__("default"))) zend_hash_index_exists(HashTable const *ht , |
|
5326 |
extern int __attribute__((__visibility__("default"))) zend_hash_index_exists(HashTable const *ht , |
| 5327 |
ulong h ) ; |
|
5327 |
ulong h ) ; |
| 5328 |
extern ulong __attribute__((__visibility__("default"))) zend_hash_next_free_element(HashTable const *ht ) ; |
|
5328 |
extern ulong __attribute__((__visibility__("default"))) zend_hash_next_free_element(HashTable const *ht ) ; |
| 5329 |
extern int __attribute__((__visibility__("default"))) zend_hash_move_forward_ex(HashTable *ht , |
|
5329 |
extern int __attribute__((__visibility__("default"))) zend_hash_move_forward_ex(HashTable *ht , |
| 5330 |
HashPosition *pos ) ; |
|
5330 |
HashPosition *pos ) ; |
| 5331 |
extern int __attribute__((__visibility__("default"))) zend_hash_move_backwards_ex(HashTable *ht , |
|
5331 |
extern int __attribute__((__visibility__("default"))) zend_hash_move_backwards_ex(HashTable *ht , |
| 5332 |
HashPosition *pos ) ; |
|
5332 |
HashPosition *pos ) ; |
| 5333 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_key_ex(HashTable const *ht , |
|
5333 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_key_ex(HashTable const *ht , |
| 5334 |
char **str_index , |
|
5334 |
char **str_index , |
| 5335 |
uint *str_length , |
|
5335 |
uint *str_length , |
| 5336 |
ulong *num_index , |
|
5336 |
ulong *num_index , |
| 5337 |
zend_bool duplicate , |
|
5337 |
zend_bool duplicate , |
| 5338 |
HashPosition *pos ) ; |
|
5338 |
HashPosition *pos ) ; |
| 5339 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_key_type_ex(HashTable *ht , |
|
5339 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_key_type_ex(HashTable *ht , |
| 5340 |
HashPosition *pos ) ; |
|
5340 |
HashPosition *pos ) ; |
| 5341 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_data_ex(HashTable *ht , |
|
5341 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_current_data_ex(HashTable *ht , |
| 5342 |
void **pData , |
|
5342 |
void **pData , |
| 5343 |
HashPosition *pos ) ; |
|
5343 |
HashPosition *pos ) ; |
| 5344 |
extern void __attribute__((__visibility__("default"))) zend_hash_internal_pointer_reset_ex(HashTable *ht , |
|
5344 |
extern void __attribute__((__visibility__("default"))) zend_hash_internal_pointer_reset_ex(HashTable *ht , |
| 5345 |
HashPosition *pos ) ; |
|
5345 |
HashPosition *pos ) ; |
| 5346 |
extern void __attribute__((__visibility__("default"))) zend_hash_internal_pointer_end_ex(HashTable *ht , |
|
5346 |
extern void __attribute__((__visibility__("default"))) zend_hash_internal_pointer_end_ex(HashTable *ht , |
| 5347 |
HashPosition *pos ) ; |
|
5347 |
HashPosition *pos ) ; |
| 5348 |
extern int __attribute__((__visibility__("default"))) zend_hash_update_current_key_ex(HashTable *ht , |
|
5348 |
extern int __attribute__((__visibility__("default"))) zend_hash_update_current_key_ex(HashTable *ht , |
| 5349 |
int key_type , |
|
5349 |
int key_type , |
| 5350 |
char const *str_index , |
|
5350 |
char const *str_index , |
| 5351 |
uint str_length , |
|
5351 |
uint str_length , |
| 5352 |
ulong num_index , |
|
5352 |
ulong num_index , |
| 5353 |
int mode , |
|
5353 |
int mode , |
| 5354 |
HashPosition *pos ) ; |
|
5354 |
HashPosition *pos ) ; |
| 5355 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_pointer(HashTable const *ht , |
|
5355 |
extern int __attribute__((__visibility__("default"))) zend_hash_get_pointer(HashTable const *ht , |
| 5356 |
HashPointer *ptr ) ; |
|
5356 |
HashPointer *ptr ) ; |
| 5357 |
extern int __attribute__((__visibility__("default"))) zend_hash_set_pointer(HashTable *ht , |
|
5357 |
extern int __attribute__((__visibility__("default"))) zend_hash_set_pointer(HashTable *ht , |
| 5358 |
HashPointer const *ptr ) ; |
|
5358 |
HashPointer const *ptr ) ; |
| 5359 |
extern void __attribute__((__visibility__("default"))) zend_hash_copy(HashTable *target , |
|
5359 |
extern void __attribute__((__visibility__("default"))) zend_hash_copy(HashTable *target , |
| 5360 |
HashTable *source , |
|
5360 |
HashTable *source , |
| 5361 |
void (*pCopyConstructor)(void *pElement ) , |
|
5361 |
void (*pCopyConstructor)(void *pElement ) , |
| 5362 |
void *tmp , |
|
5362 |
void *tmp , |
| 5363 |
uint size ) ; |
|
5363 |
uint size ) ; |
| 5364 |
extern void __attribute__((__visibility__("default"))) _zend_hash_merge(HashTable *target , |
|
5364 |
extern void __attribute__((__visibility__("default"))) _zend_hash_merge(HashTable *target , |
| 5365 |
HashTable *source , |
|
5365 |
HashTable *source , |
| 5366 |
void (*pCopyConstructor)(void *pElement ) , |
|
5366 |
void (*pCopyConstructor)(void *pElement ) , |
| 5367 |
void *tmp , |
|
5367 |
void *tmp , |
| 5368 |
uint size , |
|
5368 |
uint size , |
| 5369 |
int overwrite ) ; |
|
5369 |
int overwrite ) ; |
| 5370 |
extern void __attribute__((__visibility__("default"))) zend_hash_merge_ex(HashTable *target , |
|
5370 |
extern void __attribute__((__visibility__("default"))) zend_hash_merge_ex(HashTable *target , |
| 5371 |
HashTable *source , |
|
5371 |
HashTable *source , |
| 5372 |
void (*pCopyConstructor)(void *pElement ) , |
|
5372 |
void (*pCopyConstructor)(void *pElement ) , |
| 5373 |
uint size , |
|
5373 |
uint size , |
| 5374 |
zend_bool (*pMergeSource)(HashTable *target_ht , |
|
5374 |
zend_bool (*pMergeSource)(HashTable *target_ht , |
| 5375 |
void *source_data , |
|
5375 |
void *source_data , |
| 5376 |
zend_hash_key *hash_key , |
|
5376 |
zend_hash_key *hash_key , |
| 5377 |
void *pParam ) , |
|
5377 |
void *pParam ) , |
| 5378 |
void *pParam ) ; |
|
5378 |
void *pParam ) ; |
| 5379 |
extern int __attribute__((__visibility__("default"))) zend_hash_sort(HashTable *ht , |
|
5379 |
extern int __attribute__((__visibility__("default"))) zend_hash_sort(HashTable *ht , |
| 5380 |
void (*sort_func)(void * , |
|
5380 |
void (*sort_func)(void * , |
| 5381 |
size_t , |
|
5381 |
size_t , |
| 5382 |
size_t , |
|
5382 |
size_t , |
| 5383 |
int (*)(void const * , |
|
5383 |
int (*)(void const * , |
| 5384 |
void const * ) ) , |
|
5384 |
void const * ) ) , |
| 5385 |
int (*compare_func)(void const * , |
|
5385 |
int (*compare_func)(void const * , |
| 5386 |
void const * ) , |
|
5386 |
void const * ) , |
| 5387 |
int renumber ) ; |
|
5387 |
int renumber ) ; |
| 5388 |
extern int __attribute__((__visibility__("default"))) zend_hash_compare(HashTable *ht1 , |
|
5388 |
extern int __attribute__((__visibility__("default"))) zend_hash_compare(HashTable *ht1 , |
| 5389 |
HashTable *ht2 , |
|
5389 |
HashTable *ht2 , |
| 5390 |
int (*compar)(void const * , |
|
5390 |
int (*compar)(void const * , |
| 5391 |
void const * ) , |
|
5391 |
void const * ) , |
| 5392 |
zend_bool ordered ) ; |
|
5392 |
zend_bool ordered ) ; |
| 5393 |
extern int __attribute__((__visibility__("default"))) zend_hash_minmax(HashTable const *ht , |
|
5393 |
extern int __attribute__((__visibility__("default"))) zend_hash_minmax(HashTable const *ht , |
| 5394 |
int (*compar)(void const * , |
|
5394 |
int (*compar)(void const * , |
| 5395 |
void const * ) , |
|
5395 |
void const * ) , |
| 5396 |
int flag , |
|
5396 |
int flag , |
| 5397 |
void **pData ) ; |
|
5397 |
void **pData ) ; |
| 5398 |
extern int __attribute__((__visibility__("default"))) zend_hash_num_elements(HashTable const *ht ) ; |
|
5398 |
extern int __attribute__((__visibility__("default"))) zend_hash_num_elements(HashTable const *ht ) ; |
| 5399 |
extern int __attribute__((__visibility__("default"))) zend_hash_rehash(HashTable *ht ) ; |
|
5399 |
extern int __attribute__((__visibility__("default"))) zend_hash_rehash(HashTable *ht ) ; |
| 5400 |
__inline static ulong zend_inline_hash_func(char const *arKey , |
|
5400 |
__inline static ulong zend_inline_hash_func(char const *arKey , |
| 5401 |
uint nKeyLength ) |
|
5401 |
uint nKeyLength ) |
| 5402 |
{ |
|
5402 |
{ |
| 5403 |
register ulong hash ; |
|
5403 |
register ulong hash ; |
| 5404 |
char const *tmp ; |
|
5404 |
char const *tmp ; |
| 5405 |
char const *tmp___0 ; |
|
5405 |
char const *tmp___0 ; |
| 5406 |
char const *tmp___1 ; |
|
5406 |
char const *tmp___1 ; |
| 5407 |
char const *tmp___2 ; |
|
5407 |
char const *tmp___2 ; |
| 5408 |
char const *tmp___3 ; |
|
5408 |
char const *tmp___3 ; |
| 5409 |
char const *tmp___4 ; |
|
5409 |
char const *tmp___4 ; |
| 5410 |
char const *tmp___5 ; |
|
5410 |
char const *tmp___5 ; |
| 5411 |
char const *tmp___6 ; |
|
5411 |
char const *tmp___6 ; |
| 5412 |
char const *tmp___7 ; |
|
5412 |
char const *tmp___7 ; |
| 5413 |
char const *tmp___8 ; |
|
5413 |
char const *tmp___8 ; |
| 5414 |
char const *tmp___9 ; |
|
5414 |
char const *tmp___9 ; |
| 5415 |
char const *tmp___10 ; |
|
5415 |
char const *tmp___10 ; |
| 5416 |
char const *tmp___11 ; |
|
5416 |
char const *tmp___11 ; |
| 5417 |
char const *tmp___12 ; |
|
5417 |
char const *tmp___12 ; |
| 5418 |
char const *tmp___13 ; |
|
5418 |
char const *tmp___13 ; |
| 5419 |
|
|
5419 |
|
| 5420 |
{ |
|
5420 |
{ |
| 5421 |
hash = (ulong )5381; |
|
5421 |
hash = (ulong )5381; |
| 5422 |
while (nKeyLength >= 8U) { |
|
5422 |
while (nKeyLength >= 8U) { |
| 5423 |
tmp = arKey; |
|
5423 |
tmp = arKey; |
| 5424 |
arKey ++; |
|
5424 |
arKey ++; |
| 5425 |
hash = ((hash << 5) + hash) + (ulong )*tmp; |
|
5425 |
hash = ((hash << 5) + hash) + (ulong )*tmp; |
| 5426 |
tmp___0 = arKey; |
|
5426 |
tmp___0 = arKey; |
| 5427 |
arKey ++; |
|
5427 |
arKey ++; |
| 5428 |
hash = ((hash << 5) + hash) + (ulong )*tmp___0; |
|
5428 |
hash = ((hash << 5) + hash) + (ulong )*tmp___0; |
| 5429 |
tmp___1 = arKey; |
|
5429 |
tmp___1 = arKey; |
| 5430 |
arKey ++; |
|
5430 |
arKey ++; |
| 5431 |
hash = ((hash << 5) + hash) + (ulong )*tmp___1; |
|
5431 |
hash = ((hash << 5) + hash) + (ulong )*tmp___1; |
| 5432 |
tmp___2 = arKey; |
|
5432 |
tmp___2 = arKey; |
| 5433 |
arKey ++; |
|
5433 |
arKey ++; |
| 5434 |
hash = ((hash << 5) + hash) + (ulong )*tmp___2; |
|
5434 |
hash = ((hash << 5) + hash) + (ulong )*tmp___2; |
| 5435 |
tmp___3 = arKey; |
|
5435 |
tmp___3 = arKey; |
| 5436 |
arKey ++; |
|
5436 |
arKey ++; |
| 5437 |
hash = ((hash << 5) + hash) + (ulong )*tmp___3; |
|
5437 |
hash = ((hash << 5) + hash) + (ulong )*tmp___3; |
| 5438 |
tmp___4 = arKey; |
|
5438 |
tmp___4 = arKey; |
| 5439 |
arKey ++; |
|
5439 |
arKey ++; |
| 5440 |
hash = ((hash << 5) + hash) + (ulong )*tmp___4; |
|
5440 |
hash = ((hash << 5) + hash) + (ulong )*tmp___4; |
| 5441 |
tmp___5 = arKey; |
|
5441 |
tmp___5 = arKey; |
| 5442 |
arKey ++; |
|
5442 |
arKey ++; |
| 5443 |
hash = ((hash << 5) + hash) + (ulong )*tmp___5; |
|
5443 |
hash = ((hash << 5) + hash) + (ulong )*tmp___5; |
| 5444 |
tmp___6 = arKey; |
|
5444 |
tmp___6 = arKey; |
| 5445 |
arKey ++; |
|
5445 |
arKey ++; |
| 5446 |
hash = ((hash << 5) + hash) + (ulong )*tmp___6; |
|
5446 |
hash = ((hash << 5) + hash) + (ulong )*tmp___6; |
| 5447 |
nKeyLength -= 8U; |
|
5447 |
nKeyLength -= 8U; |
| 5448 |
} |
|
5448 |
} |
| 5449 |
switch (nKeyLength) { |
|
5449 |
switch (nKeyLength) { |
| 5450 |
case 7U: |
|
5450 |
case 7U: |
| 5451 |
tmp___7 = arKey; |
|
5451 |
tmp___7 = arKey; |
| 5452 |
arKey ++; |
|
5452 |
arKey ++; |
| 5453 |
hash = ((hash << 5) + hash) + (ulong )*tmp___7; |
|
5453 |
hash = ((hash << 5) + hash) + (ulong )*tmp___7; |
| 5454 |
case 6U: |
|
5454 |
case 6U: |
| 5455 |
tmp___8 = arKey; |
|
5455 |
tmp___8 = arKey; |
| 5456 |
arKey ++; |
|
5456 |
arKey ++; |
| 5457 |
hash = ((hash << 5) + hash) + (ulong )*tmp___8; |
|
5457 |
hash = ((hash << 5) + hash) + (ulong )*tmp___8; |
| 5458 |
case 5U: |
|
5458 |
case 5U: |
| 5459 |
tmp___9 = arKey; |
|
5459 |
tmp___9 = arKey; |
| 5460 |
arKey ++; |
|
5460 |
arKey ++; |
| 5461 |
hash = ((hash << 5) + hash) + (ulong )*tmp___9; |
|
5461 |
hash = ((hash << 5) + hash) + (ulong )*tmp___9; |
| 5462 |
case 4U: |
|
5462 |
case 4U: |
| 5463 |
tmp___10 = arKey; |
|
5463 |
tmp___10 = arKey; |
| 5464 |
arKey ++; |
|
5464 |
arKey ++; |
| 5465 |
hash = ((hash << 5) + hash) + (ulong )*tmp___10; |
|
5465 |
hash = ((hash << 5) + hash) + (ulong )*tmp___10; |
| 5466 |
case 3U: |
|
5466 |
case 3U: |
| 5467 |
tmp___11 = arKey; |
|
5467 |
tmp___11 = arKey; |
| 5468 |
arKey ++; |
|
5468 |
arKey ++; |
| 5469 |
hash = ((hash << 5) + hash) + (ulong )*tmp___11; |
|
5469 |
hash = ((hash << 5) + hash) + (ulong )*tmp___11; |
| 5470 |
case 2U: |
|
5470 |
case 2U: |
| 5471 |
tmp___12 = arKey; |
|
5471 |
tmp___12 = arKey; |
| 5472 |
arKey ++; |
|
5472 |
arKey ++; |
| 5473 |
hash = ((hash << 5) + hash) + (ulong )*tmp___12; |
|
5473 |
hash = ((hash << 5) + hash) + (ulong )*tmp___12; |
| 5474 |
case 1U: |
|
5474 |
case 1U: |
| 5475 |
tmp___13 = arKey; |
|
5475 |
tmp___13 = arKey; |
| 5476 |
arKey ++; |
|
5476 |
arKey ++; |
| 5477 |
hash = ((hash << 5) + hash) + (ulong )*tmp___13; |
|
5477 |
hash = ((hash << 5) + hash) + (ulong )*tmp___13; |
| 5478 |
break; |
|
5478 |
break; |
| 5479 |
case 0U: |
|
5479 |
case 0U: |
| 5480 |
break; |
|
5480 |
break; |
| 5481 |
} |
|
5481 |
} |
| 5482 |
return (hash); |
|
5482 |
return (hash); |
| 5483 |
} |
|
5483 |
} |
| 5484 |
} |
|
5484 |
} |
| 5485 |
extern ulong __attribute__((__visibility__("default"))) zend_hash_func(char const *arKey , |
|
5485 |
extern ulong __attribute__((__visibility__("default"))) zend_hash_func(char const *arKey , |
| 5486 |
uint nKeyLength ) ; |
|
5486 |
uint nKeyLength ) ; |
| 5487 |
__inline static int zend_symtable_update(HashTable *ht , char const *arKey , |
|
5487 |
__inline static int zend_symtable_update(HashTable *ht , char const *arKey , |
| 5488 |
uint nKeyLength , void *pData , |
|
5488 |
uint nKeyLength , void *pData , |
| 5489 |
uint nDataSize , void **pDest ) |
|
5489 |
uint nDataSize , void **pDest ) |
| 5490 |
{ |
|
5490 |
{ |
| 5491 |
ulong idx ; |
|
5491 |
ulong idx ; |
| 5492 |
register char const *tmp ; |
|
5492 |
register char const *tmp ; |
| 5493 |
char const *end ; |
|
5493 |
char const *end ; |
| 5494 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
5494 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 5495 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
5495 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 5496 |
|
|
5496 |
|
| 5497 |
{ |
|
5497 |
{ |
| 5498 |
while (1) { |
|
5498 |
while (1) { |
| 5499 |
while (1) { |
|
5499 |
while (1) { |
| 5500 |
tmp = arKey; |
|
5500 |
tmp = arKey; |
| 5501 |
if ((int const )*tmp == 45) { |
|
5501 |
if ((int const )*tmp == 45) { |
| 5502 |
tmp ++; |
|
5502 |
tmp ++; |
| 5503 |
} else { |
|
5503 |
} else { |
| 5504 |
|
|
5504 |
|
| 5505 |
} |
|
5505 |
} |
| 5506 |
if ((int const )*tmp >= 48) { |
|
5506 |
if ((int const )*tmp >= 48) { |
| 5507 |
if ((int const )*tmp <= 57) { |
|
5507 |
if ((int const )*tmp <= 57) { |
| 5508 |
end = (arKey + nKeyLength) - 1; |
|
5508 |
end = (arKey + nKeyLength) - 1; |
| 5509 |
if ((int const )*end != 0) { |
|
5509 |
if ((int const )*end != 0) { |
| 5510 |
break; |
|
5510 |
break; |
| 5511 |
} else |
|
5511 |
} else |
| 5512 |
if ((int const )*tmp == 48) { |
|
5512 |
if ((int const )*tmp == 48) { |
| 5513 |
if (nKeyLength > 2U) { |
|
5513 |
if (nKeyLength > 2U) { |
| 5514 |
break; |
|
5514 |
break; |
| 5515 |
} else { |
|
5515 |
} else { |
| 5516 |
goto _L; |
|
5516 |
goto _L; |
| 5517 |
} |
|
5517 |
} |
| 5518 |
} else |
|
5518 |
} else |
| 5519 |
_L: |
|
5519 |
_L: |
| 5520 |
if (end - tmp > 10) { |
|
5520 |
if (end - tmp > 10) { |
| 5521 |
break; |
|
5521 |
break; |
| 5522 |
} else |
|
5522 |
} else |
| 5523 |
if (end - tmp == 10) { |
|
5523 |
if (end - tmp == 10) { |
| 5524 |
if ((int const )*tmp > 50) { |
|
5524 |
if ((int const )*tmp > 50) { |
| 5525 |
break; |
|
5525 |
break; |
| 5526 |
} else { |
|
5526 |
} else { |
| 5527 |
|
|
5527 |
|
| 5528 |
} |
|
5528 |
} |
| 5529 |
} else { |
|
5529 |
} else { |
| 5530 |
|
|
5530 |
|
| 5531 |
} |
|
5531 |
} |
| 5532 |
idx = (ulong )((int const )*tmp - 48); |
|
5532 |
idx = (ulong )((int const )*tmp - 48); |
| 5533 |
while (1) { |
|
5533 |
while (1) { |
| 5534 |
tmp ++; |
|
5534 |
tmp ++; |
| 5535 |
if ((unsigned int )tmp != (unsigned int )end) { |
|
5535 |
if ((unsigned int )tmp != (unsigned int )end) { |
| 5536 |
if ((int const )*tmp >= 48) { |
|
5536 |
if ((int const )*tmp >= 48) { |
| 5537 |
if ((int const )*tmp <= 57) { |
|
5537 |
if ((int const )*tmp <= 57) { |
| 5538 |
|
|
5538 |
|
| 5539 |
} else { |
|
5539 |
} else { |
| 5540 |
break; |
|
5540 |
break; |
| 5541 |
} |
|
5541 |
} |
| 5542 |
} else { |
|
5542 |
} else { |
| 5543 |
break; |
|
5543 |
break; |
| 5544 |
} |
|
5544 |
} |
| 5545 |
} else { |
|
5545 |
} else { |
| 5546 |
break; |
|
5546 |
break; |
| 5547 |
} |
|
5547 |
} |
| 5548 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
|
5548 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
| 5549 |
} |
|
5549 |
} |
| 5550 |
if ((unsigned int )tmp == (unsigned int )end) { |
|
5550 |
if ((unsigned int )tmp == (unsigned int )end) { |
| 5551 |
if ((int const )*arKey == 45) { |
|
5551 |
if ((int const )*arKey == 45) { |
| 5552 |
if (idx - 1UL > 2147483647UL) { |
|
5552 |
if (idx - 1UL > 2147483647UL) { |
| 5553 |
break; |
|
5553 |
break; |
| 5554 |
} else { |
|
5554 |
} else { |
| 5555 |
|
|
5555 |
|
| 5556 |
} |
|
5556 |
} |
| 5557 |
idx = (ulong )(- ((long )idx)); |
|
5557 |
idx = (ulong )(- ((long )idx)); |
| 5558 |
} else |
|
5558 |
} else |
| 5559 |
if (idx > 2147483647UL) { |
|
5559 |
if (idx > 2147483647UL) { |
| 5560 |
break; |
|
5560 |
break; |
| 5561 |
} else { |
|
5561 |
} else { |
| 5562 |
|
|
5562 |
|
| 5563 |
} |
|
5563 |
} |
| 5564 |
tmp___0 = _zend_hash_index_update_or_next_insert(ht, idx, pData, |
|
5564 |
tmp___0 = _zend_hash_index_update_or_next_insert(ht, idx, pData, |
| 5565 |
nDataSize, pDest, 1); |
|
5565 |
nDataSize, pDest, 1); |
| 5566 |
return ((int )tmp___0); |
|
5566 |
return ((int )tmp___0); |
| 5567 |
} else { |
|
5567 |
} else { |
| 5568 |
|
|
5568 |
|
| 5569 |
} |
|
5569 |
} |
| 5570 |
} else { |
|
5570 |
} else { |
| 5571 |
|
|
5571 |
|
| 5572 |
} |
|
5572 |
} |
| 5573 |
} else { |
|
5573 |
} else { |
| 5574 |
|
|
5574 |
|
| 5575 |
} |
|
5575 |
} |
| 5576 |
break; |
|
5576 |
break; |
| 5577 |
} |
|
5577 |
} |
| 5578 |
break; |
|
5578 |
break; |
| 5579 |
} |
|
5579 |
} |
| 5580 |
tmp___1 = _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, |
|
5580 |
tmp___1 = _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, |
| 5581 |
pDest, 1); |
|
5581 |
pDest, 1); |
| 5582 |
return ((int )tmp___1); |
|
5582 |
return ((int )tmp___1); |
| 5583 |
} |
|
5583 |
} |
| 5584 |
} |
|
5584 |
} |
| 5585 |
__inline static int zend_symtable_del(HashTable *ht , char const *arKey , |
|
5585 |
__inline static int zend_symtable_del(HashTable *ht , char const *arKey , |
| 5586 |
uint nKeyLength ) |
|
5586 |
uint nKeyLength ) |
| 5587 |
{ |
|
5587 |
{ |
| 5588 |
ulong idx ; |
|
5588 |
ulong idx ; |
| 5589 |
register char const *tmp ; |
|
5589 |
register char const *tmp ; |
| 5590 |
char const *end ; |
|
5590 |
char const *end ; |
| 5591 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
5591 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 5592 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
5592 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 5593 |
|
|
5593 |
|
| 5594 |
{ |
|
5594 |
{ |
| 5595 |
while (1) { |
|
5595 |
while (1) { |
| 5596 |
while (1) { |
|
5596 |
while (1) { |
| 5597 |
tmp = arKey; |
|
5597 |
tmp = arKey; |
| 5598 |
if ((int const )*tmp == 45) { |
|
5598 |
if ((int const )*tmp == 45) { |
| 5599 |
tmp ++; |
|
5599 |
tmp ++; |
| 5600 |
} else { |
|
5600 |
} else { |
| 5601 |
|
|
5601 |
|
| 5602 |
} |
|
5602 |
} |
| 5603 |
if ((int const )*tmp >= 48) { |
|
5603 |
if ((int const )*tmp >= 48) { |
| 5604 |
if ((int const )*tmp <= 57) { |
|
5604 |
if ((int const )*tmp <= 57) { |
| 5605 |
end = (arKey + nKeyLength) - 1; |
|
5605 |
end = (arKey + nKeyLength) - 1; |
| 5606 |
if ((int const )*end != 0) { |
|
5606 |
if ((int const )*end != 0) { |
| 5607 |
break; |
|
5607 |
break; |
| 5608 |
} else |
|
5608 |
} else |
| 5609 |
if ((int const )*tmp == 48) { |
|
5609 |
if ((int const )*tmp == 48) { |
| 5610 |
if (nKeyLength > 2U) { |
|
5610 |
if (nKeyLength > 2U) { |
| 5611 |
break; |
|
5611 |
break; |
| 5612 |
} else { |
|
5612 |
} else { |
| 5613 |
goto _L; |
|
5613 |
goto _L; |
| 5614 |
} |
|
5614 |
} |
| 5615 |
} else |
|
5615 |
} else |
| 5616 |
_L: |
|
5616 |
_L: |
| 5617 |
if (end - tmp > 10) { |
|
5617 |
if (end - tmp > 10) { |
| 5618 |
break; |
|
5618 |
break; |
| 5619 |
} else |
|
5619 |
} else |
| 5620 |
if (end - tmp == 10) { |
|
5620 |
if (end - tmp == 10) { |
| 5621 |
if ((int const )*tmp > 50) { |
|
5621 |
if ((int const )*tmp > 50) { |
| 5622 |
break; |
|
5622 |
break; |
| 5623 |
} else { |
|
5623 |
} else { |
| 5624 |
|
|
5624 |
|
| 5625 |
} |
|
5625 |
} |
| 5626 |
} else { |
|
5626 |
} else { |
| 5627 |
|
|
5627 |
|
| 5628 |
} |
|
5628 |
} |
| 5629 |
idx = (ulong )((int const )*tmp - 48); |
|
5629 |
idx = (ulong )((int const )*tmp - 48); |
| 5630 |
while (1) { |
|
5630 |
while (1) { |
| 5631 |
tmp ++; |
|
5631 |
tmp ++; |
| 5632 |
if ((unsigned int )tmp != (unsigned int )end) { |
|
5632 |
if ((unsigned int )tmp != (unsigned int )end) { |
| 5633 |
if ((int const )*tmp >= 48) { |
|
5633 |
if ((int const )*tmp >= 48) { |
| 5634 |
if ((int const )*tmp <= 57) { |
|
5634 |
if ((int const )*tmp <= 57) { |
| 5635 |
|
|
5635 |
|
| 5636 |
} else { |
|
5636 |
} else { |
| 5637 |
break; |
|
5637 |
break; |
| 5638 |
} |
|
5638 |
} |
| 5639 |
} else { |
|
5639 |
} else { |
| 5640 |
break; |
|
5640 |
break; |
| 5641 |
} |
|
5641 |
} |
| 5642 |
} else { |
|
5642 |
} else { |
| 5643 |
break; |
|
5643 |
break; |
| 5644 |
} |
|
5644 |
} |
| 5645 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
|
5645 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
| 5646 |
} |
|
5646 |
} |
| 5647 |
if ((unsigned int )tmp == (unsigned int )end) { |
|
5647 |
if ((unsigned int )tmp == (unsigned int )end) { |
| 5648 |
if ((int const )*arKey == 45) { |
|
5648 |
if ((int const )*arKey == 45) { |
| 5649 |
if (idx - 1UL > 2147483647UL) { |
|
5649 |
if (idx - 1UL > 2147483647UL) { |
| 5650 |
break; |
|
5650 |
break; |
| 5651 |
} else { |
|
5651 |
} else { |
| 5652 |
|
|
5652 |
|
| 5653 |
} |
|
5653 |
} |
| 5654 |
idx = (ulong )(- ((long )idx)); |
|
5654 |
idx = (ulong )(- ((long )idx)); |
| 5655 |
} else |
|
5655 |
} else |
| 5656 |
if (idx > 2147483647UL) { |
|
5656 |
if (idx > 2147483647UL) { |
| 5657 |
break; |
|
5657 |
break; |
| 5658 |
} else { |
|
5658 |
} else { |
| 5659 |
|
|
5659 |
|
| 5660 |
} |
|
5660 |
} |
| 5661 |
tmp___0 = zend_hash_del_key_or_index(ht, |
|
5661 |
tmp___0 = zend_hash_del_key_or_index(ht, |
| 5662 |
(char const *)((void *)0), |
|
5662 |
(char const *)((void *)0), |
| 5663 |
(uint )0, idx, 1); |
|
5663 |
(uint )0, idx, 1); |
| 5664 |
return ((int )tmp___0); |
|
5664 |
return ((int )tmp___0); |
| 5665 |
} else { |
|
5665 |
} else { |
| 5666 |
|
|
5666 |
|
| 5667 |
} |
|
5667 |
} |
| 5668 |
} else { |
|
5668 |
} else { |
| 5669 |
|
|
5669 |
|
| 5670 |
} |
|
5670 |
} |
| 5671 |
} else { |
|
5671 |
} else { |
| 5672 |
|
|
5672 |
|
| 5673 |
} |
|
5673 |
} |
| 5674 |
break; |
|
5674 |
break; |
| 5675 |
} |
|
5675 |
} |
| 5676 |
break; |
|
5676 |
break; |
| 5677 |
} |
|
5677 |
} |
| 5678 |
tmp___1 = zend_hash_del_key_or_index(ht, arKey, nKeyLength, (ulong )0, 0); |
|
5678 |
tmp___1 = zend_hash_del_key_or_index(ht, arKey, nKeyLength, (ulong )0, 0); |
| 5679 |
return ((int )tmp___1); |
|
5679 |
return ((int )tmp___1); |
| 5680 |
} |
|
5680 |
} |
| 5681 |
} |
|
5681 |
} |
| 5682 |
__inline static int zend_symtable_find(HashTable *ht , char const *arKey , |
|
5682 |
__inline static int zend_symtable_find(HashTable *ht , char const *arKey , |
| 5683 |
uint nKeyLength , void **pData ) |
|
5683 |
uint nKeyLength , void **pData ) |
| 5684 |
{ |
|
5684 |
{ |
| 5685 |
ulong idx ; |
|
5685 |
ulong idx ; |
| 5686 |
register char const *tmp ; |
|
5686 |
register char const *tmp ; |
| 5687 |
char const *end ; |
|
5687 |
char const *end ; |
| 5688 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
5688 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 5689 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
5689 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 5690 |
|
|
5690 |
|
| 5691 |
{ |
|
5691 |
{ |
| 5692 |
while (1) { |
|
5692 |
while (1) { |
| 5693 |
while (1) { |
|
5693 |
while (1) { |
| 5694 |
tmp = arKey; |
|
5694 |
tmp = arKey; |
| 5695 |
if ((int const )*tmp == 45) { |
|
5695 |
if ((int const )*tmp == 45) { |
| 5696 |
tmp ++; |
|
5696 |
tmp ++; |
| 5697 |
} else { |
|
5697 |
} else { |
| 5698 |
|
|
5698 |
|
| 5699 |
} |
|
5699 |
} |
| 5700 |
if ((int const )*tmp >= 48) { |
|
5700 |
if ((int const )*tmp >= 48) { |
| 5701 |
if ((int const )*tmp <= 57) { |
|
5701 |
if ((int const )*tmp <= 57) { |
| 5702 |
end = (arKey + nKeyLength) - 1; |
|
5702 |
end = (arKey + nKeyLength) - 1; |
| 5703 |
if ((int const )*end != 0) { |
|
5703 |
if ((int const )*end != 0) { |
| 5704 |
break; |
|
5704 |
break; |
| 5705 |
} else |
|
5705 |
} else |
| 5706 |
if ((int const )*tmp == 48) { |
|
5706 |
if ((int const )*tmp == 48) { |
| 5707 |
if (nKeyLength > 2U) { |
|
5707 |
if (nKeyLength > 2U) { |
| 5708 |
break; |
|
5708 |
break; |
| 5709 |
} else { |
|
5709 |
} else { |
| 5710 |
goto _L; |
|
5710 |
goto _L; |
| 5711 |
} |
|
5711 |
} |
| 5712 |
} else |
|
5712 |
} else |
| 5713 |
_L: |
|
5713 |
_L: |
| 5714 |
if (end - tmp > 10) { |
|
5714 |
if (end - tmp > 10) { |
| 5715 |
break; |
|
5715 |
break; |
| 5716 |
} else |
|
5716 |
} else |
| 5717 |
if (end - tmp == 10) { |
|
5717 |
if (end - tmp == 10) { |
| 5718 |
if ((int const )*tmp > 50) { |
|
5718 |
if ((int const )*tmp > 50) { |
| 5719 |
break; |
|
5719 |
break; |
| 5720 |
} else { |
|
5720 |
} else { |
| 5721 |
|
|
5721 |
|
| 5722 |
} |
|
5722 |
} |
| 5723 |
} else { |
|
5723 |
} else { |
| 5724 |
|
|
5724 |
|
| 5725 |
} |
|
5725 |
} |
| 5726 |
idx = (ulong )((int const )*tmp - 48); |
|
5726 |
idx = (ulong )((int const )*tmp - 48); |
| 5727 |
while (1) { |
|
5727 |
while (1) { |
| 5728 |
tmp ++; |
|
5728 |
tmp ++; |
| 5729 |
if ((unsigned int )tmp != (unsigned int )end) { |
|
5729 |
if ((unsigned int )tmp != (unsigned int )end) { |
| 5730 |
if ((int const )*tmp >= 48) { |
|
5730 |
if ((int const )*tmp >= 48) { |
| 5731 |
if ((int const )*tmp <= 57) { |
|
5731 |
if ((int const )*tmp <= 57) { |
| 5732 |
|
|
5732 |
|
| 5733 |
} else { |
|
5733 |
} else { |
| 5734 |
break; |
|
5734 |
break; |
| 5735 |
} |
|
5735 |
} |
| 5736 |
} else { |
|
5736 |
} else { |
| 5737 |
break; |
|
5737 |
break; |
| 5738 |
} |
|
5738 |
} |
| 5739 |
} else { |
|
5739 |
} else { |
| 5740 |
break; |
|
5740 |
break; |
| 5741 |
} |
|
5741 |
} |
| 5742 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
|
5742 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
| 5743 |
} |
|
5743 |
} |
| 5744 |
if ((unsigned int )tmp == (unsigned int )end) { |
|
5744 |
if ((unsigned int )tmp == (unsigned int )end) { |
| 5745 |
if ((int const )*arKey == 45) { |
|
5745 |
if ((int const )*arKey == 45) { |
| 5746 |
if (idx - 1UL > 2147483647UL) { |
|
5746 |
if (idx - 1UL > 2147483647UL) { |
| 5747 |
break; |
|
5747 |
break; |
| 5748 |
} else { |
|
5748 |
} else { |
| 5749 |
|
|
5749 |
|
| 5750 |
} |
|
5750 |
} |
| 5751 |
idx = (ulong )(- ((long )idx)); |
|
5751 |
idx = (ulong )(- ((long )idx)); |
| 5752 |
} else |
|
5752 |
} else |
| 5753 |
if (idx > 2147483647UL) { |
|
5753 |
if (idx > 2147483647UL) { |
| 5754 |
break; |
|
5754 |
break; |
| 5755 |
} else { |
|
5755 |
} else { |
| 5756 |
|
|
5756 |
|
| 5757 |
} |
|
5757 |
} |
| 5758 |
tmp___0 = zend_hash_index_find((HashTable const *)ht, idx, pData); |
|
5758 |
tmp___0 = zend_hash_index_find((HashTable const *)ht, idx, pData); |
| 5759 |
return ((int )tmp___0); |
|
5759 |
return ((int )tmp___0); |
| 5760 |
} else { |
|
5760 |
} else { |
| 5761 |
|
|
5761 |
|
| 5762 |
} |
|
5762 |
} |
| 5763 |
} else { |
|
5763 |
} else { |
| 5764 |
|
|
5764 |
|
| 5765 |
} |
|
5765 |
} |
| 5766 |
} else { |
|
5766 |
} else { |
| 5767 |
|
|
5767 |
|
| 5768 |
} |
|
5768 |
} |
| 5769 |
break; |
|
5769 |
break; |
| 5770 |
} |
|
5770 |
} |
| 5771 |
break; |
|
5771 |
break; |
| 5772 |
} |
|
5772 |
} |
| 5773 |
tmp___1 = zend_hash_find((HashTable const *)ht, arKey, nKeyLength, pData); |
|
5773 |
tmp___1 = zend_hash_find((HashTable const *)ht, arKey, nKeyLength, pData); |
| 5774 |
return ((int )tmp___1); |
|
5774 |
return ((int )tmp___1); |
| 5775 |
} |
|
5775 |
} |
| 5776 |
} |
|
5776 |
} |
| 5777 |
__inline static int zend_symtable_exists(HashTable *ht , char const *arKey , |
|
5777 |
__inline static int zend_symtable_exists(HashTable *ht , char const *arKey , |
| 5778 |
uint nKeyLength ) |
|
5778 |
uint nKeyLength ) |
| 5779 |
{ |
|
5779 |
{ |
| 5780 |
ulong idx ; |
|
5780 |
ulong idx ; |
| 5781 |
register char const *tmp ; |
|
5781 |
register char const *tmp ; |
| 5782 |
char const *end ; |
|
5782 |
char const *end ; |
| 5783 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
5783 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 5784 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
5784 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 5785 |
|
|
5785 |
|
| 5786 |
{ |
|
5786 |
{ |
| 5787 |
while (1) { |
|
5787 |
while (1) { |
| 5788 |
while (1) { |
|
5788 |
while (1) { |
| 5789 |
tmp = arKey; |
|
5789 |
tmp = arKey; |
| 5790 |
if ((int const )*tmp == 45) { |
|
5790 |
if ((int const )*tmp == 45) { |
| 5791 |
tmp ++; |
|
5791 |
tmp ++; |
| 5792 |
} else { |
|
5792 |
} else { |
| 5793 |
|
|
5793 |
|
| 5794 |
} |
|
5794 |
} |
| 5795 |
if ((int const )*tmp >= 48) { |
|
5795 |
if ((int const )*tmp >= 48) { |
| 5796 |
if ((int const )*tmp <= 57) { |
|
5796 |
if ((int const )*tmp <= 57) { |
| 5797 |
end = (arKey + nKeyLength) - 1; |
|
5797 |
end = (arKey + nKeyLength) - 1; |
| 5798 |
if ((int const )*end != 0) { |
|
5798 |
if ((int const )*end != 0) { |
| 5799 |
break; |
|
5799 |
break; |
| 5800 |
} else |
|
5800 |
} else |
| 5801 |
if ((int const )*tmp == 48) { |
|
5801 |
if ((int const )*tmp == 48) { |
| 5802 |
if (nKeyLength > 2U) { |
|
5802 |
if (nKeyLength > 2U) { |
| 5803 |
break; |
|
5803 |
break; |
| 5804 |
} else { |
|
5804 |
} else { |
| 5805 |
goto _L; |
|
5805 |
goto _L; |
| 5806 |
} |
|
5806 |
} |
| 5807 |
} else |
|
5807 |
} else |
| 5808 |
_L: |
|
5808 |
_L: |
| 5809 |
if (end - tmp > 10) { |
|
5809 |
if (end - tmp > 10) { |
| 5810 |
break; |
|
5810 |
break; |
| 5811 |
} else |
|
5811 |
} else |
| 5812 |
if (end - tmp == 10) { |
|
5812 |
if (end - tmp == 10) { |
| 5813 |
if ((int const )*tmp > 50) { |
|
5813 |
if ((int const )*tmp > 50) { |
| 5814 |
break; |
|
5814 |
break; |
| 5815 |
} else { |
|
5815 |
} else { |
| 5816 |
|
|
5816 |
|
| 5817 |
} |
|
5817 |
} |
| 5818 |
} else { |
|
5818 |
} else { |
| 5819 |
|
|
5819 |
|
| 5820 |
} |
|
5820 |
} |
| 5821 |
idx = (ulong )((int const )*tmp - 48); |
|
5821 |
idx = (ulong )((int const )*tmp - 48); |
| 5822 |
while (1) { |
|
5822 |
while (1) { |
| 5823 |
tmp ++; |
|
5823 |
tmp ++; |
| 5824 |
if ((unsigned int )tmp != (unsigned int )end) { |
|
5824 |
if ((unsigned int )tmp != (unsigned int )end) { |
| 5825 |
if ((int const )*tmp >= 48) { |
|
5825 |
if ((int const )*tmp >= 48) { |
| 5826 |
if ((int const )*tmp <= 57) { |
|
5826 |
if ((int const )*tmp <= 57) { |
| 5827 |
|
|
5827 |
|
| 5828 |
} else { |
|
5828 |
} else { |
| 5829 |
break; |
|
5829 |
break; |
| 5830 |
} |
|
5830 |
} |
| 5831 |
} else { |
|
5831 |
} else { |
| 5832 |
break; |
|
5832 |
break; |
| 5833 |
} |
|
5833 |
} |
| 5834 |
} else { |
|
5834 |
} else { |
| 5835 |
break; |
|
5835 |
break; |
| 5836 |
} |
|
5836 |
} |
| 5837 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
|
5837 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
| 5838 |
} |
|
5838 |
} |
| 5839 |
if ((unsigned int )tmp == (unsigned int )end) { |
|
5839 |
if ((unsigned int )tmp == (unsigned int )end) { |
| 5840 |
if ((int const )*arKey == 45) { |
|
5840 |
if ((int const )*arKey == 45) { |
| 5841 |
if (idx - 1UL > 2147483647UL) { |
|
5841 |
if (idx - 1UL > 2147483647UL) { |
| 5842 |
break; |
|
5842 |
break; |
| 5843 |
} else { |
|
5843 |
} else { |
| 5844 |
|
|
5844 |
|
| 5845 |
} |
|
5845 |
} |
| 5846 |
idx = (ulong )(- ((long )idx)); |
|
5846 |
idx = (ulong )(- ((long )idx)); |
| 5847 |
} else |
|
5847 |
} else |
| 5848 |
if (idx > 2147483647UL) { |
|
5848 |
if (idx > 2147483647UL) { |
| 5849 |
break; |
|
5849 |
break; |
| 5850 |
} else { |
|
5850 |
} else { |
| 5851 |
|
|
5851 |
|
| 5852 |
} |
|
5852 |
} |
| 5853 |
tmp___0 = zend_hash_index_exists((HashTable const *)ht, idx); |
|
5853 |
tmp___0 = zend_hash_index_exists((HashTable const *)ht, idx); |
| 5854 |
return ((int )tmp___0); |
|
5854 |
return ((int )tmp___0); |
| 5855 |
} else { |
|
5855 |
} else { |
| 5856 |
|
|
5856 |
|
| 5857 |
} |
|
5857 |
} |
| 5858 |
} else { |
|
5858 |
} else { |
| 5859 |
|
|
5859 |
|
| 5860 |
} |
|
5860 |
} |
| 5861 |
} else { |
|
5861 |
} else { |
| 5862 |
|
|
5862 |
|
| 5863 |
} |
|
5863 |
} |
| 5864 |
break; |
|
5864 |
break; |
| 5865 |
} |
|
5865 |
} |
| 5866 |
break; |
|
5866 |
break; |
| 5867 |
} |
|
5867 |
} |
| 5868 |
tmp___1 = zend_hash_exists((HashTable const *)ht, arKey, nKeyLength); |
|
5868 |
tmp___1 = zend_hash_exists((HashTable const *)ht, arKey, nKeyLength); |
| 5869 |
return ((int )tmp___1); |
|
5869 |
return ((int )tmp___1); |
| 5870 |
} |
|
5870 |
} |
| 5871 |
} |
|
5871 |
} |
| 5872 |
__inline static int zend_symtable_update_current_key_ex(HashTable *ht , |
|
5872 |
__inline static int zend_symtable_update_current_key_ex(HashTable *ht , |
| 5873 |
char const *arKey , |
|
5873 |
char const *arKey , |
| 5874 |
uint nKeyLength , |
|
5874 |
uint nKeyLength , |
| 5875 |
int mode , |
|
5875 |
int mode , |
| 5876 |
HashPosition *pos ) |
|
5876 |
HashPosition *pos ) |
| 5877 |
{ |
|
5877 |
{ |
| 5878 |
ulong idx ; |
|
5878 |
ulong idx ; |
| 5879 |
register char const *tmp ; |
|
5879 |
register char const *tmp ; |
| 5880 |
char const *end ; |
|
5880 |
char const *end ; |
| 5881 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
5881 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 5882 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
5882 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 5883 |
|
|
5883 |
|
| 5884 |
{ |
|
5884 |
{ |
| 5885 |
while (1) { |
|
5885 |
while (1) { |
| 5886 |
while (1) { |
|
5886 |
while (1) { |
| 5887 |
tmp = arKey; |
|
5887 |
tmp = arKey; |
| 5888 |
if ((int const )*tmp == 45) { |
|
5888 |
if ((int const )*tmp == 45) { |
| 5889 |
tmp ++; |
|
5889 |
tmp ++; |
| 5890 |
} else { |
|
5890 |
} else { |
| 5891 |
|
|
5891 |
|
| 5892 |
} |
|
5892 |
} |
| 5893 |
if ((int const )*tmp >= 48) { |
|
5893 |
if ((int const )*tmp >= 48) { |
| 5894 |
if ((int const )*tmp <= 57) { |
|
5894 |
if ((int const )*tmp <= 57) { |
| 5895 |
end = (arKey + nKeyLength) - 1; |
|
5895 |
end = (arKey + nKeyLength) - 1; |
| 5896 |
if ((int const )*end != 0) { |
|
5896 |
if ((int const )*end != 0) { |
| 5897 |
break; |
|
5897 |
break; |
| 5898 |
} else |
|
5898 |
} else |
| 5899 |
if ((int const )*tmp == 48) { |
|
5899 |
if ((int const )*tmp == 48) { |
| 5900 |
if (nKeyLength > 2U) { |
|
5900 |
if (nKeyLength > 2U) { |
| 5901 |
break; |
|
5901 |
break; |
| 5902 |
} else { |
|
5902 |
} else { |
| 5903 |
goto _L; |
|
5903 |
goto _L; |
| 5904 |
} |
|
5904 |
} |
| 5905 |
} else |
|
5905 |
} else |
| 5906 |
_L: |
|
5906 |
_L: |
| 5907 |
if (end - tmp > 10) { |
|
5907 |
if (end - tmp > 10) { |
| 5908 |
break; |
|
5908 |
break; |
| 5909 |
} else |
|
5909 |
} else |
| 5910 |
if (end - tmp == 10) { |
|
5910 |
if (end - tmp == 10) { |
| 5911 |
if ((int const )*tmp > 50) { |
|
5911 |
if ((int const )*tmp > 50) { |
| 5912 |
break; |
|
5912 |
break; |
| 5913 |
} else { |
|
5913 |
} else { |
| 5914 |
|
|
5914 |
|
| 5915 |
} |
|
5915 |
} |
| 5916 |
} else { |
|
5916 |
} else { |
| 5917 |
|
|
5917 |
|
| 5918 |
} |
|
5918 |
} |
| 5919 |
idx = (ulong )((int const )*tmp - 48); |
|
5919 |
idx = (ulong )((int const )*tmp - 48); |
| 5920 |
while (1) { |
|
5920 |
while (1) { |
| 5921 |
tmp ++; |
|
5921 |
tmp ++; |
| 5922 |
if ((unsigned int )tmp != (unsigned int )end) { |
|
5922 |
if ((unsigned int )tmp != (unsigned int )end) { |
| 5923 |
if ((int const )*tmp >= 48) { |
|
5923 |
if ((int const )*tmp >= 48) { |
| 5924 |
if ((int const )*tmp <= 57) { |
|
5924 |
if ((int const )*tmp <= 57) { |
| 5925 |
|
|
5925 |
|
| 5926 |
} else { |
|
5926 |
} else { |
| 5927 |
break; |
|
5927 |
break; |
| 5928 |
} |
|
5928 |
} |
| 5929 |
} else { |
|
5929 |
} else { |
| 5930 |
break; |
|
5930 |
break; |
| 5931 |
} |
|
5931 |
} |
| 5932 |
} else { |
|
5932 |
} else { |
| 5933 |
break; |
|
5933 |
break; |
| 5934 |
} |
|
5934 |
} |
| 5935 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
|
5935 |
idx = idx * 10UL + (ulong )((int const )*tmp - 48); |
| 5936 |
} |
|
5936 |
} |
| 5937 |
if ((unsigned int )tmp == (unsigned int )end) { |
|
5937 |
if ((unsigned int )tmp == (unsigned int )end) { |
| 5938 |
if ((int const )*arKey == 45) { |
|
5938 |
if ((int const )*arKey == 45) { |
| 5939 |
if (idx - 1UL > 2147483647UL) { |
|
5939 |
if (idx - 1UL > 2147483647UL) { |
| 5940 |
break; |
|
5940 |
break; |
| 5941 |
} else { |
|
5941 |
} else { |
| 5942 |
|
|
5942 |
|
| 5943 |
} |
|
5943 |
} |
| 5944 |
idx = (ulong )(- ((long )idx)); |
|
5944 |
idx = (ulong )(- ((long )idx)); |
| 5945 |
} else |
|
5945 |
} else |
| 5946 |
if (idx > 2147483647UL) { |
|
5946 |
if (idx > 2147483647UL) { |
| 5947 |
break; |
|
5947 |
break; |
| 5948 |
} else { |
|
5948 |
} else { |
| 5949 |
|
|
5949 |
|
| 5950 |
} |
|
5950 |
} |
| 5951 |
tmp___0 = zend_hash_update_current_key_ex(ht, 2, |
|
5951 |
tmp___0 = zend_hash_update_current_key_ex(ht, 2, |
| 5952 |
(char const *)((void *)0), |
|
5952 |
(char const *)((void *)0), |
| 5953 |
(uint )0, idx, mode, pos); |
|
5953 |
(uint )0, idx, mode, pos); |
| 5954 |
return ((int )tmp___0); |
|
5954 |
return ((int )tmp___0); |
| 5955 |
} else { |
|
5955 |
} else { |
| 5956 |
|
|
5956 |
|
| 5957 |
} |
|
5957 |
} |
| 5958 |
} else { |
|
5958 |
} else { |
| 5959 |
|
|
5959 |
|
| 5960 |
} |
|
5960 |
} |
| 5961 |
} else { |
|
5961 |
} else { |
| 5962 |
|
|
5962 |
|
| 5963 |
} |
|
5963 |
} |
| 5964 |
break; |
|
5964 |
break; |
| 5965 |
} |
|
5965 |
} |
| 5966 |
break; |
|
5966 |
break; |
| 5967 |
} |
|
5967 |
} |
| 5968 |
tmp___1 = zend_hash_update_current_key_ex(ht, 1, arKey, nKeyLength, (ulong )0, |
|
5968 |
tmp___1 = zend_hash_update_current_key_ex(ht, 1, arKey, nKeyLength, (ulong )0, |
| 5969 |
mode, pos); |
|
5969 |
mode, pos); |
| 5970 |
return ((int )tmp___1); |
|
5970 |
return ((int )tmp___1); |
| 5971 |
} |
|
5971 |
} |
| 5972 |
} |
|
5972 |
} |
| 5973 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_init(TsHashTable *ht , |
|
5973 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_init(TsHashTable *ht , |
| 5974 |
uint nSize , |
|
5974 |
uint nSize , |
| 5975 |
ulong (*pHashFunction)(char const *arKey , |
|
5975 |
ulong (*pHashFunction)(char const *arKey , |
| 5976 |
uint nKeyLength ) , |
|
5976 |
uint nKeyLength ) , |
| 5977 |
void (*pDestructor)(void *pDest ) , |
|
5977 |
void (*pDestructor)(void *pDest ) , |
| 5978 |
zend_bool persistent ) ; |
|
5978 |
zend_bool persistent ) ; |
| 5979 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_init_ex(TsHashTable *ht , |
|
5979 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_init_ex(TsHashTable *ht , |
| 5980 |
uint nSize , |
|
5980 |
uint nSize , |
| 5981 |
ulong (*pHashFunction)(char const *arKey , |
|
5981 |
ulong (*pHashFunction)(char const *arKey , |
| 5982 |
uint nKeyLength ) , |
|
5982 |
uint nKeyLength ) , |
| 5983 |
void (*pDestructor)(void *pDest ) , |
|
5983 |
void (*pDestructor)(void *pDest ) , |
| 5984 |
zend_bool persistent , |
|
5984 |
zend_bool persistent , |
| 5985 |
zend_bool bApplyProtection ) ; |
|
5985 |
zend_bool bApplyProtection ) ; |
| 5986 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_destroy(TsHashTable *ht ) ; |
|
5986 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_destroy(TsHashTable *ht ) ; |
| 5987 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_clean(TsHashTable *ht ) ; |
|
5987 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_clean(TsHashTable *ht ) ; |
| 5988 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_add_or_update(TsHashTable *ht , |
|
5988 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_add_or_update(TsHashTable *ht , |
| 5989 |
char *arKey , |
|
5989 |
char *arKey , |
| 5990 |
uint nKeyLength , |
|
5990 |
uint nKeyLength , |
| 5991 |
void *pData , |
|
5991 |
void *pData , |
| 5992 |
uint nDataSize , |
|
5992 |
uint nDataSize , |
| 5993 |
void **pDest , |
|
5993 |
void **pDest , |
| 5994 |
int flag ) ; |
|
5994 |
int flag ) ; |
| 5995 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_quick_add_or_update(TsHashTable *ht , |
|
5995 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_quick_add_or_update(TsHashTable *ht , |
| 5996 |
char *arKey , |
|
5996 |
char *arKey , |
| 5997 |
uint nKeyLength , |
|
5997 |
uint nKeyLength , |
| 5998 |
ulong h , |
|
5998 |
ulong h , |
| 5999 |
void *pData , |
|
5999 |
void *pData , |
| 6000 |
uint nDataSize , |
|
6000 |
uint nDataSize , |
| 6001 |
void **pDest , |
|
6001 |
void **pDest , |
| 6002 |
int flag ) ; |
|
6002 |
int flag ) ; |
| 6003 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht , |
|
6003 |
extern int __attribute__((__visibility__("default"))) _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht , |
| 6004 |
ulong h , |
|
6004 |
ulong h , |
| 6005 |
void *pData , |
|
6005 |
void *pData , |
| 6006 |
uint nDataSize , |
|
6006 |
uint nDataSize , |
| 6007 |
void **pDest , |
|
6007 |
void **pDest , |
| 6008 |
int flag ) ; |
|
6008 |
int flag ) ; |
| 6009 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_add_empty_element(TsHashTable *ht , |
|
6009 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_add_empty_element(TsHashTable *ht , |
| 6010 |
char *arKey , |
|
6010 |
char *arKey , |
| 6011 |
uint nKeyLength ) ; |
|
6011 |
uint nKeyLength ) ; |
| 6012 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_graceful_destroy(TsHashTable *ht ) ; |
|
6012 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_graceful_destroy(TsHashTable *ht ) ; |
| 6013 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply(TsHashTable *ht , |
|
6013 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply(TsHashTable *ht , |
| 6014 |
int (*apply_func)(void *pDest ) ) ; |
|
6014 |
int (*apply_func)(void *pDest ) ) ; |
| 6015 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply_with_argument(TsHashTable *ht , |
|
6015 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply_with_argument(TsHashTable *ht , |
| 6016 |
int (*apply_func)(void *pDest , |
|
6016 |
int (*apply_func)(void *pDest , |
| 6017 |
void *argument ) , |
|
6017 |
void *argument ) , |
| 6018 |
void * ) ; |
|
6018 |
void * ) ; |
| 6019 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply_with_arguments(TsHashTable *ht , |
|
6019 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_apply_with_arguments(TsHashTable *ht , |
| 6020 |
int (*apply_func)(void *pDest , |
|
6020 |
int (*apply_func)(void *pDest , |
| 6021 |
int num_args , |
|
6021 |
int num_args , |
| 6022 |
va_list args , |
|
6022 |
va_list args , |
| 6023 |
zend_hash_key *hash_key ) , |
|
6023 |
zend_hash_key *hash_key ) , |
| 6024 |
int |
|
6024 |
int |
| 6025 |
, ...) ; |
|
6025 |
, ...) ; |
| 6026 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_reverse_apply(TsHashTable *ht , |
|
6026 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_reverse_apply(TsHashTable *ht , |
| 6027 |
int (*apply_func)(void *pDest ) ) ; |
|
6027 |
int (*apply_func)(void *pDest ) ) ; |
| 6028 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_del_key_or_index(TsHashTable *ht , |
|
6028 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_del_key_or_index(TsHashTable *ht , |
| 6029 |
char *arKey , |
|
6029 |
char *arKey , |
| 6030 |
uint nKeyLength , |
|
6030 |
uint nKeyLength , |
| 6031 |
ulong h , |
|
6031 |
ulong h , |
| 6032 |
int flag ) ; |
|
6032 |
int flag ) ; |
| 6033 |
extern ulong __attribute__((__visibility__("default"))) zend_ts_get_hash_value(TsHashTable *ht , |
|
6033 |
extern ulong __attribute__((__visibility__("default"))) zend_ts_get_hash_value(TsHashTable *ht , |
| 6034 |
char *arKey , |
|
6034 |
char *arKey , |
| 6035 |
uint nKeyLength ) ; |
|
6035 |
uint nKeyLength ) ; |
| 6036 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_find(TsHashTable *ht , |
|
6036 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_find(TsHashTable *ht , |
| 6037 |
char *arKey , |
|
6037 |
char *arKey , |
| 6038 |
uint nKeyLength , |
|
6038 |
uint nKeyLength , |
| 6039 |
void **pData ) ; |
|
6039 |
void **pData ) ; |
| 6040 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_quick_find(TsHashTable *ht , |
|
6040 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_quick_find(TsHashTable *ht , |
| 6041 |
char *arKey , |
|
6041 |
char *arKey , |
| 6042 |
uint nKeyLength , |
|
6042 |
uint nKeyLength , |
| 6043 |
ulong h , |
|
6043 |
ulong h , |
| 6044 |
void **pData ) ; |
|
6044 |
void **pData ) ; |
| 6045 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_index_find(TsHashTable *ht , |
|
6045 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_index_find(TsHashTable *ht , |
| 6046 |
ulong h , |
|
6046 |
ulong h , |
| 6047 |
void **pData ) ; |
|
6047 |
void **pData ) ; |
| 6048 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_exists(TsHashTable *ht , |
|
6048 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_exists(TsHashTable *ht , |
| 6049 |
char *arKey , |
|
6049 |
char *arKey , |
| 6050 |
uint nKeyLength ) ; |
|
6050 |
uint nKeyLength ) ; |
| 6051 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_index_exists(TsHashTable *ht , |
|
6051 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_index_exists(TsHashTable *ht , |
| 6052 |
ulong h ) ; |
|
6052 |
ulong h ) ; |
| 6053 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_copy(TsHashTable *target , |
|
6053 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_copy(TsHashTable *target , |
| 6054 |
TsHashTable *source , |
|
6054 |
TsHashTable *source , |
| 6055 |
void (*pCopyConstructor)(void *pElement ) , |
|
6055 |
void (*pCopyConstructor)(void *pElement ) , |
| 6056 |
void *tmp , |
|
6056 |
void *tmp , |
| 6057 |
uint size ) ; |
|
6057 |
uint size ) ; |
| 6058 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_copy_to_hash(HashTable *target , |
|
6058 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_copy_to_hash(HashTable *target , |
| 6059 |
TsHashTable *source , |
|
6059 |
TsHashTable *source , |
| 6060 |
void (*pCopyConstructor)(void *pElement ) , |
|
6060 |
void (*pCopyConstructor)(void *pElement ) , |
| 6061 |
void *tmp , |
|
6061 |
void *tmp , |
| 6062 |
uint size ) ; |
|
6062 |
uint size ) ; |
| 6063 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_merge(TsHashTable *target , |
|
6063 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_merge(TsHashTable *target , |
| 6064 |
TsHashTable *source , |
|
6064 |
TsHashTable *source , |
| 6065 |
void (*pCopyConstructor)(void *pElement ) , |
|
6065 |
void (*pCopyConstructor)(void *pElement ) , |
| 6066 |
void *tmp , |
|
6066 |
void *tmp , |
| 6067 |
uint size , |
|
6067 |
uint size , |
| 6068 |
int overwrite ) ; |
|
6068 |
int overwrite ) ; |
| 6069 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_merge_ex(TsHashTable *target , |
|
6069 |
extern void __attribute__((__visibility__("default"))) zend_ts_hash_merge_ex(TsHashTable *target , |
| 6070 |
TsHashTable *source , |
|
6070 |
TsHashTable *source , |
| 6071 |
void (*pCopyConstructor)(void *pElement ) , |
|
6071 |
void (*pCopyConstructor)(void *pElement ) , |
| 6072 |
uint size , |
|
6072 |
uint size , |
| 6073 |
zend_bool (*pMergeSource)(HashTable *target_ht , |
|
6073 |
zend_bool (*pMergeSource)(HashTable *target_ht , |
| 6074 |
void *source_data , |
|
6074 |
void *source_data , |
| 6075 |
zend_hash_key *hash_key , |
|
6075 |
zend_hash_key *hash_key , |
| 6076 |
void *pParam ) , |
|
6076 |
void *pParam ) , |
| 6077 |
void *pParam ) ; |
|
6077 |
void *pParam ) ; |
| 6078 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_sort(TsHashTable *ht , |
|
6078 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_sort(TsHashTable *ht , |
| 6079 |
void (*sort_func)(void * , |
|
6079 |
void (*sort_func)(void * , |
| 6080 |
size_t , |
|
6080 |
size_t , |
| 6081 |
size_t , |
|
6081 |
size_t , |
| 6082 |
int (*)(void const * , |
|
6082 |
int (*)(void const * , |
| 6083 |
void const * ) ) , |
|
6083 |
void const * ) ) , |
| 6084 |
int (*compare_func)(void const * , |
|
6084 |
int (*compare_func)(void const * , |
| 6085 |
void const * ) , |
|
6085 |
void const * ) , |
| 6086 |
int renumber ) ; |
|
6086 |
int renumber ) ; |
| 6087 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_compare(TsHashTable *ht1 , |
|
6087 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_compare(TsHashTable *ht1 , |
| 6088 |
TsHashTable *ht2 , |
|
6088 |
TsHashTable *ht2 , |
| 6089 |
int (*compar)(void const * , |
|
6089 |
int (*compar)(void const * , |
| 6090 |
void const * ) , |
|
6090 |
void const * ) , |
| 6091 |
zend_bool ordered ) ; |
|
6091 |
zend_bool ordered ) ; |
| 6092 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_minmax(TsHashTable *ht , |
|
6092 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_minmax(TsHashTable *ht , |
| 6093 |
int (*compar)(void const * , |
|
6093 |
int (*compar)(void const * , |
| 6094 |
void const * ) , |
|
6094 |
void const * ) , |
| 6095 |
int flag , |
|
6095 |
int flag , |
| 6096 |
void **pData ) ; |
|
6096 |
void **pData ) ; |
| 6097 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_num_elements(TsHashTable *ht ) ; |
|
6097 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_num_elements(TsHashTable *ht ) ; |
| 6098 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_rehash(TsHashTable *ht ) ; |
|
6098 |
extern int __attribute__((__visibility__("default"))) zend_ts_hash_rehash(TsHashTable *ht ) ; |
| 6099 |
extern ulong __attribute__((__visibility__("default"))) zend_ts_hash_func(char *arKey , |
|
6099 |
extern ulong __attribute__((__visibility__("default"))) zend_ts_hash_func(char *arKey , |
| 6100 |
uint nKeyLength ) ; |
|
6100 |
uint nKeyLength ) ; |
| 6101 |
extern void __attribute__((__visibility__("default"))) zend_llist_init(zend_llist *l , |
|
6101 |
extern void __attribute__((__visibility__("default"))) zend_llist_init(zend_llist *l , |
| 6102 |
size_t size , |
|
6102 |
size_t size , |
| 6103 |
void (*dtor)(void * ) , |
|
6103 |
void (*dtor)(void * ) , |
| 6104 |
unsigned char persistent ) ; |
|
6104 |
unsigned char persistent ) ; |
| 6105 |
extern void __attribute__((__visibility__("default"))) zend_llist_add_element(zend_llist *l , |
|
6105 |
extern void __attribute__((__visibility__("default"))) zend_llist_add_element(zend_llist *l , |
| 6106 |
void *element ) ; |
|
6106 |
void *element ) ; |
| 6107 |
extern void __attribute__((__visibility__("default"))) zend_llist_prepend_element(zend_llist *l , |
|
6107 |
extern void __attribute__((__visibility__("default"))) zend_llist_prepend_element(zend_llist *l , |
| 6108 |
void *element ) ; |
|
6108 |
void *element ) ; |
| 6109 |
extern void __attribute__((__visibility__("default"))) zend_llist_del_element(zend_llist *l , |
|
6109 |
extern void __attribute__((__visibility__("default"))) zend_llist_del_element(zend_llist *l , |
| 6110 |
void *element , |
|
6110 |
void *element , |
| 6111 |
int (*compare)(void *element1 , |
|
6111 |
int (*compare)(void *element1 , |
| 6112 |
void *element2 ) ) ; |
|
6112 |
void *element2 ) ) ; |
| 6113 |
extern void __attribute__((__visibility__("default"))) zend_llist_destroy(zend_llist *l ) ; |
|
6113 |
extern void __attribute__((__visibility__("default"))) zend_llist_destroy(zend_llist *l ) ; |
| 6114 |
extern void __attribute__((__visibility__("default"))) zend_llist_clean(zend_llist *l ) ; |
|
6114 |
extern void __attribute__((__visibility__("default"))) zend_llist_clean(zend_llist *l ) ; |
| 6115 |
extern void __attribute__((__visibility__("default"))) *zend_llist_remove_tail(zend_llist *l ) ; |
|
6115 |
extern void __attribute__((__visibility__("default"))) *zend_llist_remove_tail(zend_llist *l ) ; |
| 6116 |
extern void __attribute__((__visibility__("default"))) zend_llist_copy(zend_llist *dst , |
|
6116 |
extern void __attribute__((__visibility__("default"))) zend_llist_copy(zend_llist *dst , |
| 6117 |
zend_llist *src ) ; |
|
6117 |
zend_llist *src ) ; |
| 6118 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply(zend_llist *l , |
|
6118 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply(zend_llist *l , |
| 6119 |
void (*func)(void * ) ) ; |
|
6119 |
void (*func)(void * ) ) ; |
| 6120 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_del(zend_llist *l , |
|
6120 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_del(zend_llist *l , |
| 6121 |
int (*func)(void *data ) ) ; |
|
6121 |
int (*func)(void *data ) ) ; |
| 6122 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_argument(zend_llist *l , |
|
6122 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_argument(zend_llist *l , |
| 6123 |
void (*func)(void *data , |
|
6123 |
void (*func)(void *data , |
| 6124 |
void *arg ) , |
|
6124 |
void *arg ) , |
| 6125 |
void *arg ) ; |
|
6125 |
void *arg ) ; |
| 6126 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_arguments(zend_llist *l , |
|
6126 |
extern void __attribute__((__visibility__("default"))) zend_llist_apply_with_arguments(zend_llist *l , |
| 6127 |
void (*func)(void *data , |
|
6127 |
void (*func)(void *data , |
| 6128 |
int num_args , |
|
6128 |
int num_args , |
| 6129 |
va_list args ) , |
|
6129 |
va_list args ) , |
| 6130 |
int num_args |
|
6130 |
int num_args |
| 6131 |
, ...) ; |
|
6131 |
, ...) ; |
| 6132 |
extern int __attribute__((__visibility__("default"))) zend_llist_count(zend_llist *l ) ; |
|
6132 |
extern int __attribute__((__visibility__("default"))) zend_llist_count(zend_llist *l ) ; |
| 6133 |
extern void __attribute__((__visibility__("default"))) zend_llist_sort(zend_llist *l , |
|
6133 |
extern void __attribute__((__visibility__("default"))) zend_llist_sort(zend_llist *l , |
| 6134 |
int (*comp_func)(zend_llist_element const ** , |
|
6134 |
int (*comp_func)(zend_llist_element const ** , |
| 6135 |
zend_llist_element const ** ) ) ; |
|
6135 |
zend_llist_element const ** ) ) ; |
| 6136 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_first_ex(zend_llist *l , |
|
6136 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_first_ex(zend_llist *l , |
| 6137 |
zend_llist_position *pos ) ; |
|
6137 |
zend_llist_position *pos ) ; |
| 6138 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_last_ex(zend_llist *l , |
|
6138 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_last_ex(zend_llist *l , |
| 6139 |
zend_llist_position *pos ) ; |
|
6139 |
zend_llist_position *pos ) ; |
| 6140 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_next_ex(zend_llist *l , |
|
6140 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_next_ex(zend_llist *l , |
| 6141 |
zend_llist_position *pos ) ; |
|
6141 |
zend_llist_position *pos ) ; |
| 6142 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_prev_ex(zend_llist *l , |
|
6142 |
extern void __attribute__((__visibility__("default"))) *zend_llist_get_prev_ex(zend_llist *l , |
| 6143 |
zend_llist_position *pos ) ; |
|
6143 |
zend_llist_position *pos ) ; |
| 6144 |
extern __attribute__((__noreturn__)) void zend_error_noreturn(int type , |
|
6144 |
extern __attribute__((__noreturn__)) void zend_error_noreturn(int type , |
| 6145 |
char const *format |
|
6145 |
char const *format |
| 6146 |
, ...) ; |
|
6146 |
, ...) ; |
| 6147 |
extern zend_object_handlers __attribute__((__visibility__("default"))) std_object_handlers ; |
|
6147 |
extern zend_object_handlers __attribute__((__visibility__("default"))) std_object_handlers ; |
| 6148 |
extern union _zend_function __attribute__((__visibility__("default"))) *zend_std_get_static_method(zend_class_entry *ce , |
|
6148 |
extern union _zend_function __attribute__((__visibility__("default"))) *zend_std_get_static_method(zend_class_entry *ce , |
| 6149 |
char *function_name_strval , |
|
6149 |
char *function_name_strval , |
| 6150 |
int function_name_strlen , |
|
6150 |
int function_name_strlen , |
| 6151 |
struct _zend_literal const *key ) ; |
|
6151 |
struct _zend_literal const *key ) ; |
| 6152 |
extern zval __attribute__((__visibility__("default"))) **zend_std_get_static_property(zend_class_entry *ce , |
|
6152 |
extern zval __attribute__((__visibility__("default"))) **zend_std_get_static_property(zend_class_entry *ce , |
| 6153 |
char *property_name , |
|
6153 |
char *property_name , |
| 6154 |
int property_name_len , |
|
6154 |
int property_name_len , |
| 6155 |
zend_bool silent , |
|
6155 |
zend_bool silent , |
| 6156 |
struct _zend_literal const *key ) ; |
|
6156 |
struct _zend_literal const *key ) ; |
| 6157 |
extern zend_bool __attribute__((__visibility__("default"))) zend_std_unset_static_property(zend_class_entry *ce , |
|
6157 |
extern zend_bool __attribute__((__visibility__("default"))) zend_std_unset_static_property(zend_class_entry *ce , |
| 6158 |
char *property_name , |
|
6158 |
char *property_name , |
| 6159 |
int property_name_len , |
|
6159 |
int property_name_len , |
| 6160 |
struct _zend_literal const *key ) ; |
|
6160 |
struct _zend_literal const *key ) ; |
| 6161 |
extern union _zend_function __attribute__((__visibility__("default"))) *zend_std_get_constructor(zval *object ) ; |
|
6161 |
extern union _zend_function __attribute__((__visibility__("default"))) *zend_std_get_constructor(zval *object ) ; |
| 6162 |
extern struct _zend_property_info __attribute__((__visibility__("default"))) *zend_get_property_info(zend_class_entry *ce , |
|
6162 |
extern struct _zend_property_info __attribute__((__visibility__("default"))) *zend_get_property_info(zend_class_entry *ce , |
| 6163 |
zval *member , |
|
6163 |
zval *member , |
| 6164 |
int silent ) ; |
|
6164 |
int silent ) ; |
| 6165 |
extern HashTable __attribute__((__visibility__("default"))) *zend_std_get_properties(zval *object ) ; |
|
6165 |
extern HashTable __attribute__((__visibility__("default"))) *zend_std_get_properties(zval *object ) ; |
| 6166 |
extern HashTable __attribute__((__visibility__("default"))) *zend_std_get_debug_info(zval *object , |
|
6166 |
extern HashTable __attribute__((__visibility__("default"))) *zend_std_get_debug_info(zval *object , |
| 6167 |
int *is_temp ) ; |
|
6167 |
int *is_temp ) ; |
| 6168 |
extern int __attribute__((__visibility__("default"))) zend_std_cast_object_tostring(zval *readobj , |
|
6168 |
extern int __attribute__((__visibility__("default"))) zend_std_cast_object_tostring(zval *readobj , |
| 6169 |
zval *writeobj , |
|
6169 |
zval *writeobj , |
| 6170 |
int type ) ; |
|
6170 |
int type ) ; |
| 6171 |
extern void __attribute__((__visibility__("default"))) zend_std_write_property(zval *object , |
|
6171 |
extern void __attribute__((__visibility__("default"))) zend_std_write_property(zval *object , |
| 6172 |
zval *member , |
|
6172 |
zval *member , |
| 6173 |
zval *value , |
|
6173 |
zval *value , |
| 6174 |
struct _zend_literal const *key ) ; |
|
6174 |
struct _zend_literal const *key ) ; |
| 6175 |
extern void __attribute__((__visibility__("default"))) rebuild_object_properties(zend_object *zobj ) ; |
|
6175 |
extern void __attribute__((__visibility__("default"))) rebuild_object_properties(zend_object *zobj ) ; |
| 6176 |
extern int __attribute__((__visibility__("default"))) zend_check_private(union _zend_function *fbc , |
|
6176 |
extern int __attribute__((__visibility__("default"))) zend_check_private(union _zend_function *fbc , |
| 6177 |
zend_class_entry *ce , |
|
6177 |
zend_class_entry *ce , |
| 6178 |
char *function_name_strval , |
|
6178 |
char *function_name_strval , |
| 6179 |
int function_name_strlen ) ; |
|
6179 |
int function_name_strlen ) ; |
| 6180 |
extern int __attribute__((__visibility__("default"))) zend_check_protected(zend_class_entry *ce , |
|
6180 |
extern int __attribute__((__visibility__("default"))) zend_check_protected(zend_class_entry *ce , |
| 6181 |
zend_class_entry *scope ) ; |
|
6181 |
zend_class_entry *scope ) ; |
| 6182 |
extern int __attribute__((__visibility__("default"))) zend_check_property_access(zend_object *zobj , |
|
6182 |
extern int __attribute__((__visibility__("default"))) zend_check_property_access(zend_object *zobj , |
| 6183 |
char *prop_info_name , |
|
6183 |
char *prop_info_name , |
| 6184 |
int prop_info_name_len ) ; |
|
6184 |
int prop_info_name_len ) ; |
| 6185 |
extern void __attribute__((__visibility__("default"))) zend_std_call_user_call(int ht , |
|
6185 |
extern void __attribute__((__visibility__("default"))) zend_std_call_user_call(int ht , |
| 6186 |
zval *return_value , |
|
6186 |
zval *return_value , |
| 6187 |
zval **return_value_ptr , |
|
6187 |
zval **return_value_ptr , |
| 6188 |
zval *this_ptr , |
|
6188 |
zval *this_ptr , |
| 6189 |
int return_value_used ) ; |
|
6189 |
int return_value_used ) ; |
| 6190 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_refcount_p)(zval *pz ) |
|
6190 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_refcount_p)(zval *pz ) |
| 6191 |
{ |
|
6191 |
{ |
| 6192 |
|
|
6192 |
|
| 6193 |
|
|
6193 |
|
| 6194 |
{ |
|
6194 |
{ |
| 6195 |
return (pz->refcount__gc); |
|
6195 |
return (pz->refcount__gc); |
| 6196 |
} |
|
6196 |
} |
| 6197 |
} |
|
6197 |
} |
| 6198 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_set_refcount_p)(zval *pz , |
|
6198 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_set_refcount_p)(zval *pz , |
| 6199 |
zend_uint rc ) |
|
6199 |
zend_uint rc ) |
| 6200 |
{ |
|
6200 |
{ |
| 6201 |
zend_uint tmp ; |
|
6201 |
zend_uint tmp ; |
| 6202 |
|
|
6202 |
|
| 6203 |
{ |
|
6203 |
{ |
| 6204 |
tmp = rc; |
|
6204 |
tmp = rc; |
| 6205 |
pz->refcount__gc = tmp; |
|
6205 |
pz->refcount__gc = tmp; |
| 6206 |
return (tmp); |
|
6206 |
return (tmp); |
| 6207 |
} |
|
6207 |
} |
| 6208 |
} |
|
6208 |
} |
| 6209 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_addref_p)(zval *pz ) |
|
6209 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_addref_p)(zval *pz ) |
| 6210 |
{ |
|
6210 |
{ |
| 6211 |
|
|
6211 |
|
| 6212 |
|
|
6212 |
|
| 6213 |
{ |
|
6213 |
{ |
| 6214 |
(pz->refcount__gc) ++; |
|
6214 |
(pz->refcount__gc) ++; |
| 6215 |
return (pz->refcount__gc); |
|
6215 |
return (pz->refcount__gc); |
| 6216 |
} |
|
6216 |
} |
| 6217 |
} |
|
6217 |
} |
| 6218 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_delref_p)(zval *pz ) |
|
6218 |
__inline static zend_uint ( __attribute__((__always_inline__)) zval_delref_p)(zval *pz ) |
| 6219 |
{ |
|
6219 |
{ |
| 6220 |
|
|
6220 |
|
| 6221 |
|
|
6221 |
|
| 6222 |
{ |
|
6222 |
{ |
| 6223 |
(pz->refcount__gc) --; |
|
6223 |
(pz->refcount__gc) --; |
| 6224 |
return (pz->refcount__gc); |
|
6224 |
return (pz->refcount__gc); |
| 6225 |
} |
|
6225 |
} |
| 6226 |
} |
|
6226 |
} |
| 6227 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_isref_p)(zval *pz ) |
|
6227 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_isref_p)(zval *pz ) |
| 6228 |
{ |
|
6228 |
{ |
| 6229 |
|
|
6229 |
|
| 6230 |
|
|
6230 |
|
| 6231 |
{ |
|
6231 |
{ |
| 6232 |
return (pz->is_ref__gc); |
|
6232 |
return (pz->is_ref__gc); |
| 6233 |
} |
|
6233 |
} |
| 6234 |
} |
|
6234 |
} |
| 6235 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_p)(zval *pz ) |
|
6235 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_p)(zval *pz ) |
| 6236 |
{ |
|
6236 |
{ |
| 6237 |
zend_uchar tmp ; |
|
6237 |
zend_uchar tmp ; |
| 6238 |
|
|
6238 |
|
| 6239 |
{ |
|
6239 |
{ |
| 6240 |
tmp = (zend_uchar )1; |
|
6240 |
tmp = (zend_uchar )1; |
| 6241 |
pz->is_ref__gc = tmp; |
|
6241 |
pz->is_ref__gc = tmp; |
| 6242 |
return (tmp); |
|
6242 |
return (tmp); |
| 6243 |
} |
|
6243 |
} |
| 6244 |
} |
|
6244 |
} |
| 6245 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_unset_isref_p)(zval *pz ) |
|
6245 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_unset_isref_p)(zval *pz ) |
| 6246 |
{ |
|
6246 |
{ |
| 6247 |
zend_uchar tmp ; |
|
6247 |
zend_uchar tmp ; |
| 6248 |
|
|
6248 |
|
| 6249 |
{ |
|
6249 |
{ |
| 6250 |
tmp = (zend_uchar )0; |
|
6250 |
tmp = (zend_uchar )0; |
| 6251 |
pz->is_ref__gc = tmp; |
|
6251 |
pz->is_ref__gc = tmp; |
| 6252 |
return (tmp); |
|
6252 |
return (tmp); |
| 6253 |
} |
|
6253 |
} |
| 6254 |
} |
|
6254 |
} |
| 6255 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_to_p)(zval *pz , |
|
6255 |
__inline static zend_bool ( __attribute__((__always_inline__)) zval_set_isref_to_p)(zval *pz , |
| 6256 |
zend_bool isref ) |
|
6256 |
zend_bool isref ) |
| 6257 |
{ |
|
6257 |
{ |
| 6258 |
zend_uchar tmp ; |
|
6258 |
zend_uchar tmp ; |
| 6259 |
|
|
6259 |
|
| 6260 |
{ |
|
6260 |
{ |
| 6261 |
tmp = isref; |
|
6261 |
tmp = isref; |
| 6262 |
pz->is_ref__gc = tmp; |
|
6262 |
pz->is_ref__gc = tmp; |
| 6263 |
return (tmp); |
|
6263 |
return (tmp); |
| 6264 |
} |
|
6264 |
} |
| 6265 |
} |
|
6265 |
} |
| 6266 |
extern enum zend_object_iterator_kind __attribute__((__visibility__("default"))) zend_iterator_unwrap(zval *array_ptr , |
|
6266 |
extern enum zend_object_iterator_kind __attribute__((__visibility__("default"))) zend_iterator_unwrap(zval *array_ptr , |
| 6267 |
zend_object_iterator **iter ) ; |
|
6267 |
zend_object_iterator **iter ) ; |
| 6268 |
extern zval __attribute__((__visibility__("default"))) *zend_iterator_wrap(zend_object_iterator *iter ) ; |
|
6268 |
extern zval __attribute__((__visibility__("default"))) *zend_iterator_wrap(zend_object_iterator *iter ) ; |
| 6269 |
extern void __attribute__((__visibility__("default"))) zend_register_iterator_wrapper(void) ; |
|
6269 |
extern void __attribute__((__visibility__("default"))) zend_register_iterator_wrapper(void) ; |
| 6270 |
extern int __attribute__((__visibility__("default"))) zend_stream_open(char const *filename , |
|
6270 |
extern int __attribute__((__visibility__("default"))) zend_stream_open(char const *filename , |
| 6271 |
zend_file_handle *handle ) ; |
|
6271 |
zend_file_handle *handle ) ; |
| 6272 |
extern int __attribute__((__visibility__("default"))) zend_stream_fixup(zend_file_handle *file_handle , |
|
6272 |
extern int __attribute__((__visibility__("default"))) zend_stream_fixup(zend_file_handle *file_handle , |
| 6273 |
char **buf , |
|
6273 |
char **buf , |
| 6274 |
size_t *len ) ; |
|
6274 |
size_t *len ) ; |
| 6275 |
extern void __attribute__((__visibility__("default"))) zend_file_handle_dtor(zend_file_handle *fh ) ; |
|
6275 |
extern void __attribute__((__visibility__("default"))) zend_file_handle_dtor(zend_file_handle *fh ) ; |
| 6276 |
extern int __attribute__((__visibility__("default"))) zend_compare_file_handles(zend_file_handle *fh1 , |
|
6276 |
extern int __attribute__((__visibility__("default"))) zend_compare_file_handles(zend_file_handle *fh1 , |
| 6277 |
zend_file_handle *fh2 ) ; |
|
6277 |
zend_file_handle *fh2 ) ; |
| 6278 |
extern int zend_startup(zend_utility_functions *utility_functions , |
|
6278 |
extern int zend_startup(zend_utility_functions *utility_functions , |
| 6279 |
char **extensions ) ; |
|
6279 |
char **extensions ) ; |
| 6280 |
extern void zend_shutdown(void) ; |
|
6280 |
extern void zend_shutdown(void) ; |
| 6281 |
extern void zend_register_standard_ini_entries(void) ; |
|
6281 |
extern void zend_register_standard_ini_entries(void) ; |
| 6282 |
extern void zend_post_startup(void) ; |
|
6282 |
extern void zend_post_startup(void) ; |
| 6283 |
extern void zend_set_utility_values(zend_utility_values *utility_values ) ; |
|
6283 |
extern void zend_set_utility_values(zend_utility_values *utility_values ) ; |
| 6284 |
extern void __attribute__((__visibility__("default"))) _zend_bailout(char *filename , |
|
6284 |
extern void __attribute__((__visibility__("default"))) _zend_bailout(char *filename , |
| 6285 |
uint lineno ) ; |
|
6285 |
uint lineno ) ; |
| 6286 |
extern char __attribute__((__visibility__("default"))) *get_zend_version(void) ; |
|
6286 |
extern char __attribute__((__visibility__("default"))) *get_zend_version(void) ; |
| 6287 |
extern void __attribute__((__visibility__("default"))) zend_make_printable_zval(zval *expr , |
|
6287 |
extern void __attribute__((__visibility__("default"))) zend_make_printable_zval(zval *expr , |
| 6288 |
zval *expr_copy , |
|
6288 |
zval *expr_copy , |
| 6289 |
int *use_copy ) ; |
|
6289 |
int *use_copy ) ; |
| 6290 |
extern int __attribute__((__visibility__("default"))) zend_print_zval(zval *expr , |
|
6290 |
extern int __attribute__((__visibility__("default"))) zend_print_zval(zval *expr , |
| 6291 |
int indent ) ; |
|
6291 |
int indent ) ; |
| 6292 |
extern int __attribute__((__visibility__("default"))) zend_print_zval_ex(int (*write_func)(char const *str , |
|
6292 |
extern int __attribute__((__visibility__("default"))) zend_print_zval_ex(int (*write_func)(char const *str , |
| 6293 |
uint str_length ) , |
|
6293 |
uint str_length ) , |
| 6294 |
zval *expr , |
|
6294 |
zval *expr , |
| 6295 |
int indent ) ; |
|
6295 |
int indent ) ; |
| 6296 |
extern void __attribute__((__visibility__("default"))) zend_print_zval_r(zval *expr , |
|
6296 |
extern void __attribute__((__visibility__("default"))) zend_print_zval_r(zval *expr , |
| 6297 |
int indent ) ; |
|
6297 |
int indent ) ; |
| 6298 |
extern void __attribute__((__visibility__("default"))) zend_print_flat_zval_r(zval *expr ) ; |
|
6298 |
extern void __attribute__((__visibility__("default"))) zend_print_flat_zval_r(zval *expr ) ; |
| 6299 |
extern void __attribute__((__visibility__("default"))) zend_print_zval_r_ex(int (*write_func)(char const *str , |
|
6299 |
extern void __attribute__((__visibility__("default"))) zend_print_zval_r_ex(int (*write_func)(char const *str , |
| 6300 |
uint str_length ) , |
|
6300 |
uint str_length ) , |
| 6301 |
zval *expr , |
|
6301 |
zval *expr , |
| 6302 |
int indent ) ; |
|
6302 |
int indent ) ; |
| 6303 |
extern void __attribute__((__visibility__("default"))) ( zend_output_debug_string)(zend_bool trigger_break , |
|
6303 |
extern void __attribute__((__visibility__("default"))) ( zend_output_debug_string)(zend_bool trigger_break , |
| 6304 |
char const *format |
|
6304 |
char const *format |
| 6305 |
, ...) ; |
|
6305 |
, ...) ; |
| 6306 |
extern void zend_activate(void) ; |
|
6306 |
extern void zend_activate(void) ; |
| 6307 |
extern void zend_deactivate(void) ; |
|
6307 |
extern void zend_deactivate(void) ; |
| 6308 |
extern void zend_call_destructors(void) ; |
|
6308 |
extern void zend_call_destructors(void) ; |
| 6309 |
extern void zend_activate_modules(void) ; |
|
6309 |
extern void zend_activate_modules(void) ; |
| 6310 |
extern void zend_deactivate_modules(void) ; |
|
6310 |
extern void zend_deactivate_modules(void) ; |
| 6311 |
extern void zend_post_deactivate_modules(void) ; |
|
6311 |
extern void zend_post_deactivate_modules(void) ; |
| 6312 |
extern void __attribute__((__visibility__("default"))) free_estring(char **str_p ) ; |
|
6312 |
extern void __attribute__((__visibility__("default"))) free_estring(char **str_p ) ; |
| 6313 |
extern int __attribute__((__visibility__("default"))) ( (*zend_printf))(char const *format |
|
6313 |
extern int __attribute__((__visibility__("default"))) ( (*zend_printf))(char const *format |
| 6314 |
, ...) ; |
|
6314 |
, ...) ; |
| 6315 |
extern int (* __attribute__((__visibility__("default"))) zend_write)(char const *str , |
|
6315 |
extern int (* __attribute__((__visibility__("default"))) zend_write)(char const *str , |
| 6316 |
uint str_length ) ; |
|
6316 |
uint str_length ) ; |
| 6317 |
extern FILE __attribute__((__visibility__("default"))) *(*zend_fopen)(char const *filename , |
|
6317 |
extern FILE __attribute__((__visibility__("default"))) *(*zend_fopen)(char const *filename , |
| 6318 |
char **opened_path ) ; |
|
6318 |
char **opened_path ) ; |
| 6319 |
extern void __attribute__((__visibility__("default"))) (*zend_block_interruptions)(void) ; |
|
6319 |
extern void __attribute__((__visibility__("default"))) (*zend_block_interruptions)(void) ; |
| 6320 |
extern void __attribute__((__visibility__("default"))) (*zend_unblock_interruptions)(void) ; |
|
6320 |
extern void __attribute__((__visibility__("default"))) (*zend_unblock_interruptions)(void) ; |
| 6321 |
extern void __attribute__((__visibility__("default"))) (*zend_ticks_function)(int ticks ) ; |
|
6321 |
extern void __attribute__((__visibility__("default"))) (*zend_ticks_function)(int ticks ) ; |
| 6322 |
extern void __attribute__((__visibility__("default"))) ( (*zend_error_cb))(int type , |
|
6322 |
extern void __attribute__((__visibility__("default"))) ( (*zend_error_cb))(int type , |
| 6323 |
char const *error_filename , |
|
6323 |
char const *error_filename , |
| 6324 |
uint const error_lineno , |
|
6324 |
uint const error_lineno , |
| 6325 |
char const *format , |
|
6325 |
char const *format , |
| 6326 |
va_list args ) ; |
|
6326 |
va_list args ) ; |
| 6327 |
extern void (*zend_on_timeout)(int seconds ) ; |
|
6327 |
extern void (*zend_on_timeout)(int seconds ) ; |
| 6328 |
extern int __attribute__((__visibility__("default"))) (*zend_stream_open_function)(char const *filename , |
|
6328 |
extern int __attribute__((__visibility__("default"))) (*zend_stream_open_function)(char const *filename , |
| 6329 |
zend_file_handle *handle ) ; |
|
6329 |
zend_file_handle *handle ) ; |
| 6330 |
extern int (*zend_vspprintf)(char **pbuf , size_t max_len , |
|
6330 |
extern int (*zend_vspprintf)(char **pbuf , size_t max_len , |
| 6331 |
char const *format , va_list ap ) ; |
|
6331 |
char const *format , va_list ap ) ; |
| 6332 |
extern char __attribute__((__visibility__("default"))) *(*zend_getenv)(char *name , |
|
6332 |
extern char __attribute__((__visibility__("default"))) *(*zend_getenv)(char *name , |
| 6333 |
size_t name_len ) ; |
|
6333 |
size_t name_len ) ; |
| 6334 |
extern char __attribute__((__visibility__("default"))) *(*zend_resolve_path)(char const *filename , |
|
6334 |
extern char __attribute__((__visibility__("default"))) *(*zend_resolve_path)(char const *filename , |
| 6335 |
int filename_len ) ; |
|
6335 |
int filename_len ) ; |
| 6336 |
extern void __attribute__((__visibility__("default"))) ( zend_error)(int type , |
|
6336 |
extern void __attribute__((__visibility__("default"))) ( zend_error)(int type , |
| 6337 |
char const *format |
|
6337 |
char const *format |
| 6338 |
, ...) ; |
|
6338 |
, ...) ; |
| 6339 |
extern void zenderror(char const *error ) ; |
|
6339 |
extern void zenderror(char const *error ) ; |
| 6340 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_standard_class_def ; |
|
6340 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_standard_class_def ; |
| 6341 |
extern zend_utility_values __attribute__((__visibility__("default"))) zend_uv ; |
|
6341 |
extern zend_utility_values __attribute__((__visibility__("default"))) zend_uv ; |
| 6342 |
extern zval __attribute__((__visibility__("default"))) zval_used_for_init ; |
|
6342 |
extern zval __attribute__((__visibility__("default"))) zval_used_for_init ; |
| 6343 |
extern void __attribute__((__visibility__("default"))) zend_message_dispatcher(long message , |
|
6343 |
extern void __attribute__((__visibility__("default"))) zend_message_dispatcher(long message , |
| 6344 |
void *data ) ; |
|
6344 |
void *data ) ; |
| 6345 |
extern int __attribute__((__visibility__("default"))) zend_get_configuration_directive(char const *name , |
|
6345 |
extern int __attribute__((__visibility__("default"))) zend_get_configuration_directive(char const *name , |
| 6346 |
uint name_length , |
|
6346 |
uint name_length , |
| 6347 |
zval *contents ) ; |
|
6347 |
zval *contents ) ; |
| 6348 |
extern zend_gc_globals __attribute__((__visibility__("default"))) gc_globals ; |
|
6348 |
extern zend_gc_globals __attribute__((__visibility__("default"))) gc_globals ; |
| 6349 |
extern int __attribute__((__visibility__("default"))) gc_collect_cycles(void) ; |
|
6349 |
extern int __attribute__((__visibility__("default"))) gc_collect_cycles(void) ; |
| 6350 |
extern void __attribute__((__visibility__("default"))) gc_zval_possible_root(zval *zv ) ; |
|
6350 |
extern void __attribute__((__visibility__("default"))) gc_zval_possible_root(zval *zv ) ; |
| 6351 |
extern void __attribute__((__visibility__("default"))) gc_zobj_possible_root(zval *zv ) ; |
|
6351 |
extern void __attribute__((__visibility__("default"))) gc_zobj_possible_root(zval *zv ) ; |
| 6352 |
extern void __attribute__((__visibility__("default"))) gc_remove_zval_from_buffer(zval *zv ) ; |
|
6352 |
extern void __attribute__((__visibility__("default"))) gc_remove_zval_from_buffer(zval *zv ) ; |
| 6353 |
extern void __attribute__((__visibility__("default"))) gc_globals_ctor(void) ; |
|
6353 |
extern void __attribute__((__visibility__("default"))) gc_globals_ctor(void) ; |
| 6354 |
extern void __attribute__((__visibility__("default"))) gc_globals_dtor(void) ; |
|
6354 |
extern void __attribute__((__visibility__("default"))) gc_globals_dtor(void) ; |
| 6355 |
extern void __attribute__((__visibility__("default"))) gc_init(void) ; |
|
6355 |
extern void __attribute__((__visibility__("default"))) gc_init(void) ; |
| 6356 |
extern void __attribute__((__visibility__("default"))) gc_reset(void) ; |
|
6356 |
extern void __attribute__((__visibility__("default"))) gc_reset(void) ; |
| 6357 |
__inline static void ( __attribute__((__always_inline__)) gc_zval_check_possible_root)(zval *z ) |
|
6357 |
__inline static void ( __attribute__((__always_inline__)) gc_zval_check_possible_root)(zval *z ) |
| 6358 |
{ |
|
6358 |
{ |
| 6359 |
|
|
6359 |
|
| 6360 |
|
|
6360 |
|
| 6361 |
{ |
|
6361 |
{ |
| 6362 |
if ((int )z->type == 4) { |
|
6362 |
if ((int )z->type == 4) { |
| 6363 |
gc_zval_possible_root(z); |
|
6363 |
gc_zval_possible_root(z); |
| 6364 |
} else |
|
6364 |
} else |
| 6365 |
if ((int )z->type == 5) { |
|
6365 |
if ((int )z->type == 5) { |
| 6366 |
gc_zval_possible_root(z); |
|
6366 |
gc_zval_possible_root(z); |
| 6367 |
} else { |
|
6367 |
} else { |
| 6368 |
|
|
6368 |
|
| 6369 |
} |
|
6369 |
} |
| 6370 |
return; |
|
6370 |
return; |
| 6371 |
} |
|
6371 |
} |
| 6372 |
} |
|
6372 |
} |
| 6373 |
__inline static void ( __attribute__((__always_inline__)) gc_remove_from_buffer)(gc_root_buffer *root ) |
|
6373 |
__inline static void ( __attribute__((__always_inline__)) gc_remove_from_buffer)(gc_root_buffer *root ) |
| 6374 |
{ |
|
6374 |
{ |
| 6375 |
|
|
6375 |
|
| 6376 |
|
|
6376 |
|
| 6377 |
{ |
|
6377 |
{ |
| 6378 |
(root->next)->prev = root->prev; |
|
6378 |
(root->next)->prev = root->prev; |
| 6379 |
(root->prev)->next = root->next; |
|
6379 |
(root->prev)->next = root->next; |
| 6380 |
root->prev = gc_globals.unused; |
|
6380 |
root->prev = gc_globals.unused; |
| 6381 |
gc_globals.unused = root; |
|
6381 |
gc_globals.unused = root; |
| 6382 |
return; |
|
6382 |
return; |
| 6383 |
} |
|
6383 |
} |
| 6384 |
} |
|
6384 |
} |
| 6385 |
extern __attribute__((__nothrow__)) int *__errno_location(void) __attribute__((__const__)) ; |
|
6385 |
extern __attribute__((__nothrow__)) int *__errno_location(void) __attribute__((__const__)) ; |
| 6386 |
extern __attribute__((__nothrow__, |
|
6386 |
extern __attribute__((__nothrow__, |
| 6387 |
__noreturn__)) void __assert_fail(char const *__assertion , |
|
6387 |
__noreturn__)) void __assert_fail(char const *__assertion , |
| 6388 |
char const *__file , unsigned int __line , |
|
6388 |
char const *__file , unsigned int __line , |
| 6389 |
char const *__function ) ; |
|
6389 |
char const *__function ) ; |
| 6390 |
extern __attribute__((__nothrow__, |
|
6390 |
extern __attribute__((__nothrow__, |
| 6391 |
__noreturn__)) void __assert_perror_fail(int __errnum , char const *__file , |
|
6391 |
__noreturn__)) void __assert_perror_fail(int __errnum , char const *__file , |
| 6392 |
unsigned int __line , |
|
6392 |
unsigned int __line , |
| 6393 |
char const *__function ) ; |
|
6393 |
char const *__function ) ; |
| 6394 |
extern __attribute__((__nothrow__, |
|
6394 |
extern __attribute__((__nothrow__, |
| 6395 |
__noreturn__)) void __assert(char const *__assertion , char const *__file , |
|
6395 |
__noreturn__)) void __assert(char const *__assertion , char const *__file , |
| 6396 |
int __line ) ; |
|
6396 |
int __line ) ; |
| 6397 |
extern void __attribute__((__visibility__("default"))) zend_freedtoa(char *s ) ; |
|
6397 |
extern void __attribute__((__visibility__("default"))) zend_freedtoa(char *s ) ; |
| 6398 |
extern char __attribute__((__visibility__("default"))) *zend_dtoa(double _d , |
|
6398 |
extern char __attribute__((__visibility__("default"))) *zend_dtoa(double _d , |
| 6399 |
int mode , |
|
6399 |
int mode , |
| 6400 |
int ndigits , |
|
6400 |
int ndigits , |
| 6401 |
int *decpt , |
|
6401 |
int *decpt , |
| 6402 |
int *sign , |
|
6402 |
int *sign , |
| 6403 |
char **rve ) ; |
|
6403 |
char **rve ) ; |
| 6404 |
extern double __attribute__((__visibility__("default"))) zend_strtod(char const *s00 , |
|
6404 |
extern double __attribute__((__visibility__("default"))) zend_strtod(char const *s00 , |
| 6405 |
char const **se ) ; |
|
6405 |
char const **se ) ; |
| 6406 |
extern double __attribute__((__visibility__("default"))) zend_hex_strtod(char const *str , |
|
6406 |
extern double __attribute__((__visibility__("default"))) zend_hex_strtod(char const *str , |
| 6407 |
char const **endptr ) ; |
|
6407 |
char const **endptr ) ; |
| 6408 |
extern double __attribute__((__visibility__("default"))) zend_oct_strtod(char const *str , |
|
6408 |
extern double __attribute__((__visibility__("default"))) zend_oct_strtod(char const *str , |
| 6409 |
char const **endptr ) ; |
|
6409 |
char const **endptr ) ; |
| 6410 |
extern int __attribute__((__visibility__("default"))) zend_startup_strtod(void) ; |
|
6410 |
extern int __attribute__((__visibility__("default"))) zend_startup_strtod(void) ; |
| 6411 |
extern int __attribute__((__visibility__("default"))) zend_shutdown_strtod(void) ; |
|
6411 |
extern int __attribute__((__visibility__("default"))) zend_shutdown_strtod(void) ; |
| 6412 |
extern int __attribute__((__visibility__("default"))) add_function(zval *result , |
|
6412 |
extern int __attribute__((__visibility__("default"))) add_function(zval *result , |
| 6413 |
zval *op1 , |
|
6413 |
zval *op1 , |
| 6414 |
zval *op2 ) ; |
|
6414 |
zval *op2 ) ; |
| 6415 |
extern int __attribute__((__visibility__("default"))) sub_function(zval *result , |
|
6415 |
extern int __attribute__((__visibility__("default"))) sub_function(zval *result , |
| 6416 |
zval *op1 , |
|
6416 |
zval *op1 , |
| 6417 |
zval *op2 ) ; |
|
6417 |
zval *op2 ) ; |
| 6418 |
extern int __attribute__((__visibility__("default"))) mul_function(zval *result , |
|
6418 |
extern int __attribute__((__visibility__("default"))) mul_function(zval *result , |
| 6419 |
zval *op1 , |
|
6419 |
zval *op1 , |
| 6420 |
zval *op2 ) ; |
|
6420 |
zval *op2 ) ; |
| 6421 |
extern int __attribute__((__visibility__("default"))) div_function(zval *result , |
|
6421 |
extern int __attribute__((__visibility__("default"))) div_function(zval *result , |
| 6422 |
zval *op1 , |
|
6422 |
zval *op1 , |
| 6423 |
zval *op2 ) ; |
|
6423 |
zval *op2 ) ; |
| 6424 |
extern int __attribute__((__visibility__("default"))) mod_function(zval *result , |
|
6424 |
extern int __attribute__((__visibility__("default"))) mod_function(zval *result , |
| 6425 |
zval *op1 , |
|
6425 |
zval *op1 , |
| 6426 |
zval *op2 ) ; |
|
6426 |
zval *op2 ) ; |
| 6427 |
extern int __attribute__((__visibility__("default"))) boolean_xor_function(zval *result , |
|
6427 |
extern int __attribute__((__visibility__("default"))) boolean_xor_function(zval *result , |
| 6428 |
zval *op1 , |
|
6428 |
zval *op1 , |
| 6429 |
zval *op2 ) ; |
|
6429 |
zval *op2 ) ; |
| 6430 |
extern int __attribute__((__visibility__("default"))) boolean_not_function(zval *result , |
|
6430 |
extern int __attribute__((__visibility__("default"))) boolean_not_function(zval *result , |
| 6431 |
zval *op1 ) ; |
|
6431 |
zval *op1 ) ; |
| 6432 |
extern int __attribute__((__visibility__("default"))) bitwise_not_function(zval *result , |
|
6432 |
extern int __attribute__((__visibility__("default"))) bitwise_not_function(zval *result , |
| 6433 |
zval *op1 ) ; |
|
6433 |
zval *op1 ) ; |
| 6434 |
extern int __attribute__((__visibility__("default"))) bitwise_or_function(zval *result , |
|
6434 |
extern int __attribute__((__visibility__("default"))) bitwise_or_function(zval *result , |
| 6435 |
zval *op1 , |
|
6435 |
zval *op1 , |
| 6436 |
zval *op2 ) ; |
|
6436 |
zval *op2 ) ; |
| 6437 |
extern int __attribute__((__visibility__("default"))) bitwise_and_function(zval *result , |
|
6437 |
extern int __attribute__((__visibility__("default"))) bitwise_and_function(zval *result , |
| 6438 |
zval *op1 , |
|
6438 |
zval *op1 , |
| 6439 |
zval *op2 ) ; |
|
6439 |
zval *op2 ) ; |
| 6440 |
extern int __attribute__((__visibility__("default"))) bitwise_xor_function(zval *result , |
|
6440 |
extern int __attribute__((__visibility__("default"))) bitwise_xor_function(zval *result , |
| 6441 |
zval *op1 , |
|
6441 |
zval *op1 , |
| 6442 |
zval *op2 ) ; |
|
6442 |
zval *op2 ) ; |
| 6443 |
extern int __attribute__((__visibility__("default"))) shift_left_function(zval *result , |
|
6443 |
extern int __attribute__((__visibility__("default"))) shift_left_function(zval *result , |
| 6444 |
zval *op1 , |
|
6444 |
zval *op1 , |
| 6445 |
zval *op2 ) ; |
|
6445 |
zval *op2 ) ; |
| 6446 |
extern int __attribute__((__visibility__("default"))) shift_right_function(zval *result , |
|
6446 |
extern int __attribute__((__visibility__("default"))) shift_right_function(zval *result , |
| 6447 |
zval *op1 , |
|
6447 |
zval *op1 , |
| 6448 |
zval *op2 ) ; |
|
6448 |
zval *op2 ) ; |
| 6449 |
extern int __attribute__((__visibility__("default"))) concat_function(zval *result , |
|
6449 |
extern int __attribute__((__visibility__("default"))) concat_function(zval *result , |
| 6450 |
zval *op1 , |
|
6450 |
zval *op1 , |
| 6451 |
zval *op2 ) ; |
|
6451 |
zval *op2 ) ; |
| 6452 |
extern int __attribute__((__visibility__("default"))) is_equal_function(zval *result , |
|
6452 |
extern int __attribute__((__visibility__("default"))) is_equal_function(zval *result , |
| 6453 |
zval *op1 , |
|
6453 |
zval *op1 , |
| 6454 |
zval *op2 ) ; |
|
6454 |
zval *op2 ) ; |
| 6455 |
extern int __attribute__((__visibility__("default"))) is_identical_function(zval *result , |
|
6455 |
extern int __attribute__((__visibility__("default"))) is_identical_function(zval *result , |
| 6456 |
zval *op1 , |
|
6456 |
zval *op1 , |
| 6457 |
zval *op2 ) ; |
|
6457 |
zval *op2 ) ; |
| 6458 |
extern int __attribute__((__visibility__("default"))) is_not_identical_function(zval *result , |
|
6458 |
extern int __attribute__((__visibility__("default"))) is_not_identical_function(zval *result , |
| 6459 |
zval *op1 , |
|
6459 |
zval *op1 , |
| 6460 |
zval *op2 ) ; |
|
6460 |
zval *op2 ) ; |
| 6461 |
extern int __attribute__((__visibility__("default"))) is_not_equal_function(zval *result , |
|
6461 |
extern int __attribute__((__visibility__("default"))) is_not_equal_function(zval *result , |
| 6462 |
zval *op1 , |
|
6462 |
zval *op1 , |
| 6463 |
zval *op2 ) ; |
|
6463 |
zval *op2 ) ; |
| 6464 |
extern int __attribute__((__visibility__("default"))) is_smaller_function(zval *result , |
|
6464 |
extern int __attribute__((__visibility__("default"))) is_smaller_function(zval *result , |
| 6465 |
zval *op1 , |
|
6465 |
zval *op1 , |
| 6466 |
zval *op2 ) ; |
|
6466 |
zval *op2 ) ; |
| 6467 |
extern int __attribute__((__visibility__("default"))) is_smaller_or_equal_function(zval *result , |
|
6467 |
extern int __attribute__((__visibility__("default"))) is_smaller_or_equal_function(zval *result , |
| 6468 |
zval *op1 , |
|
6468 |
zval *op1 , |
| 6469 |
zval *op2 ) ; |
|
6469 |
zval *op2 ) ; |
| 6470 |
extern zend_bool __attribute__((__visibility__("default"))) instanceof_function_ex(zend_class_entry const *instance_ce , |
|
6470 |
extern zend_bool __attribute__((__visibility__("default"))) instanceof_function_ex(zend_class_entry const *instance_ce , |
| 6471 |
zend_class_entry const *ce , |
|
6471 |
zend_class_entry const *ce , |
| 6472 |
zend_bool interfaces_only ) ; |
|
6472 |
zend_bool interfaces_only ) ; |
| 6473 |
extern zend_bool __attribute__((__visibility__("default"))) instanceof_function(zend_class_entry const *instance_ce , |
|
6473 |
extern zend_bool __attribute__((__visibility__("default"))) instanceof_function(zend_class_entry const *instance_ce , |
| 6474 |
zend_class_entry const *ce ) ; |
|
6474 |
zend_class_entry const *ce ) ; |
| 6475 |
__inline static long ( __attribute__((__always_inline__)) zend_dval_to_lval)(double d ) |
|
6475 |
__inline static long ( __attribute__((__always_inline__)) zend_dval_to_lval)(double d ) |
| 6476 |
{ |
|
6476 |
{ |
| 6477 |
|
|
6477 |
|
| 6478 |
|
|
6478 |
|
| 6479 |
{ |
|
6479 |
{ |
| 6480 |
if (d > (double )2147483647L) { |
|
6480 |
if (d > (double )2147483647L) { |
| 6481 |
return ((long )((unsigned long )((zend_long64 )d))); |
|
6481 |
return ((long )((unsigned long )((zend_long64 )d))); |
| 6482 |
} else |
|
6482 |
} else |
| 6483 |
if (d < (double )(-0x7FFFFFFF-1)) { |
|
6483 |
if (d < (double )(-0x7FFFFFFF-1)) { |
| 6484 |
return ((long )((unsigned long )((zend_long64 )d))); |
|
6484 |
return ((long )((unsigned long )((zend_long64 )d))); |
| 6485 |
} else { |
|
6485 |
} else { |
| 6486 |
|
|
6486 |
|
| 6487 |
} |
|
6487 |
} |
| 6488 |
return ((long )d); |
|
6488 |
return ((long )d); |
| 6489 |
} |
|
6489 |
} |
| 6490 |
} |
|
6490 |
} |
| 6491 |
__inline static zend_uchar is_numeric_string(char const *str , int length , |
|
6491 |
__inline static zend_uchar is_numeric_string(char const *str , int length , |
| 6492 |
long *lval , double *dval , |
|
6492 |
long *lval , double *dval , |
| 6493 |
int allow_errors ) |
|
6493 |
int allow_errors ) |
| 6494 |
{ |
|
6494 |
{ |
| 6495 |
char const *ptr ; |
|
6495 |
char const *ptr ; |
| 6496 |
int base ; |
|
6496 |
int base ; |
| 6497 |
int digits ; |
|
6497 |
int digits ; |
| 6498 |
int dp_or_e ; |
|
6498 |
int dp_or_e ; |
| 6499 |
double local_dval ; |
|
6499 |
double local_dval ; |
| 6500 |
zend_uchar type ; |
|
6500 |
zend_uchar type ; |
| 6501 |
char const *e ; |
|
6501 |
char const *e ; |
| 6502 |
char const *tmp ; |
|
6502 |
char const *tmp ; |
| 6503 |
double __attribute__((__visibility__("default"))) tmp___0 ; |
|
6503 |
double __attribute__((__visibility__("default"))) tmp___0 ; |
| 6504 |
double __attribute__((__visibility__("default"))) tmp___1 ; |
|
6504 |
double __attribute__((__visibility__("default"))) tmp___1 ; |
| 6505 |
char const *tmp___2 ; |
|
6505 |
char const *tmp___2 ; |
| 6506 |
char const *tmp___3 ; |
|
6506 |
char const *tmp___3 ; |
| 6507 |
int cmp ; |
|
6507 |
int cmp ; |
| 6508 |
size_t __s1_len ; |
|
6508 |
size_t __s1_len ; |
| 6509 |
size_t __s2_len ; |
|
6509 |
size_t __s2_len ; |
| 6510 |
int tmp___4 ; |
|
6510 |
int tmp___4 ; |
| 6511 |
int tmp___5 ; |
|
6511 |
int tmp___5 ; |
| 6512 |
int tmp___6 ; |
|
6512 |
int tmp___6 ; |
| 6513 |
unsigned char const *__s2 ; |
|
6513 |
unsigned char const *__s2 ; |
| 6514 |
register int __result ; |
|
6514 |
register int __result ; |
| 6515 |
int tmp___7 ; |
|
6515 |
int tmp___7 ; |
| 6516 |
unsigned char const *__s1 ; |
|
6516 |
unsigned char const *__s1 ; |
| 6517 |
register int __result___0 ; |
|
6517 |
register int __result___0 ; |
| 6518 |
int tmp___8 ; |
|
6518 |
int tmp___8 ; |
| 6519 |
int tmp___9 ; |
|
6519 |
int tmp___9 ; |
| 6520 |
int tmp___10 ; |
|
6520 |
int tmp___10 ; |
| 6521 |
double __attribute__((__visibility__("default"))) tmp___11 ; |
|
6521 |
double __attribute__((__visibility__("default"))) tmp___11 ; |
| 6522 |
|
|
6522 |
|
| 6523 |
{ |
|
6523 |
{ |
| 6524 |
base = 10; |
|
6524 |
base = 10; |
| 6525 |
digits = 0; |
|
6525 |
digits = 0; |
| 6526 |
dp_or_e = 0; |
|
6526 |
dp_or_e = 0; |
| 6527 |
if (! length) { |
|
6527 |
if (! length) { |
| 6528 |
return ((zend_uchar )0); |
|
6528 |
return ((zend_uchar )0); |
| 6529 |
} else { |
|
6529 |
} else { |
| 6530 |
|
|
6530 |
|
| 6531 |
} |
|
6531 |
} |
| 6532 |
while (1) { |
|
6532 |
while (1) { |
| 6533 |
if ((int const )*str == 32) { |
|
6533 |
if ((int const )*str == 32) { |
| 6534 |
|
|
6534 |
|
| 6535 |
} else |
|
6535 |
} else |
| 6536 |
if ((int const )*str == 9) { |
|
6536 |
if ((int const )*str == 9) { |
| 6537 |
|
|
6537 |
|
| 6538 |
} else |
|
6538 |
} else |
| 6539 |
if ((int const )*str == 10) { |
|
6539 |
if ((int const )*str == 10) { |
| 6540 |
|
|
6540 |
|
| 6541 |
} else |
|
6541 |
} else |
| 6542 |
if ((int const )*str == 13) { |
|
6542 |
if ((int const )*str == 13) { |
| 6543 |
|
|
6543 |
|
| 6544 |
} else |
|
6544 |
} else |
| 6545 |
if ((int const )*str == 11) { |
|
6545 |
if ((int const )*str == 11) { |
| 6546 |
|
|
6546 |
|
| 6547 |
} else |
|
6547 |
} else |
| 6548 |
if ((int const )*str == 12) { |
|
6548 |
if ((int const )*str == 12) { |
| 6549 |
|
|
6549 |
|
| 6550 |
} else { |
|
6550 |
} else { |
| 6551 |
break; |
|
6551 |
break; |
| 6552 |
} |
|
6552 |
} |
| 6553 |
str ++; |
|
6553 |
str ++; |
| 6554 |
length --; |
|
6554 |
length --; |
| 6555 |
} |
|
6555 |
} |
| 6556 |
ptr = str; |
|
6556 |
ptr = str; |
| 6557 |
if ((int const )*ptr == 45) { |
|
6557 |
if ((int const )*ptr == 45) { |
| 6558 |
ptr ++; |
|
6558 |
ptr ++; |
| 6559 |
} else |
|
6559 |
} else |
| 6560 |
if ((int const )*ptr == 43) { |
|
6560 |
if ((int const )*ptr == 43) { |
| 6561 |
ptr ++; |
|
6561 |
ptr ++; |
| 6562 |
} else { |
|
6562 |
} else { |
| 6563 |
|
|
6563 |
|
| 6564 |
} |
|
6564 |
} |
| 6565 |
if ((int const )*ptr >= 48) { |
|
6565 |
if ((int const )*ptr >= 48) { |
| 6566 |
if ((int const )*ptr <= 57) { |
|
6566 |
if ((int const )*ptr <= 57) { |
| 6567 |
if (length > 2) { |
|
6567 |
if (length > 2) { |
| 6568 |
if ((int const )*str == 48) { |
|
6568 |
if ((int const )*str == 48) { |
| 6569 |
if ((int const )*(str + 1) == 120) { |
|
6569 |
if ((int const )*(str + 1) == 120) { |
| 6570 |
base = 16; |
|
6570 |
base = 16; |
| 6571 |
ptr += 2; |
|
6571 |
ptr += 2; |
| 6572 |
} else |
|
6572 |
} else |
| 6573 |
if ((int const )*(str + 1) == 88) { |
|
6573 |
if ((int const )*(str + 1) == 88) { |
| 6574 |
base = 16; |
|
6574 |
base = 16; |
| 6575 |
ptr += 2; |
|
6575 |
ptr += 2; |
| 6576 |
} else { |
|
6576 |
} else { |
| 6577 |
|
|
6577 |
|
| 6578 |
} |
|
6578 |
} |
| 6579 |
} else { |
|
6579 |
} else { |
| 6580 |
|
|
6580 |
|
| 6581 |
} |
|
6581 |
} |
| 6582 |
} else { |
|
6582 |
} else { |
| 6583 |
|
|
6583 |
|
| 6584 |
} |
|
6584 |
} |
| 6585 |
while ((int const )*ptr == 48) { |
|
6585 |
while ((int const )*ptr == 48) { |
| 6586 |
ptr ++; |
|
6586 |
ptr ++; |
| 6587 |
} |
|
6587 |
} |
| 6588 |
type = (zend_uchar )1; |
|
6588 |
type = (zend_uchar )1; |
| 6589 |
while (1) { |
|
6589 |
while (1) { |
| 6590 |
if (digits >= 11) { |
|
6590 |
if (digits >= 11) { |
| 6591 |
if (dval) { |
|
6591 |
if (dval) { |
| 6592 |
break; |
|
6592 |
break; |
| 6593 |
} else |
|
6593 |
} else |
| 6594 |
if (allow_errors == 1) { |
|
6594 |
if (allow_errors == 1) { |
| 6595 |
break; |
|
6595 |
break; |
| 6596 |
} else { |
|
6596 |
} else { |
| 6597 |
|
|
6597 |
|
| 6598 |
} |
|
6598 |
} |
| 6599 |
} else { |
|
6599 |
} else { |
| 6600 |
|
|
6600 |
|
| 6601 |
} |
|
6601 |
} |
| 6602 |
check_digits: |
|
6602 |
check_digits: |
| 6603 |
if ((int const )*ptr >= 48) { |
|
6603 |
if ((int const )*ptr >= 48) { |
| 6604 |
if ((int const )*ptr <= 57) { |
|
6604 |
if ((int const )*ptr <= 57) { |
| 6605 |
goto __Cont; |
|
6605 |
goto __Cont; |
| 6606 |
} else { |
|
6606 |
} else { |
| 6607 |
goto _L___3; |
|
6607 |
goto _L___3; |
| 6608 |
} |
|
6608 |
} |
| 6609 |
} else |
|
6609 |
} else |
| 6610 |
_L___3: |
|
6610 |
_L___3: |
| 6611 |
if (base == 16) { |
|
6611 |
if (base == 16) { |
| 6612 |
if ((int const )*ptr >= 65) { |
|
6612 |
if ((int const )*ptr >= 65) { |
| 6613 |
if ((int const )*ptr <= 70) { |
|
6613 |
if ((int const )*ptr <= 70) { |
| 6614 |
goto __Cont; |
|
6614 |
goto __Cont; |
| 6615 |
} else { |
|
6615 |
} else { |
| 6616 |
goto _L___2; |
|
6616 |
goto _L___2; |
| 6617 |
} |
|
6617 |
} |
| 6618 |
} else |
|
6618 |
} else |
| 6619 |
_L___2: |
|
6619 |
_L___2: |
| 6620 |
if ((int const )*ptr >= 97) { |
|
6620 |
if ((int const )*ptr >= 97) { |
| 6621 |
if ((int const )*ptr <= 102) { |
|
6621 |
if ((int const )*ptr <= 102) { |
| 6622 |
goto __Cont; |
|
6622 |
goto __Cont; |
| 6623 |
} else { |
|
6623 |
} else { |
| 6624 |
goto _L___1; |
|
6624 |
goto _L___1; |
| 6625 |
} |
|
6625 |
} |
| 6626 |
} else { |
|
6626 |
} else { |
| 6627 |
goto _L___1; |
|
6627 |
goto _L___1; |
| 6628 |
} |
|
6628 |
} |
| 6629 |
} else |
|
6629 |
} else |
| 6630 |
_L___1: |
|
6630 |
_L___1: |
| 6631 |
if (base == 10) { |
|
6631 |
if (base == 10) { |
| 6632 |
if ((int const )*ptr == 46) { |
|
6632 |
if ((int const )*ptr == 46) { |
| 6633 |
if (dp_or_e < 1) { |
|
6633 |
if (dp_or_e < 1) { |
| 6634 |
goto process_double; |
|
6634 |
goto process_double; |
| 6635 |
} else { |
|
6635 |
} else { |
| 6636 |
goto _L___0; |
|
6636 |
goto _L___0; |
| 6637 |
} |
|
6637 |
} |
| 6638 |
} else |
|
6638 |
} else |
| 6639 |
_L___0: |
|
6639 |
_L___0: |
| 6640 |
if ((int const )*ptr == 101) { |
|
6640 |
if ((int const )*ptr == 101) { |
| 6641 |
goto _L; |
|
6641 |
goto _L; |
| 6642 |
} else |
|
6642 |
} else |
| 6643 |
if ((int const )*ptr == 69) { |
|
6643 |
if ((int const )*ptr == 69) { |
| 6644 |
_L: |
|
6644 |
_L: |
| 6645 |
if (dp_or_e < 2) { |
|
6645 |
if (dp_or_e < 2) { |
| 6646 |
e = ptr + 1; |
|
6646 |
e = ptr + 1; |
| 6647 |
if ((int const )*e == 45) { |
|
6647 |
if ((int const )*e == 45) { |
| 6648 |
tmp = e; |
|
6648 |
tmp = e; |
| 6649 |
e ++; |
|
6649 |
e ++; |
| 6650 |
ptr = tmp; |
|
6650 |
ptr = tmp; |
| 6651 |
} else |
|
6651 |
} else |
| 6652 |
if ((int const )*e == 43) { |
|
6652 |
if ((int const )*e == 43) { |
| 6653 |
tmp = e; |
|
6653 |
tmp = e; |
| 6654 |
e ++; |
|
6654 |
e ++; |
| 6655 |
ptr = tmp; |
|
6655 |
ptr = tmp; |
| 6656 |
} else { |
|
6656 |
} else { |
| 6657 |
|
|
6657 |
|
| 6658 |
} |
|
6658 |
} |
| 6659 |
if ((int const )*e >= 48) { |
|
6659 |
if ((int const )*e >= 48) { |
| 6660 |
if ((int const )*e <= 57) { |
|
6660 |
if ((int const )*e <= 57) { |
| 6661 |
goto process_double; |
|
6661 |
goto process_double; |
| 6662 |
} else { |
|
6662 |
} else { |
| 6663 |
|
|
6663 |
|
| 6664 |
} |
|
6664 |
} |
| 6665 |
} else { |
|
6665 |
} else { |
| 6666 |
|
|
6666 |
|
| 6667 |
} |
|
6667 |
} |
| 6668 |
} else { |
|
6668 |
} else { |
| 6669 |
|
|
6669 |
|
| 6670 |
} |
|
6670 |
} |
| 6671 |
} else { |
|
6671 |
} else { |
| 6672 |
|
|
6672 |
|
| 6673 |
} |
|
6673 |
} |
| 6674 |
} else { |
|
6674 |
} else { |
| 6675 |
|
|
6675 |
|
| 6676 |
} |
|
6676 |
} |
| 6677 |
break; |
|
6677 |
break; |
| 6678 |
__Cont: |
|
6678 |
__Cont: |
| 6679 |
digits ++; |
|
6679 |
digits ++; |
| 6680 |
ptr ++; |
|
6680 |
ptr ++; |
| 6681 |
} |
|
6681 |
} |
| 6682 |
if (base == 10) { |
|
6682 |
if (base == 10) { |
| 6683 |
if (digits >= 11) { |
|
6683 |
if (digits >= 11) { |
| 6684 |
dp_or_e = -1; |
|
6684 |
dp_or_e = -1; |
| 6685 |
goto process_double; |
|
6685 |
goto process_double; |
| 6686 |
} else { |
|
6686 |
} else { |
| 6687 |
|
|
6687 |
|
| 6688 |
} |
|
6688 |
} |
| 6689 |
} else |
|
6689 |
} else |
| 6690 |
if (digits < 8) { |
|
6690 |
if (digits < 8) { |
| 6691 |
|
|
6691 |
|
| 6692 |
} else |
|
6692 |
} else |
| 6693 |
if (digits == 8) { |
|
6693 |
if (digits == 8) { |
| 6694 |
if ((int const )*(ptr + - digits) <= 55) { |
|
6694 |
if ((int const )*(ptr + - digits) <= 55) { |
| 6695 |
|
|
6695 |
|
| 6696 |
} else { |
|
6696 |
} else { |
| 6697 |
goto _L___4; |
|
6697 |
goto _L___4; |
| 6698 |
} |
|
6698 |
} |
| 6699 |
} else { |
|
6699 |
} else { |
| 6700 |
_L___4: |
|
6700 |
_L___4: |
| 6701 |
if (dval) { |
|
6701 |
if (dval) { |
| 6702 |
tmp___0 = zend_hex_strtod(str, & ptr); |
|
6702 |
tmp___0 = zend_hex_strtod(str, & ptr); |
| 6703 |
local_dval = (double )tmp___0; |
|
6703 |
local_dval = (double )tmp___0; |
| 6704 |
} else { |
|
6704 |
} else { |
| 6705 |
|
|
6705 |
|
| 6706 |
} |
|
6706 |
} |
| 6707 |
type = (zend_uchar )2; |
|
6707 |
type = (zend_uchar )2; |
| 6708 |
} |
|
6708 |
} |
| 6709 |
} else { |
|
6709 |
} else { |
| 6710 |
goto _L___5; |
|
6710 |
goto _L___5; |
| 6711 |
} |
|
6711 |
} |
| 6712 |
} else |
|
6712 |
} else |
| 6713 |
_L___5: |
|
6713 |
_L___5: |
| 6714 |
if ((int const )*ptr == 46) { |
|
6714 |
if ((int const )*ptr == 46) { |
| 6715 |
if ((int const )*(ptr + 1) >= 48) { |
|
6715 |
if ((int const )*(ptr + 1) >= 48) { |
| 6716 |
if ((int const )*(ptr + 1) <= 57) { |
|
6716 |
if ((int const )*(ptr + 1) <= 57) { |
| 6717 |
process_double: |
|
6717 |
process_double: |
| 6718 |
type = (zend_uchar )2; |
|
6718 |
type = (zend_uchar )2; |
| 6719 |
if (dval) { |
|
6719 |
if (dval) { |
| 6720 |
tmp___1 = zend_strtod(str, & ptr); |
|
6720 |
tmp___1 = zend_strtod(str, & ptr); |
| 6721 |
local_dval = (double )tmp___1; |
|
6721 |
local_dval = (double )tmp___1; |
| 6722 |
} else |
|
6722 |
} else |
| 6723 |
if (allow_errors != 1) { |
|
6723 |
if (allow_errors != 1) { |
| 6724 |
if (dp_or_e != -1) { |
|
6724 |
if (dp_or_e != -1) { |
| 6725 |
tmp___3 = ptr; |
|
6725 |
tmp___3 = ptr; |
| 6726 |
ptr ++; |
|
6726 |
ptr ++; |
| 6727 |
if ((int const )*tmp___3 == 46) { |
|
6727 |
if ((int const )*tmp___3 == 46) { |
| 6728 |
dp_or_e = 1; |
|
6728 |
dp_or_e = 1; |
| 6729 |
} else { |
|
6729 |
} else { |
| 6730 |
dp_or_e = 2; |
|
6730 |
dp_or_e = 2; |
| 6731 |
} |
|
6731 |
} |
| 6732 |
goto check_digits; |
|
6732 |
goto check_digits; |
| 6733 |
} else { |
|
6733 |
} else { |
| 6734 |
|
|
6734 |
|
| 6735 |
} |
|
6735 |
} |
| 6736 |
} else { |
|
6736 |
} else { |
| 6737 |
|
|
6737 |
|
| 6738 |
} |
|
6738 |
} |
| 6739 |
} else { |
|
6739 |
} else { |
| 6740 |
return ((zend_uchar )0); |
|
6740 |
return ((zend_uchar )0); |
| 6741 |
} |
|
6741 |
} |
| 6742 |
} else { |
|
6742 |
} else { |
| 6743 |
return ((zend_uchar )0); |
|
6743 |
return ((zend_uchar )0); |
| 6744 |
} |
|
6744 |
} |
| 6745 |
} else { |
|
6745 |
} else { |
| 6746 |
return ((zend_uchar )0); |
|
6746 |
return ((zend_uchar )0); |
| 6747 |
} |
|
6747 |
} |
| 6748 |
if ((unsigned int )ptr != (unsigned int )(str + length)) { |
|
6748 |
if ((unsigned int )ptr != (unsigned int )(str + length)) { |
| 6749 |
if (! allow_errors) { |
|
6749 |
if (! allow_errors) { |
| 6750 |
return ((zend_uchar )0); |
|
6750 |
return ((zend_uchar )0); |
| 6751 |
} else { |
|
6751 |
} else { |
| 6752 |
|
|
6752 |
|
| 6753 |
} |
|
6753 |
} |
| 6754 |
if (allow_errors == -1) { |
|
6754 |
if (allow_errors == -1) { |
| 6755 |
zend_error(1 << 3L, "A non well formed numeric value encountered"); |
|
6755 |
zend_error(1 << 3L, "A non well formed numeric value encountered"); |
| 6756 |
} else { |
|
6756 |
} else { |
| 6757 |
|
|
6757 |
|
| 6758 |
} |
|
6758 |
} |
| 6759 |
} else { |
|
6759 |
} else { |
| 6760 |
|
|
6760 |
|
| 6761 |
} |
|
6761 |
} |
| 6762 |
if ((int )type == 1) { |
|
6762 |
if ((int )type == 1) { |
| 6763 |
if (digits == 10) { |
|
6763 |
if (digits == 10) { |
| 6764 |
if (0) { |
|
6764 |
if (0) { |
| 6765 |
__s1_len = strlen(ptr + - digits); |
|
6765 |
__s1_len = strlen(ptr + - digits); |
| 6766 |
__s2_len = strlen(long_min_digits); |
|
6766 |
__s2_len = strlen(long_min_digits); |
| 6767 |
if (! ((size_t )((void const *)((ptr + - digits) + 1)) - (size_t )((void const *)(ptr + - digits)) == 1U)) { |
|
6767 |
if (! ((size_t )((void const *)((ptr + - digits) + 1)) - (size_t )((void const *)(ptr + - digits)) == 1U)) { |
| 6768 |
goto _L___7; |
|
6768 |
goto _L___7; |
| 6769 |
} else |
|
6769 |
} else |
| 6770 |
if (__s1_len >= 4U) { |
|
6770 |
if (__s1_len >= 4U) { |
| 6771 |
_L___7: |
|
6771 |
_L___7: |
| 6772 |
if (! ((size_t )((void const *)(long_min_digits + 1)) - (size_t )((void const *)(long_min_digits)) == 1U)) { |
|
6772 |
if (! ((size_t )((void const *)(long_min_digits + 1)) - (size_t )((void const *)(long_min_digits)) == 1U)) { |
| 6773 |
tmp___10 = 1; |
|
6773 |
tmp___10 = 1; |
| 6774 |
} else |
|
6774 |
} else |
| 6775 |
if (__s2_len >= 4U) { |
|
6775 |
if (__s2_len >= 4U) { |
| 6776 |
tmp___10 = 1; |
|
6776 |
tmp___10 = 1; |
| 6777 |
} else { |
|
6777 |
} else { |
| 6778 |
tmp___10 = 0; |
|
6778 |
tmp___10 = 0; |
| 6779 |
} |
|
6779 |
} |
| 6780 |
} else { |
|
6780 |
} else { |
| 6781 |
tmp___10 = 0; |
|
6781 |
tmp___10 = 0; |
| 6782 |
} |
|
6782 |
} |
| 6783 |
if (tmp___10) { |
|
6783 |
if (tmp___10) { |
| 6784 |
tmp___5 = __builtin_strcmp(ptr + - digits, long_min_digits); |
|
6784 |
tmp___5 = __builtin_strcmp(ptr + - digits, long_min_digits); |
| 6785 |
tmp___9 = tmp___5; |
|
6785 |
tmp___9 = tmp___5; |
| 6786 |
} else { |
|
6786 |
} else { |
| 6787 |
tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits); |
|
6787 |
tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits); |
| 6788 |
tmp___9 = tmp___8; |
|
6788 |
tmp___9 = tmp___8; |
| 6789 |
} |
|
6789 |
} |
| 6790 |
} else { |
|
6790 |
} else { |
| 6791 |
tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits); |
|
6791 |
tmp___8 = __builtin_strcmp(ptr + - digits, long_min_digits); |
| 6792 |
tmp___9 = tmp___8; |
|
6792 |
tmp___9 = tmp___8; |
| 6793 |
} |
|
6793 |
} |
| 6794 |
cmp = tmp___9; |
|
6794 |
cmp = tmp___9; |
| 6795 |
if (cmp < 0) { |
|
6795 |
if (cmp < 0) { |
| 6796 |
|
|
6796 |
|
| 6797 |
} else |
|
6797 |
} else |
| 6798 |
if (cmp == 0) { |
|
6798 |
if (cmp == 0) { |
| 6799 |
if ((int const )*str == 45) { |
|
6799 |
if ((int const )*str == 45) { |
| 6800 |
|
|
6800 |
|
| 6801 |
} else { |
|
6801 |
} else { |
| 6802 |
goto _L___8; |
|
6802 |
goto _L___8; |
| 6803 |
} |
|
6803 |
} |
| 6804 |
} else { |
|
6804 |
} else { |
| 6805 |
_L___8: |
|
6805 |
_L___8: |
| 6806 |
if (dval) { |
|
6806 |
if (dval) { |
| 6807 |
tmp___11 = zend_strtod(str, (char const **)((void *)0)); |
|
6807 |
tmp___11 = zend_strtod(str, (char const **)((void *)0)); |
| 6808 |
*dval = (double )tmp___11; |
|
6808 |
*dval = (double )tmp___11; |
| 6809 |
} else { |
|
6809 |
} else { |
| 6810 |
|
|
6810 |
|
| 6811 |
} |
|
6811 |
} |
| 6812 |
return ((zend_uchar )2); |
|
6812 |
return ((zend_uchar )2); |
| 6813 |
} |
|
6813 |
} |
| 6814 |
} else { |
|
6814 |
} else { |
| 6815 |
|
|
6815 |
|
| 6816 |
} |
|
6816 |
} |
| 6817 |
if (lval) { |
|
6817 |
if (lval) { |
| 6818 |
*lval = strtol((char const *)str, |
|
6818 |
*lval = strtol((char const *)str, |
| 6819 |
(char **)((void *)0), base); |
|
6819 |
(char **)((void *)0), base); |
| 6820 |
} else { |
|
6820 |
} else { |
| 6821 |
|
|
6821 |
|
| 6822 |
} |
|
6822 |
} |
| 6823 |
return ((zend_uchar )1); |
|
6823 |
return ((zend_uchar )1); |
| 6824 |
} else { |
|
6824 |
} else { |
| 6825 |
if (dval) { |
|
6825 |
if (dval) { |
| 6826 |
*dval = local_dval; |
|
6826 |
*dval = local_dval; |
| 6827 |
} else { |
|
6827 |
} else { |
| 6828 |
|
|
6828 |
|
| 6829 |
} |
|
6829 |
} |
| 6830 |
return ((zend_uchar )2); |
|
6830 |
return ((zend_uchar )2); |
| 6831 |
} |
|
6831 |
} |
| 6832 |
} |
|
6832 |
} |
| 6833 |
} |
|
6833 |
} |
| 6834 |
__inline static char *zend_memnstr(char *haystack , char *needle , |
|
6834 |
__inline static char *zend_memnstr(char *haystack , char *needle , |
| 6835 |
int needle_len , char *end ) |
|
6835 |
int needle_len , char *end ) |
| 6836 |
{ |
|
6836 |
{ |
| 6837 |
char *p ; |
|
6837 |
char *p ; |
| 6838 |
char ne ; |
|
6838 |
char ne ; |
| 6839 |
void *tmp ; |
|
6839 |
void *tmp ; |
| 6840 |
int tmp___0 ; |
|
6840 |
int tmp___0 ; |
| 6841 |
void *tmp___1 ; |
|
6841 |
void *tmp___1 ; |
| 6842 |
|
|
6842 |
|
| 6843 |
{ |
|
6843 |
{ |
| 6844 |
p = haystack; |
|
6844 |
p = haystack; |
| 6845 |
ne = *(needle + (needle_len - 1)); |
|
6845 |
ne = *(needle + (needle_len - 1)); |
| 6846 |
if (needle_len == 1) { |
|
6846 |
if (needle_len == 1) { |
| 6847 |
tmp = memchr((void const *)p, (int )*needle, (size_t )(end - p)); |
|
6847 |
tmp = memchr((void const *)p, (int )*needle, (size_t )(end - p)); |
| 6848 |
return ((char *)tmp); |
|
6848 |
return ((char *)tmp); |
| 6849 |
} else { |
|
6849 |
} else { |
| 6850 |
|
|
6850 |
|
| 6851 |
} |
|
6851 |
} |
| 6852 |
if (needle_len > end - haystack) { |
|
6852 |
if (needle_len > end - haystack) { |
| 6853 |
return ((char *)((void *)0)); |
|
6853 |
return ((char *)((void *)0)); |
| 6854 |
} else { |
|
6854 |
} else { |
| 6855 |
|
|
6855 |
|
| 6856 |
} |
|
6856 |
} |
| 6857 |
end -= needle_len; |
|
6857 |
end -= needle_len; |
| 6858 |
while ((unsigned int )p <= (unsigned int )end) { |
|
6858 |
while ((unsigned int )p <= (unsigned int )end) { |
| 6859 |
tmp___1 = memchr((void const *)p, (int )*needle, (size_t )((end - p) + 1)); |
|
6859 |
tmp___1 = memchr((void const *)p, (int )*needle, (size_t )((end - p) + 1)); |
| 6860 |
p = (char *)tmp___1; |
|
6860 |
p = (char *)tmp___1; |
| 6861 |
if (p) { |
|
6861 |
if (p) { |
| 6862 |
if ((int )ne == (int )*(p + (needle_len - 1))) { |
|
6862 |
if ((int )ne == (int )*(p + (needle_len - 1))) { |
| 6863 |
tmp___0 = memcmp((void const *)needle, (void const *)p, |
|
6863 |
tmp___0 = memcmp((void const *)needle, (void const *)p, |
| 6864 |
(size_t )(needle_len - 1)); |
|
6864 |
(size_t )(needle_len - 1)); |
| 6865 |
if (tmp___0) { |
|
6865 |
if (tmp___0) { |
| 6866 |
|
|
6866 |
|
| 6867 |
} else { |
|
6867 |
} else { |
| 6868 |
return (p); |
|
6868 |
return (p); |
| 6869 |
} |
|
6869 |
} |
| 6870 |
} else { |
|
6870 |
} else { |
| 6871 |
|
|
6871 |
|
| 6872 |
} |
|
6872 |
} |
| 6873 |
} else { |
|
6873 |
} else { |
| 6874 |
|
|
6874 |
|
| 6875 |
} |
|
6875 |
} |
| 6876 |
if ((unsigned int )p == (unsigned int )((void *)0)) { |
|
6876 |
if ((unsigned int )p == (unsigned int )((void *)0)) { |
| 6877 |
return ((char *)((void *)0)); |
|
6877 |
return ((char *)((void *)0)); |
| 6878 |
} else { |
|
6878 |
} else { |
| 6879 |
|
|
6879 |
|
| 6880 |
} |
|
6880 |
} |
| 6881 |
p ++; |
|
6881 |
p ++; |
| 6882 |
} |
|
6882 |
} |
| 6883 |
return ((char *)((void *)0)); |
|
6883 |
return ((char *)((void *)0)); |
| 6884 |
} |
|
6884 |
} |
| 6885 |
} |
|
6885 |
} |
| 6886 |
__inline static void const *zend_memrchr(void const *s , int c , size_t n ) |
|
6886 |
__inline static void const *zend_memrchr(void const *s , int c , size_t n ) |
| 6887 |
{ |
|
6887 |
{ |
| 6888 |
register unsigned char const *e ; |
|
6888 |
register unsigned char const *e ; |
| 6889 |
|
|
6889 |
|
| 6890 |
{ |
|
6890 |
{ |
| 6891 |
if (n <= 0U) { |
|
6891 |
if (n <= 0U) { |
| 6892 |
return ((void const *)((void *)0)); |
|
6892 |
return ((void const *)((void *)0)); |
| 6893 |
} else { |
|
6893 |
} else { |
| 6894 |
|
|
6894 |
|
| 6895 |
} |
|
6895 |
} |
| 6896 |
e = ((unsigned char const *)s + n) - 1; |
|
6896 |
e = ((unsigned char const *)s + n) - 1; |
| 6897 |
while ((unsigned int )e >= (unsigned int )((unsigned char const *)s)) { |
|
6897 |
while ((unsigned int )e >= (unsigned int )((unsigned char const *)s)) { |
| 6898 |
if ((int const )*e == (int const )((unsigned char const )c)) { |
|
6898 |
if ((int const )*e == (int const )((unsigned char const )c)) { |
| 6899 |
return ((void const *)e); |
|
6899 |
return ((void const *)e); |
| 6900 |
} else { |
|
6900 |
} else { |
| 6901 |
|
|
6901 |
|
| 6902 |
} |
|
6902 |
} |
| 6903 |
e --; |
|
6903 |
e --; |
| 6904 |
} |
|
6904 |
} |
| 6905 |
return ((void const *)((void *)0)); |
|
6905 |
return ((void const *)((void *)0)); |
| 6906 |
} |
|
6906 |
} |
| 6907 |
} |
|
6907 |
} |
| 6908 |
extern int __attribute__((__visibility__("default"))) increment_function(zval *op1 ) ; |
|
6908 |
extern int __attribute__((__visibility__("default"))) increment_function(zval *op1 ) ; |
| 6909 |
extern int __attribute__((__visibility__("default"))) decrement_function(zval *op2 ) ; |
|
6909 |
extern int __attribute__((__visibility__("default"))) decrement_function(zval *op2 ) ; |
| 6910 |
extern void __attribute__((__visibility__("default"))) convert_scalar_to_number(zval *op ) ; |
|
6910 |
extern void __attribute__((__visibility__("default"))) convert_scalar_to_number(zval *op ) ; |
| 6911 |
extern void __attribute__((__visibility__("default"))) _convert_to_string(zval *op ) ; |
|
6911 |
extern void __attribute__((__visibility__("default"))) _convert_to_string(zval *op ) ; |
| 6912 |
extern void __attribute__((__visibility__("default"))) convert_to_long(zval *op ) ; |
|
6912 |
extern void __attribute__((__visibility__("default"))) convert_to_long(zval *op ) ; |
| 6913 |
extern void __attribute__((__visibility__("default"))) convert_to_double(zval *op ) ; |
|
6913 |
extern void __attribute__((__visibility__("default"))) convert_to_double(zval *op ) ; |
| 6914 |
extern void __attribute__((__visibility__("default"))) convert_to_long_base(zval *op , |
|
6914 |
extern void __attribute__((__visibility__("default"))) convert_to_long_base(zval *op , |
| 6915 |
int base ) ; |
|
6915 |
int base ) ; |
| 6916 |
extern void __attribute__((__visibility__("default"))) convert_to_null(zval *op ) ; |
|
6916 |
extern void __attribute__((__visibility__("default"))) convert_to_null(zval *op ) ; |
| 6917 |
extern void __attribute__((__visibility__("default"))) convert_to_boolean(zval *op ) ; |
|
6917 |
extern void __attribute__((__visibility__("default"))) convert_to_boolean(zval *op ) ; |
| 6918 |
extern void __attribute__((__visibility__("default"))) convert_to_array(zval *op ) ; |
|
6918 |
extern void __attribute__((__visibility__("default"))) convert_to_array(zval *op ) ; |
| 6919 |
extern void __attribute__((__visibility__("default"))) convert_to_object(zval *op ) ; |
|
6919 |
extern void __attribute__((__visibility__("default"))) convert_to_object(zval *op ) ; |
| 6920 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_long_ex(int argc |
|
6920 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_long_ex(int argc |
| 6921 |
, ...) ; |
|
6921 |
, ...) ; |
| 6922 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_double_ex(int argc |
|
6922 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_double_ex(int argc |
| 6923 |
, ...) ; |
|
6923 |
, ...) ; |
| 6924 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_string_ex(int argc |
|
6924 |
extern void __attribute__((__visibility__("default"))) multi_convert_to_string_ex(int argc |
| 6925 |
, ...) ; |
|
6925 |
, ...) ; |
| 6926 |
extern int __attribute__((__visibility__("default"))) add_char_to_string(zval *result , |
|
6926 |
extern int __attribute__((__visibility__("default"))) add_char_to_string(zval *result , |
| 6927 |
zval const *op1 , |
|
6927 |
zval const *op1 , |
| 6928 |
zval const *op2 ) ; |
|
6928 |
zval const *op2 ) ; |
| 6929 |
extern int __attribute__((__visibility__("default"))) add_string_to_string(zval *result , |
|
6929 |
extern int __attribute__((__visibility__("default"))) add_string_to_string(zval *result , |
| 6930 |
zval const *op1 , |
|
6930 |
zval const *op1 , |
| 6931 |
zval const *op2 ) ; |
|
6931 |
zval const *op2 ) ; |
| 6932 |
extern double __attribute__((__visibility__("default"))) zend_string_to_double(char const *number , |
|
6932 |
extern double __attribute__((__visibility__("default"))) zend_string_to_double(char const *number , |
| 6933 |
zend_uint length ) ; |
|
6933 |
zend_uint length ) ; |
| 6934 |
extern int __attribute__((__visibility__("default"))) zval_is_true(zval *op ) ; |
|
6934 |
extern int __attribute__((__visibility__("default"))) zval_is_true(zval *op ) ; |
| 6935 |
extern int __attribute__((__visibility__("default"))) compare_function(zval *result , |
|
6935 |
extern int __attribute__((__visibility__("default"))) compare_function(zval *result , |
| 6936 |
zval *op1 , |
|
6936 |
zval *op1 , |
| 6937 |
zval *op2 ) ; |
|
6937 |
zval *op2 ) ; |
| 6938 |
extern int __attribute__((__visibility__("default"))) numeric_compare_function(zval *result , |
|
6938 |
extern int __attribute__((__visibility__("default"))) numeric_compare_function(zval *result , |
| 6939 |
zval *op1 , |
|
6939 |
zval *op1 , |
| 6940 |
zval *op2 ) ; |
|
6940 |
zval *op2 ) ; |
| 6941 |
extern int __attribute__((__visibility__("default"))) string_compare_function(zval *result , |
|
6941 |
extern int __attribute__((__visibility__("default"))) string_compare_function(zval *result , |
| 6942 |
zval *op1 , |
|
6942 |
zval *op1 , |
| 6943 |
zval *op2 ) ; |
|
6943 |
zval *op2 ) ; |
| 6944 |
extern int __attribute__((__visibility__("default"))) string_locale_compare_function(zval *result , |
|
6944 |
extern int __attribute__((__visibility__("default"))) string_locale_compare_function(zval *result , |
| 6945 |
zval *op1 , |
|
6945 |
zval *op1 , |
| 6946 |
zval *op2 ) ; |
|
6946 |
zval *op2 ) ; |
| 6947 |
extern void __attribute__((__visibility__("default"))) zend_str_tolower(char *str , |
|
6947 |
extern void __attribute__((__visibility__("default"))) zend_str_tolower(char *str , |
| 6948 |
unsigned int length ) ; |
|
6948 |
unsigned int length ) ; |
| 6949 |
extern char __attribute__((__visibility__("default"))) *zend_str_tolower_copy(char *dest , |
|
6949 |
extern char __attribute__((__visibility__("default"))) *zend_str_tolower_copy(char *dest , |
| 6950 |
char const *source , |
|
6950 |
char const *source , |
| 6951 |
unsigned int length ) ; |
|
6951 |
unsigned int length ) ; |
| 6952 |
extern char __attribute__((__visibility__("default"))) *zend_str_tolower_dup(char const *source , |
|
6952 |
extern char __attribute__((__visibility__("default"))) *zend_str_tolower_dup(char const *source , |
| 6953 |
unsigned int length ) ; |
|
6953 |
unsigned int length ) ; |
| 6954 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strcmp(zval *s1 , |
|
6954 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strcmp(zval *s1 , |
| 6955 |
zval *s2 ) ; |
|
6955 |
zval *s2 ) ; |
| 6956 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strncmp(zval *s1 , |
|
6956 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strncmp(zval *s1 , |
| 6957 |
zval *s2 , |
|
6957 |
zval *s2 , |
| 6958 |
zval *s3 ) ; |
|
6958 |
zval *s3 ) ; |
| 6959 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strcasecmp(zval *s1 , |
|
6959 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strcasecmp(zval *s1 , |
| 6960 |
zval *s2 ) ; |
|
6960 |
zval *s2 ) ; |
| 6961 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strncasecmp(zval *s1 , |
|
6961 |
extern int __attribute__((__visibility__("default"))) zend_binary_zval_strncasecmp(zval *s1 , |
| 6962 |
zval *s2 , |
|
6962 |
zval *s2 , |
| 6963 |
zval *s3 ) ; |
|
6963 |
zval *s3 ) ; |
| 6964 |
extern int __attribute__((__visibility__("default"))) zend_binary_strcmp(char const *s1 , |
|
6964 |
extern int __attribute__((__visibility__("default"))) zend_binary_strcmp(char const *s1 , |
| 6965 |
uint len1 , |
|
6965 |
uint len1 , |
| 6966 |
char const *s2 , |
|
6966 |
char const *s2 , |
| 6967 |
uint len2 ) ; |
|
6967 |
uint len2 ) ; |
| 6968 |
extern int __attribute__((__visibility__("default"))) zend_binary_strncmp(char const *s1 , |
|
6968 |
extern int __attribute__((__visibility__("default"))) zend_binary_strncmp(char const *s1 , |
| 6969 |
uint len1 , |
|
6969 |
uint len1 , |
| 6970 |
char const *s2 , |
|
6970 |
char const *s2 , |
| 6971 |
uint len2 , |
|
6971 |
uint len2 , |
| 6972 |
uint length ) ; |
|
6972 |
uint length ) ; |
| 6973 |
extern int __attribute__((__visibility__("default"))) zend_binary_strcasecmp(char const *s1 , |
|
6973 |
extern int __attribute__((__visibility__("default"))) zend_binary_strcasecmp(char const *s1 , |
| 6974 |
uint len1 , |
|
6974 |
uint len1 , |
| 6975 |
char const *s2 , |
|
6975 |
char const *s2 , |
| 6976 |
uint len2 ) ; |
|
6976 |
uint len2 ) ; |
| 6977 |
extern int __attribute__((__visibility__("default"))) zend_binary_strncasecmp(char const *s1 , |
|
6977 |
extern int __attribute__((__visibility__("default"))) zend_binary_strncasecmp(char const *s1 , |
| 6978 |
uint len1 , |
|
6978 |
uint len1 , |
| 6979 |
char const *s2 , |
|
6979 |
char const *s2 , |
| 6980 |
uint len2 , |
|
6980 |
uint len2 , |
| 6981 |
uint length ) ; |
|
6981 |
uint length ) ; |
| 6982 |
extern void __attribute__((__visibility__("default"))) zendi_smart_strcmp(zval *result , |
|
6982 |
extern void __attribute__((__visibility__("default"))) zendi_smart_strcmp(zval *result , |
| 6983 |
zval *s1 , |
|
6983 |
zval *s1 , |
| 6984 |
zval *s2 ) ; |
|
6984 |
zval *s2 ) ; |
| 6985 |
extern void __attribute__((__visibility__("default"))) zend_compare_symbol_tables(zval *result , |
|
6985 |
extern void __attribute__((__visibility__("default"))) zend_compare_symbol_tables(zval *result , |
| 6986 |
HashTable *ht1 , |
|
6986 |
HashTable *ht1 , |
| 6987 |
HashTable *ht2 ) ; |
|
6987 |
HashTable *ht2 ) ; |
| 6988 |
extern void __attribute__((__visibility__("default"))) zend_compare_arrays(zval *result , |
|
6988 |
extern void __attribute__((__visibility__("default"))) zend_compare_arrays(zval *result , |
| 6989 |
zval *a1 , |
|
6989 |
zval *a1 , |
| 6990 |
zval *a2 ) ; |
|
6990 |
zval *a2 ) ; |
| 6991 |
extern void __attribute__((__visibility__("default"))) zend_compare_objects(zval *result , |
|
6991 |
extern void __attribute__((__visibility__("default"))) zend_compare_objects(zval *result , |
| 6992 |
zval *o1 , |
|
6992 |
zval *o1 , |
| 6993 |
zval *o2 ) ; |
|
6993 |
zval *o2 ) ; |
| 6994 |
extern int __attribute__((__visibility__("default"))) zend_atoi(char const *str , |
|
6994 |
extern int __attribute__((__visibility__("default"))) zend_atoi(char const *str , |
| 6995 |
int str_len ) ; |
|
6995 |
int str_len ) ; |
| 6996 |
extern long __attribute__((__visibility__("default"))) zend_atol(char const *str , |
|
6996 |
extern long __attribute__((__visibility__("default"))) zend_atol(char const *str , |
| 6997 |
int str_len ) ; |
|
6997 |
int str_len ) ; |
| 6998 |
extern void __attribute__((__visibility__("default"))) zend_locale_sprintf_double(zval *op ) ; |
|
6998 |
extern void __attribute__((__visibility__("default"))) zend_locale_sprintf_double(zval *op ) ; |
| 6999 |
extern void __attribute__((__visibility__("default"))) _zval_dtor_func(zval *zvalue ) ; |
|
6999 |
extern void __attribute__((__visibility__("default"))) _zval_dtor_func(zval *zvalue ) ; |
| 7000 |
__inline static void ( __attribute__((__always_inline__)) _zval_dtor)(zval *zvalue ) |
|
7000 |
__inline static void ( __attribute__((__always_inline__)) _zval_dtor)(zval *zvalue ) |
| 7001 |
{ |
|
7001 |
{ |
| 7002 |
|
|
7002 |
|
| 7003 |
|
|
7003 |
|
| 7004 |
{ |
|
7004 |
{ |
| 7005 |
if ((int )zvalue->type <= 3) { |
|
7005 |
if ((int )zvalue->type <= 3) { |
| 7006 |
return; |
|
7006 |
return; |
| 7007 |
} else { |
|
7007 |
} else { |
| 7008 |
|
|
7008 |
|
| 7009 |
} |
|
7009 |
} |
| 7010 |
_zval_dtor_func(zvalue); |
|
7010 |
_zval_dtor_func(zvalue); |
| 7011 |
return; |
|
7011 |
return; |
| 7012 |
} |
|
7012 |
} |
| 7013 |
} |
|
7013 |
} |
| 7014 |
extern void __attribute__((__visibility__("default"))) _zval_copy_ctor_func(zval *zvalue ) ; |
|
7014 |
extern void __attribute__((__visibility__("default"))) _zval_copy_ctor_func(zval *zvalue ) ; |
| 7015 |
__inline static void ( __attribute__((__always_inline__)) _zval_copy_ctor)(zval *zvalue ) |
|
7015 |
__inline static void ( __attribute__((__always_inline__)) _zval_copy_ctor)(zval *zvalue ) |
| 7016 |
{ |
|
7016 |
{ |
| 7017 |
|
|
7017 |
|
| 7018 |
|
|
7018 |
|
| 7019 |
{ |
|
7019 |
{ |
| 7020 |
if ((int )zvalue->type <= 3) { |
|
7020 |
if ((int )zvalue->type <= 3) { |
| 7021 |
return; |
|
7021 |
return; |
| 7022 |
} else { |
|
7022 |
} else { |
| 7023 |
|
|
7023 |
|
| 7024 |
} |
|
7024 |
} |
| 7025 |
_zval_copy_ctor_func(zvalue); |
|
7025 |
_zval_copy_ctor_func(zvalue); |
| 7026 |
return; |
|
7026 |
return; |
| 7027 |
} |
|
7027 |
} |
| 7028 |
} |
|
7028 |
} |
| 7029 |
extern int __attribute__((__visibility__("default"))) zval_copy_static_var(zval **p , |
|
7029 |
extern int __attribute__((__visibility__("default"))) zval_copy_static_var(zval **p , |
| 7030 |
int num_args , |
|
7030 |
int num_args , |
| 7031 |
va_list args , |
|
7031 |
va_list args , |
| 7032 |
zend_hash_key *key ) ; |
|
7032 |
zend_hash_key *key ) ; |
| 7033 |
extern int __attribute__((__visibility__("default"))) zend_print_variable(zval *var ) ; |
|
7033 |
extern int __attribute__((__visibility__("default"))) zend_print_variable(zval *var ) ; |
| 7034 |
extern void __attribute__((__visibility__("default"))) _zval_ptr_dtor(zval **zval_ptr ) ; |
|
7034 |
extern void __attribute__((__visibility__("default"))) _zval_ptr_dtor(zval **zval_ptr ) ; |
| 7035 |
extern void __attribute__((__visibility__("default"))) _zval_internal_dtor(zval *zvalue ) ; |
|
7035 |
extern void __attribute__((__visibility__("default"))) _zval_internal_dtor(zval *zvalue ) ; |
| 7036 |
extern void __attribute__((__visibility__("default"))) _zval_internal_ptr_dtor(zval **zvalue ) ; |
|
7036 |
extern void __attribute__((__visibility__("default"))) _zval_internal_ptr_dtor(zval **zvalue ) ; |
| 7037 |
extern void __attribute__((__visibility__("default"))) _zval_dtor_wrapper(zval *zvalue ) ; |
|
7037 |
extern void __attribute__((__visibility__("default"))) _zval_dtor_wrapper(zval *zvalue ) ; |
| 7038 |
extern void __attribute__((__visibility__("default"))) zval_add_ref(zval **p ) ; |
|
7038 |
extern void __attribute__((__visibility__("default"))) zval_add_ref(zval **p ) ; |
| 7039 |
extern void __attribute__((__visibility__("default"))) zend_save_error_handling(zend_error_handling *current ) ; |
|
7039 |
extern void __attribute__((__visibility__("default"))) zend_save_error_handling(zend_error_handling *current ) ; |
| 7040 |
extern void __attribute__((__visibility__("default"))) zend_replace_error_handling(zend_error_handling_t error_handling , |
|
7040 |
extern void __attribute__((__visibility__("default"))) zend_replace_error_handling(zend_error_handling_t error_handling , |
| 7041 |
zend_class_entry *exception_class , |
|
7041 |
zend_class_entry *exception_class , |
| 7042 |
zend_error_handling *current ) ; |
|
7042 |
zend_error_handling *current ) ; |
| 7043 |
extern void __attribute__((__visibility__("default"))) zend_restore_error_handling(zend_error_handling *saved ) ; |
|
7043 |
extern void __attribute__((__visibility__("default"))) zend_restore_error_handling(zend_error_handling *saved ) ; |
| 7044 |
extern void __attribute__((__visibility__("default"))) zend_qsort(void *base , |
|
7044 |
extern void __attribute__((__visibility__("default"))) zend_qsort(void *base , |
| 7045 |
size_t nmemb , |
|
7045 |
size_t nmemb , |
| 7046 |
size_t siz , |
|
7046 |
size_t siz , |
| 7047 |
int (*compare)(void const * , |
|
7047 |
int (*compare)(void const * , |
| 7048 |
void const * ) ) ; |
|
7048 |
void const * ) ) ; |
| 7049 |
extern opcode_handler_t __attribute__((__visibility__("default"))) *zend_opcode_handlers ; |
|
7049 |
extern opcode_handler_t __attribute__((__visibility__("default"))) *zend_opcode_handlers ; |
| 7050 |
extern char *zend_visibility_string(zend_uint fn_flags ) ; |
|
7050 |
extern char *zend_visibility_string(zend_uint fn_flags ) ; |
| 7051 |
extern __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ; |
|
7051 |
extern __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ; |
| 7052 |
extern __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env , |
|
7052 |
extern __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env , |
| 7053 |
int __savemask ) ; |
|
7053 |
int __savemask ) ; |
| 7054 |
extern __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ; |
|
7054 |
extern __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ; |
| 7055 |
extern __attribute__((__nothrow__, |
|
7055 |
extern __attribute__((__nothrow__, |
| 7056 |
__noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
7056 |
__noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 7057 |
extern __attribute__((__nothrow__, |
|
7057 |
extern __attribute__((__nothrow__, |
| 7058 |
__noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
7058 |
__noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 7059 |
extern __attribute__((__nothrow__, |
|
7059 |
extern __attribute__((__nothrow__, |
| 7060 |
__noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
7060 |
__noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 7061 |
extern struct _zend_compiler_globals __attribute__((__visibility__("default"))) compiler_globals ; |
|
7061 |
extern struct _zend_compiler_globals __attribute__((__visibility__("default"))) compiler_globals ; |
| 7062 |
extern int zendparse(void) ; |
|
7062 |
extern int zendparse(void) ; |
| 7063 |
extern zend_executor_globals __attribute__((__visibility__("default"))) executor_globals ; |
|
7063 |
extern zend_executor_globals __attribute__((__visibility__("default"))) executor_globals ; |
| 7064 |
extern zend_php_scanner_globals __attribute__((__visibility__("default"))) language_scanner_globals ; |
|
7064 |
extern zend_php_scanner_globals __attribute__((__visibility__("default"))) language_scanner_globals ; |
| 7065 |
extern zend_ini_scanner_globals __attribute__((__visibility__("default"))) ini_scanner_globals ; |
|
7065 |
extern zend_ini_scanner_globals __attribute__((__visibility__("default"))) ini_scanner_globals ; |
| 7066 |
extern int __attribute__((__visibility__("default"))) zend_stack_init(zend_stack *stack ) ; |
|
7066 |
extern int __attribute__((__visibility__("default"))) zend_stack_init(zend_stack *stack ) ; |
| 7067 |
extern int __attribute__((__visibility__("default"))) zend_stack_push(zend_stack *stack , |
|
7067 |
extern int __attribute__((__visibility__("default"))) zend_stack_push(zend_stack *stack , |
| 7068 |
void const *element , |
|
7068 |
void const *element , |
| 7069 |
int size ) ; |
|
7069 |
int size ) ; |
| 7070 |
extern int __attribute__((__visibility__("default"))) zend_stack_top(zend_stack const *stack , |
|
7070 |
extern int __attribute__((__visibility__("default"))) zend_stack_top(zend_stack const *stack , |
| 7071 |
void **element ) ; |
|
7071 |
void **element ) ; |
| 7072 |
extern int __attribute__((__visibility__("default"))) zend_stack_del_top(zend_stack *stack ) ; |
|
7072 |
extern int __attribute__((__visibility__("default"))) zend_stack_del_top(zend_stack *stack ) ; |
| 7073 |
extern int __attribute__((__visibility__("default"))) zend_stack_int_top(zend_stack const *stack ) ; |
|
7073 |
extern int __attribute__((__visibility__("default"))) zend_stack_int_top(zend_stack const *stack ) ; |
| 7074 |
extern int __attribute__((__visibility__("default"))) zend_stack_is_empty(zend_stack const *stack ) ; |
|
7074 |
extern int __attribute__((__visibility__("default"))) zend_stack_is_empty(zend_stack const *stack ) ; |
| 7075 |
extern int __attribute__((__visibility__("default"))) zend_stack_destroy(zend_stack *stack ) ; |
|
7075 |
extern int __attribute__((__visibility__("default"))) zend_stack_destroy(zend_stack *stack ) ; |
| 7076 |
extern void __attribute__((__visibility__("default"))) **zend_stack_base(zend_stack const *stack ) ; |
|
7076 |
extern void __attribute__((__visibility__("default"))) **zend_stack_base(zend_stack const *stack ) ; |
| 7077 |
extern int __attribute__((__visibility__("default"))) zend_stack_count(zend_stack const *stack ) ; |
|
7077 |
extern int __attribute__((__visibility__("default"))) zend_stack_count(zend_stack const *stack ) ; |
| 7078 |
extern void __attribute__((__visibility__("default"))) zend_stack_apply(zend_stack *stack , |
|
7078 |
extern void __attribute__((__visibility__("default"))) zend_stack_apply(zend_stack *stack , |
| 7079 |
int type , |
|
7079 |
int type , |
| 7080 |
int (*apply_function)(void *element ) ) ; |
|
7080 |
int (*apply_function)(void *element ) ) ; |
| 7081 |
extern void __attribute__((__visibility__("default"))) zend_stack_apply_with_argument(zend_stack *stack , |
|
7081 |
extern void __attribute__((__visibility__("default"))) zend_stack_apply_with_argument(zend_stack *stack , |
| 7082 |
int type , |
|
7082 |
int type , |
| 7083 |
int (*apply_function)(void *element , |
|
7083 |
int (*apply_function)(void *element , |
| 7084 |
void *arg ) , |
|
7084 |
void *arg ) , |
| 7085 |
void *arg ) ; |
|
7085 |
void *arg ) ; |
| 7086 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_init(zend_ptr_stack *stack ) ; |
|
7086 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_init(zend_ptr_stack *stack ) ; |
| 7087 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_init_ex(zend_ptr_stack *stack , |
|
7087 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_init_ex(zend_ptr_stack *stack , |
| 7088 |
zend_bool persistent ) ; |
|
7088 |
zend_bool persistent ) ; |
| 7089 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_n_push(zend_ptr_stack *stack , |
|
7089 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_n_push(zend_ptr_stack *stack , |
| 7090 |
int count |
|
7090 |
int count |
| 7091 |
, ...) ; |
|
7091 |
, ...) ; |
| 7092 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_n_pop(zend_ptr_stack *stack , |
|
7092 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_n_pop(zend_ptr_stack *stack , |
| 7093 |
int count |
|
7093 |
int count |
| 7094 |
, ...) ; |
|
7094 |
, ...) ; |
| 7095 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_destroy(zend_ptr_stack *stack ) ; |
|
7095 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_destroy(zend_ptr_stack *stack ) ; |
| 7096 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_apply(zend_ptr_stack *stack , |
|
7096 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_apply(zend_ptr_stack *stack , |
| 7097 |
void (*func)(void * ) ) ; |
|
7097 |
void (*func)(void * ) ) ; |
| 7098 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_clean(zend_ptr_stack *stack , |
|
7098 |
extern void __attribute__((__visibility__("default"))) zend_ptr_stack_clean(zend_ptr_stack *stack , |
| 7099 |
void (*func)(void * ) , |
|
7099 |
void (*func)(void * ) , |
| 7100 |
zend_bool free_elements ) ; |
|
7100 |
zend_bool free_elements ) ; |
| 7101 |
extern int __attribute__((__visibility__("default"))) zend_ptr_stack_num_elements(zend_ptr_stack *stack ) ; |
|
7101 |
extern int __attribute__((__visibility__("default"))) zend_ptr_stack_num_elements(zend_ptr_stack *stack ) ; |
| 7102 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_push)(zend_ptr_stack *stack , |
|
7102 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_push)(zend_ptr_stack *stack , |
| 7103 |
void *a , |
|
7103 |
void *a , |
| 7104 |
void *b , |
|
7104 |
void *b , |
| 7105 |
void *c ) |
|
7105 |
void *c ) |
| 7106 |
{ |
|
7106 |
{ |
| 7107 |
void *tmp ; |
|
7107 |
void *tmp ; |
| 7108 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
7108 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 7109 |
void *tmp___1 ; |
|
7109 |
void *tmp___1 ; |
| 7110 |
void **tmp___2 ; |
|
7110 |
void **tmp___2 ; |
| 7111 |
void **tmp___3 ; |
|
7111 |
void **tmp___3 ; |
| 7112 |
void **tmp___4 ; |
|
7112 |
void **tmp___4 ; |
| 7113 |
|
|
7113 |
|
| 7114 |
{ |
|
7114 |
{ |
| 7115 |
if (stack->top + 3 > stack->max) { |
|
7115 |
if (stack->top + 3 > stack->max) { |
| 7116 |
while (1) { |
|
7116 |
while (1) { |
| 7117 |
stack->max += 64; |
|
7117 |
stack->max += 64; |
| 7118 |
if (stack->top + 3 > stack->max) { |
|
7118 |
if (stack->top + 3 > stack->max) { |
| 7119 |
|
|
7119 |
|
| 7120 |
} else { |
|
7120 |
} else { |
| 7121 |
break; |
|
7121 |
break; |
| 7122 |
} |
|
7122 |
} |
| 7123 |
} |
|
7123 |
} |
| 7124 |
if (stack->persistent) { |
|
7124 |
if (stack->persistent) { |
| 7125 |
tmp = __zend_realloc((void *)stack->elements, |
|
7125 |
tmp = __zend_realloc((void *)stack->elements, |
| 7126 |
sizeof(void *) * (unsigned int )stack->max); |
|
7126 |
sizeof(void *) * (unsigned int )stack->max); |
| 7127 |
tmp___1 = tmp; |
|
7127 |
tmp___1 = tmp; |
| 7128 |
} else { |
|
7128 |
} else { |
| 7129 |
tmp___0 = _erealloc((void *)stack->elements, |
|
7129 |
tmp___0 = _erealloc((void *)stack->elements, |
| 7130 |
sizeof(void *) * (unsigned int )stack->max, 0); |
|
7130 |
sizeof(void *) * (unsigned int )stack->max, 0); |
| 7131 |
tmp___1 = (void *)tmp___0; |
|
7131 |
tmp___1 = (void *)tmp___0; |
| 7132 |
} |
|
7132 |
} |
| 7133 |
stack->elements = (void **)tmp___1; |
|
7133 |
stack->elements = (void **)tmp___1; |
| 7134 |
stack->top_element = stack->elements + stack->top; |
|
7134 |
stack->top_element = stack->elements + stack->top; |
| 7135 |
} else { |
|
7135 |
} else { |
| 7136 |
|
|
7136 |
|
| 7137 |
} |
|
7137 |
} |
| 7138 |
stack->top += 3; |
|
7138 |
stack->top += 3; |
| 7139 |
tmp___2 = stack->top_element; |
|
7139 |
tmp___2 = stack->top_element; |
| 7140 |
(stack->top_element) ++; |
|
7140 |
(stack->top_element) ++; |
| 7141 |
*tmp___2 = a; |
|
7141 |
*tmp___2 = a; |
| 7142 |
tmp___3 = stack->top_element; |
|
7142 |
tmp___3 = stack->top_element; |
| 7143 |
(stack->top_element) ++; |
|
7143 |
(stack->top_element) ++; |
| 7144 |
*tmp___3 = b; |
|
7144 |
*tmp___3 = b; |
| 7145 |
tmp___4 = stack->top_element; |
|
7145 |
tmp___4 = stack->top_element; |
| 7146 |
(stack->top_element) ++; |
|
7146 |
(stack->top_element) ++; |
| 7147 |
*tmp___4 = c; |
|
7147 |
*tmp___4 = c; |
| 7148 |
return; |
|
7148 |
return; |
| 7149 |
} |
|
7149 |
} |
| 7150 |
} |
|
7150 |
} |
| 7151 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_push)(zend_ptr_stack *stack , |
|
7151 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_push)(zend_ptr_stack *stack , |
| 7152 |
void *a , |
|
7152 |
void *a , |
| 7153 |
void *b ) |
|
7153 |
void *b ) |
| 7154 |
{ |
|
7154 |
{ |
| 7155 |
void *tmp ; |
|
7155 |
void *tmp ; |
| 7156 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
7156 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 7157 |
void *tmp___1 ; |
|
7157 |
void *tmp___1 ; |
| 7158 |
void **tmp___2 ; |
|
7158 |
void **tmp___2 ; |
| 7159 |
void **tmp___3 ; |
|
7159 |
void **tmp___3 ; |
| 7160 |
|
|
7160 |
|
| 7161 |
{ |
|
7161 |
{ |
| 7162 |
if (stack->top + 2 > stack->max) { |
|
7162 |
if (stack->top + 2 > stack->max) { |
| 7163 |
while (1) { |
|
7163 |
while (1) { |
| 7164 |
stack->max += 64; |
|
7164 |
stack->max += 64; |
| 7165 |
if (stack->top + 2 > stack->max) { |
|
7165 |
if (stack->top + 2 > stack->max) { |
| 7166 |
|
|
7166 |
|
| 7167 |
} else { |
|
7167 |
} else { |
| 7168 |
break; |
|
7168 |
break; |
| 7169 |
} |
|
7169 |
} |
| 7170 |
} |
|
7170 |
} |
| 7171 |
if (stack->persistent) { |
|
7171 |
if (stack->persistent) { |
| 7172 |
tmp = __zend_realloc((void *)stack->elements, |
|
7172 |
tmp = __zend_realloc((void *)stack->elements, |
| 7173 |
sizeof(void *) * (unsigned int )stack->max); |
|
7173 |
sizeof(void *) * (unsigned int )stack->max); |
| 7174 |
tmp___1 = tmp; |
|
7174 |
tmp___1 = tmp; |
| 7175 |
} else { |
|
7175 |
} else { |
| 7176 |
tmp___0 = _erealloc((void *)stack->elements, |
|
7176 |
tmp___0 = _erealloc((void *)stack->elements, |
| 7177 |
sizeof(void *) * (unsigned int )stack->max, 0); |
|
7177 |
sizeof(void *) * (unsigned int )stack->max, 0); |
| 7178 |
tmp___1 = (void *)tmp___0; |
|
7178 |
tmp___1 = (void *)tmp___0; |
| 7179 |
} |
|
7179 |
} |
| 7180 |
stack->elements = (void **)tmp___1; |
|
7180 |
stack->elements = (void **)tmp___1; |
| 7181 |
stack->top_element = stack->elements + stack->top; |
|
7181 |
stack->top_element = stack->elements + stack->top; |
| 7182 |
} else { |
|
7182 |
} else { |
| 7183 |
|
|
7183 |
|
| 7184 |
} |
|
7184 |
} |
| 7185 |
stack->top += 2; |
|
7185 |
stack->top += 2; |
| 7186 |
tmp___2 = stack->top_element; |
|
7186 |
tmp___2 = stack->top_element; |
| 7187 |
(stack->top_element) ++; |
|
7187 |
(stack->top_element) ++; |
| 7188 |
*tmp___2 = a; |
|
7188 |
*tmp___2 = a; |
| 7189 |
tmp___3 = stack->top_element; |
|
7189 |
tmp___3 = stack->top_element; |
| 7190 |
(stack->top_element) ++; |
|
7190 |
(stack->top_element) ++; |
| 7191 |
*tmp___3 = b; |
|
7191 |
*tmp___3 = b; |
| 7192 |
return; |
|
7192 |
return; |
| 7193 |
} |
|
7193 |
} |
| 7194 |
} |
|
7194 |
} |
| 7195 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_pop)(zend_ptr_stack *stack , |
|
7195 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_3_pop)(zend_ptr_stack *stack , |
| 7196 |
void **a , |
|
7196 |
void **a , |
| 7197 |
void **b , |
|
7197 |
void **b , |
| 7198 |
void **c ) |
|
7198 |
void **c ) |
| 7199 |
{ |
|
7199 |
{ |
| 7200 |
|
|
7200 |
|
| 7201 |
|
|
7201 |
|
| 7202 |
{ |
|
7202 |
{ |
| 7203 |
(stack->top_element) --; |
|
7203 |
(stack->top_element) --; |
| 7204 |
*a = *(stack->top_element); |
|
7204 |
*a = *(stack->top_element); |
| 7205 |
(stack->top_element) --; |
|
7205 |
(stack->top_element) --; |
| 7206 |
*b = *(stack->top_element); |
|
7206 |
*b = *(stack->top_element); |
| 7207 |
(stack->top_element) --; |
|
7207 |
(stack->top_element) --; |
| 7208 |
*c = *(stack->top_element); |
|
7208 |
*c = *(stack->top_element); |
| 7209 |
stack->top -= 3; |
|
7209 |
stack->top -= 3; |
| 7210 |
return; |
|
7210 |
return; |
| 7211 |
} |
|
7211 |
} |
| 7212 |
} |
|
7212 |
} |
| 7213 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_pop)(zend_ptr_stack *stack , |
|
7213 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_2_pop)(zend_ptr_stack *stack , |
| 7214 |
void **a , |
|
7214 |
void **a , |
| 7215 |
void **b ) |
|
7215 |
void **b ) |
| 7216 |
{ |
|
7216 |
{ |
| 7217 |
|
|
7217 |
|
| 7218 |
|
|
7218 |
|
| 7219 |
{ |
|
7219 |
{ |
| 7220 |
(stack->top_element) --; |
|
7220 |
(stack->top_element) --; |
| 7221 |
*a = *(stack->top_element); |
|
7221 |
*a = *(stack->top_element); |
| 7222 |
(stack->top_element) --; |
|
7222 |
(stack->top_element) --; |
| 7223 |
*b = *(stack->top_element); |
|
7223 |
*b = *(stack->top_element); |
| 7224 |
stack->top -= 2; |
|
7224 |
stack->top -= 2; |
| 7225 |
return; |
|
7225 |
return; |
| 7226 |
} |
|
7226 |
} |
| 7227 |
} |
|
7227 |
} |
| 7228 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_push)(zend_ptr_stack *stack , |
|
7228 |
__inline static void ( __attribute__((__always_inline__)) zend_ptr_stack_push)(zend_ptr_stack *stack , |
| 7229 |
void *ptr ) |
|
7229 |
void *ptr ) |
| 7230 |
{ |
|
7230 |
{ |
| 7231 |
void *tmp ; |
|
7231 |
void *tmp ; |
| 7232 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
7232 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 7233 |
void *tmp___1 ; |
|
7233 |
void *tmp___1 ; |
| 7234 |
void **tmp___2 ; |
|
7234 |
void **tmp___2 ; |
| 7235 |
|
|
7235 |
|
| 7236 |
{ |
|
7236 |
{ |
| 7237 |
if (stack->top + 1 > stack->max) { |
|
7237 |
if (stack->top + 1 > stack->max) { |
| 7238 |
while (1) { |
|
7238 |
while (1) { |
| 7239 |
stack->max += 64; |
|
7239 |
stack->max += 64; |
| 7240 |
if (stack->top + 1 > stack->max) { |
|
7240 |
if (stack->top + 1 > stack->max) { |
| 7241 |
|
|
7241 |
|
| 7242 |
} else { |
|
7242 |
} else { |
| 7243 |
break; |
|
7243 |
break; |
| 7244 |
} |
|
7244 |
} |
| 7245 |
} |
|
7245 |
} |
| 7246 |
if (stack->persistent) { |
|
7246 |
if (stack->persistent) { |
| 7247 |
tmp = __zend_realloc((void *)stack->elements, |
|
7247 |
tmp = __zend_realloc((void *)stack->elements, |
| 7248 |
sizeof(void *) * (unsigned int )stack->max); |
|
7248 |
sizeof(void *) * (unsigned int )stack->max); |
| 7249 |
tmp___1 = tmp; |
|
7249 |
tmp___1 = tmp; |
| 7250 |
} else { |
|
7250 |
} else { |
| 7251 |
tmp___0 = _erealloc((void *)stack->elements, |
|
7251 |
tmp___0 = _erealloc((void *)stack->elements, |
| 7252 |
sizeof(void *) * (unsigned int )stack->max, 0); |
|
7252 |
sizeof(void *) * (unsigned int )stack->max, 0); |
| 7253 |
tmp___1 = (void *)tmp___0; |
|
7253 |
tmp___1 = (void *)tmp___0; |
| 7254 |
} |
|
7254 |
} |
| 7255 |
stack->elements = (void **)tmp___1; |
|
7255 |
stack->elements = (void **)tmp___1; |
| 7256 |
stack->top_element = stack->elements + stack->top; |
|
7256 |
stack->top_element = stack->elements + stack->top; |
| 7257 |
} else { |
|
7257 |
} else { |
| 7258 |
|
|
7258 |
|
| 7259 |
} |
|
7259 |
} |
| 7260 |
(stack->top) ++; |
|
7260 |
(stack->top) ++; |
| 7261 |
tmp___2 = stack->top_element; |
|
7261 |
tmp___2 = stack->top_element; |
| 7262 |
(stack->top_element) ++; |
|
7262 |
(stack->top_element) ++; |
| 7263 |
*tmp___2 = ptr; |
|
7263 |
*tmp___2 = ptr; |
| 7264 |
return; |
|
7264 |
return; |
| 7265 |
} |
|
7265 |
} |
| 7266 |
} |
|
7266 |
} |
| 7267 |
__inline static void *( __attribute__((__always_inline__)) zend_ptr_stack_pop)(zend_ptr_stack *stack ) |
|
7267 |
__inline static void *( __attribute__((__always_inline__)) zend_ptr_stack_pop)(zend_ptr_stack *stack ) |
| 7268 |
{ |
|
7268 |
{ |
| 7269 |
|
|
7269 |
|
| 7270 |
|
|
7270 |
|
| 7271 |
{ |
|
7271 |
{ |
| 7272 |
(stack->top) --; |
|
7272 |
(stack->top) --; |
| 7273 |
(stack->top_element) --; |
|
7273 |
(stack->top_element) --; |
| 7274 |
return (*(stack->top_element)); |
|
7274 |
return (*(stack->top_element)); |
| 7275 |
} |
|
7275 |
} |
| 7276 |
} |
|
7276 |
} |
| 7277 |
extern void __attribute__((__visibility__("default"))) zend_object_std_init(zend_object *object , |
|
7277 |
extern void __attribute__((__visibility__("default"))) zend_object_std_init(zend_object *object , |
| 7278 |
zend_class_entry *ce ) ; |
|
7278 |
zend_class_entry *ce ) ; |
| 7279 |
extern void __attribute__((__visibility__("default"))) zend_object_std_dtor(zend_object *object ) ; |
|
7279 |
extern void __attribute__((__visibility__("default"))) zend_object_std_dtor(zend_object *object ) ; |
| 7280 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_new(zend_object **object , |
|
7280 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_new(zend_object **object , |
| 7281 |
zend_class_entry *class_type ) ; |
|
7281 |
zend_class_entry *class_type ) ; |
| 7282 |
extern void __attribute__((__visibility__("default"))) zend_objects_destroy_object(zend_object *object , |
|
7282 |
extern void __attribute__((__visibility__("default"))) zend_objects_destroy_object(zend_object *object , |
| 7283 |
zend_object_handle handle ) ; |
|
7283 |
zend_object_handle handle ) ; |
| 7284 |
extern zend_object __attribute__((__visibility__("default"))) *zend_objects_get_address(zval const *object ) ; |
|
7284 |
extern zend_object __attribute__((__visibility__("default"))) *zend_objects_get_address(zval const *object ) ; |
| 7285 |
extern void __attribute__((__visibility__("default"))) zend_objects_clone_members(zend_object *new_object , |
|
7285 |
extern void __attribute__((__visibility__("default"))) zend_objects_clone_members(zend_object *new_object , |
| 7286 |
zend_object_value new_obj_val , |
|
7286 |
zend_object_value new_obj_val , |
| 7287 |
zend_object *old_object , |
|
7287 |
zend_object *old_object , |
| 7288 |
zend_object_handle handle ) ; |
|
7288 |
zend_object_handle handle ) ; |
| 7289 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_clone_obj(zval *object ) ; |
|
7289 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_clone_obj(zval *object ) ; |
| 7290 |
extern void __attribute__((__visibility__("default"))) zend_objects_free_object_storage(zend_object *object ) ; |
|
7290 |
extern void __attribute__((__visibility__("default"))) zend_objects_free_object_storage(zend_object *object ) ; |
| 7291 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_init(zend_objects_store *objects , |
|
7291 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_init(zend_objects_store *objects , |
| 7292 |
zend_uint init_size ) ; |
|
7292 |
zend_uint init_size ) ; |
| 7293 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_call_destructors(zend_objects_store *objects ) ; |
|
7293 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_call_destructors(zend_objects_store *objects ) ; |
| 7294 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_mark_destructed(zend_objects_store *objects ) ; |
|
7294 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_mark_destructed(zend_objects_store *objects ) ; |
| 7295 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_destroy(zend_objects_store *objects ) ; |
|
7295 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_destroy(zend_objects_store *objects ) ; |
| 7296 |
extern zend_object_handle __attribute__((__visibility__("default"))) zend_objects_store_put(void *object , |
|
7296 |
extern zend_object_handle __attribute__((__visibility__("default"))) zend_objects_store_put(void *object , |
| 7297 |
void (*dtor)(void *object , |
|
7297 |
void (*dtor)(void *object , |
| 7298 |
zend_object_handle handle ) , |
|
7298 |
zend_object_handle handle ) , |
| 7299 |
void (*storage)(void *object ) , |
|
7299 |
void (*storage)(void *object ) , |
| 7300 |
void (*clone)(void *object , |
|
7300 |
void (*clone)(void *object , |
| 7301 |
void **object_clone ) ) ; |
|
7301 |
void **object_clone ) ) ; |
| 7302 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_add_ref(zval *object ) ; |
|
7302 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_add_ref(zval *object ) ; |
| 7303 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_del_ref(zval *object ) ; |
|
7303 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_del_ref(zval *object ) ; |
| 7304 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_add_ref_by_handle(zend_object_handle handle ) ; |
|
7304 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_add_ref_by_handle(zend_object_handle handle ) ; |
| 7305 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_del_ref_by_handle_ex(zend_object_handle handle , |
|
7305 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_del_ref_by_handle_ex(zend_object_handle handle , |
| 7306 |
zend_object_handlers const *handlers ) ; |
|
7306 |
zend_object_handlers const *handlers ) ; |
| 7307 |
__inline static void ( __attribute__((__always_inline__)) zend_objects_store_del_ref_by_handle)(zend_object_handle handle ) |
|
7307 |
__inline static void ( __attribute__((__always_inline__)) zend_objects_store_del_ref_by_handle)(zend_object_handle handle ) |
| 7308 |
{ |
|
7308 |
{ |
| 7309 |
|
|
7309 |
|
| 7310 |
|
|
7310 |
|
| 7311 |
{ |
|
7311 |
{ |
| 7312 |
zend_objects_store_del_ref_by_handle_ex(handle, |
|
7312 |
zend_objects_store_del_ref_by_handle_ex(handle, |
| 7313 |
(zend_object_handlers const *)((void *)0)); |
|
7313 |
(zend_object_handlers const *)((void *)0)); |
| 7314 |
return; |
|
7314 |
return; |
| 7315 |
} |
|
7315 |
} |
| 7316 |
} |
|
7316 |
} |
| 7317 |
extern zend_uint __attribute__((__visibility__("default"))) zend_objects_store_get_refcount(zval *object ) ; |
|
7317 |
extern zend_uint __attribute__((__visibility__("default"))) zend_objects_store_get_refcount(zval *object ) ; |
| 7318 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_store_clone_obj(zval *object ) ; |
|
7318 |
extern zend_object_value __attribute__((__visibility__("default"))) zend_objects_store_clone_obj(zval *object ) ; |
| 7319 |
extern void __attribute__((__visibility__("default"))) *zend_object_store_get_object(zval const *object ) ; |
|
7319 |
extern void __attribute__((__visibility__("default"))) *zend_object_store_get_object(zval const *object ) ; |
| 7320 |
extern void __attribute__((__visibility__("default"))) *zend_object_store_get_object_by_handle(zend_object_handle handle ) ; |
|
7320 |
extern void __attribute__((__visibility__("default"))) *zend_object_store_get_object_by_handle(zend_object_handle handle ) ; |
| 7321 |
extern void __attribute__((__visibility__("default"))) zend_object_store_set_object(zval *zobject , |
|
7321 |
extern void __attribute__((__visibility__("default"))) zend_object_store_set_object(zval *zobject , |
| 7322 |
void *object ) ; |
|
7322 |
void *object ) ; |
| 7323 |
extern void __attribute__((__visibility__("default"))) zend_object_store_ctor_failed(zval *zobject ) ; |
|
7323 |
extern void __attribute__((__visibility__("default"))) zend_object_store_ctor_failed(zval *zobject ) ; |
| 7324 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_free_object_storage(zend_objects_store *objects ) ; |
|
7324 |
extern void __attribute__((__visibility__("default"))) zend_objects_store_free_object_storage(zend_objects_store *objects ) ; |
| 7325 |
extern zval __attribute__((__visibility__("default"))) *zend_object_create_proxy(zval *object , |
|
7325 |
extern zval __attribute__((__visibility__("default"))) *zend_object_create_proxy(zval *object , |
| 7326 |
zval *member ) ; |
|
7326 |
zval *member ) ; |
| 7327 |
extern zend_object_handlers __attribute__((__visibility__("default"))) *zend_get_std_object_handlers(void) ; |
|
7327 |
extern zend_object_handlers __attribute__((__visibility__("default"))) *zend_get_std_object_handlers(void) ; |
| 7328 |
extern void __attribute__((__visibility__("default"))) zend_init_fpu(void) ; |
|
7328 |
extern void __attribute__((__visibility__("default"))) zend_init_fpu(void) ; |
| 7329 |
extern void __attribute__((__visibility__("default"))) zend_shutdown_fpu(void) ; |
|
7329 |
extern void __attribute__((__visibility__("default"))) zend_shutdown_fpu(void) ; |
| 7330 |
extern void __attribute__((__visibility__("default"))) zend_ensure_fpu_mode(void) ; |
|
7330 |
extern void __attribute__((__visibility__("default"))) zend_ensure_fpu_mode(void) ; |
| 7331 |
extern fpu_control_t __fpu_control ; |
|
7331 |
extern fpu_control_t __fpu_control ; |
| 7332 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf32be ; |
|
7332 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf32be ; |
| 7333 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf32le ; |
|
7333 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf32le ; |
| 7334 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf16be ; |
|
7334 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf16be ; |
| 7335 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf16le ; |
|
7335 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf16le ; |
| 7336 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf8 ; |
|
7336 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_utf8 ; |
| 7337 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_functions(zend_multibyte_functions const *functions ) ; |
|
7337 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_functions(zend_multibyte_functions const *functions ) ; |
| 7338 |
extern zend_multibyte_functions const __attribute__((__visibility__("default"))) *zend_multibyte_get_functions(void) ; |
|
7338 |
extern zend_multibyte_functions const __attribute__((__visibility__("default"))) *zend_multibyte_get_functions(void) ; |
| 7339 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_fetch_encoding(char const *name ) ; |
|
7339 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_fetch_encoding(char const *name ) ; |
| 7340 |
extern char const __attribute__((__visibility__("default"))) *zend_multibyte_get_encoding_name(zend_encoding const *encoding ) ; |
|
7340 |
extern char const __attribute__((__visibility__("default"))) *zend_multibyte_get_encoding_name(zend_encoding const *encoding ) ; |
| 7341 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_check_lexer_compatibility(zend_encoding const *encoding ) ; |
|
7341 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_check_lexer_compatibility(zend_encoding const *encoding ) ; |
| 7342 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_detector(unsigned char const *string , |
|
7342 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_encoding_detector(unsigned char const *string , |
| 7343 |
size_t length , |
|
7343 |
size_t length , |
| 7344 |
zend_encoding const **list , |
|
7344 |
zend_encoding const **list , |
| 7345 |
size_t list_size ) ; |
|
7345 |
size_t list_size ) ; |
| 7346 |
extern size_t __attribute__((__visibility__("default"))) zend_multibyte_encoding_converter(unsigned char **to , |
|
7346 |
extern size_t __attribute__((__visibility__("default"))) zend_multibyte_encoding_converter(unsigned char **to , |
| 7347 |
size_t *to_length , |
|
7347 |
size_t *to_length , |
| 7348 |
unsigned char const *from , |
|
7348 |
unsigned char const *from , |
| 7349 |
size_t from_length , |
|
7349 |
size_t from_length , |
| 7350 |
zend_encoding const *encoding_to , |
|
7350 |
zend_encoding const *encoding_to , |
| 7351 |
zend_encoding const *encoding_from ) ; |
|
7351 |
zend_encoding const *encoding_from ) ; |
| 7352 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_parse_encoding_list(char const *encoding_list , |
|
7352 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_parse_encoding_list(char const *encoding_list , |
| 7353 |
size_t encoding_list_len , |
|
7353 |
size_t encoding_list_len , |
| 7354 |
zend_encoding const ***return_list , |
|
7354 |
zend_encoding const ***return_list , |
| 7355 |
size_t *return_size , |
|
7355 |
size_t *return_size , |
| 7356 |
int persistent ) ; |
|
7356 |
int persistent ) ; |
| 7357 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_get_internal_encoding(void) ; |
|
7357 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_get_internal_encoding(void) ; |
| 7358 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_get_script_encoding(void) ; |
|
7358 |
extern zend_encoding const __attribute__((__visibility__("default"))) *zend_multibyte_get_script_encoding(void) ; |
| 7359 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_script_encoding(zend_encoding const **encoding_list , |
|
7359 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_script_encoding(zend_encoding const **encoding_list , |
| 7360 |
size_t encoding_list_size ) ; |
|
7360 |
size_t encoding_list_size ) ; |
| 7361 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_internal_encoding(zend_encoding const *encoding ) ; |
|
7361 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_internal_encoding(zend_encoding const *encoding ) ; |
| 7362 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_script_encoding_by_string(char const *new_value , |
|
7362 |
extern int __attribute__((__visibility__("default"))) zend_multibyte_set_script_encoding_by_string(char const *new_value , |
| 7363 |
size_t new_value_length ) ; |
|
7363 |
size_t new_value_length ) ; |
| 7364 |
extern void init_compiler(void) ; |
|
7364 |
extern void init_compiler(void) ; |
| 7365 |
extern void shutdown_compiler(void) ; |
|
7365 |
extern void shutdown_compiler(void) ; |
| 7366 |
extern void zend_init_compiler_data_structures(void) ; |
|
7366 |
extern void zend_init_compiler_data_structures(void) ; |
| 7367 |
extern void zend_init_compiler_context(void) ; |
|
7367 |
extern void zend_init_compiler_context(void) ; |
| 7368 |
extern zend_op_array __attribute__((__visibility__("default"))) *(*zend_compile_file)(zend_file_handle *file_handle , |
|
7368 |
extern zend_op_array __attribute__((__visibility__("default"))) *(*zend_compile_file)(zend_file_handle *file_handle , |
| 7369 |
int type ) ; |
|
7369 |
int type ) ; |
| 7370 |
extern zend_op_array __attribute__((__visibility__("default"))) *(*zend_compile_string)(zval *source_string , |
|
7370 |
extern zend_op_array __attribute__((__visibility__("default"))) *(*zend_compile_string)(zval *source_string , |
| 7371 |
char *filename ) ; |
|
7371 |
char *filename ) ; |
| 7372 |
extern int __attribute__((__visibility__("default"))) lex_scan(zval *zendlval ) ; |
|
7372 |
extern int __attribute__((__visibility__("default"))) lex_scan(zval *zendlval ) ; |
| 7373 |
extern void startup_scanner(void) ; |
|
7373 |
extern void startup_scanner(void) ; |
| 7374 |
extern void shutdown_scanner(void) ; |
|
7374 |
extern void shutdown_scanner(void) ; |
| 7375 |
extern char __attribute__((__visibility__("default"))) *zend_set_compiled_filename(char const *new_compiled_filename ) ; |
|
7375 |
extern char __attribute__((__visibility__("default"))) *zend_set_compiled_filename(char const *new_compiled_filename ) ; |
| 7376 |
extern void __attribute__((__visibility__("default"))) zend_restore_compiled_filename(char *original_compiled_filename ) ; |
|
7376 |
extern void __attribute__((__visibility__("default"))) zend_restore_compiled_filename(char *original_compiled_filename ) ; |
| 7377 |
extern char __attribute__((__visibility__("default"))) *zend_get_compiled_filename(void) ; |
|
7377 |
extern char __attribute__((__visibility__("default"))) *zend_get_compiled_filename(void) ; |
| 7378 |
extern int __attribute__((__visibility__("default"))) zend_get_compiled_lineno(void) ; |
|
7378 |
extern int __attribute__((__visibility__("default"))) zend_get_compiled_lineno(void) ; |
| 7379 |
extern size_t __attribute__((__visibility__("default"))) zend_get_scanned_file_offset(void) ; |
|
7379 |
extern size_t __attribute__((__visibility__("default"))) zend_get_scanned_file_offset(void) ; |
| 7380 |
extern void zend_resolve_non_class_name(znode *element_name , |
|
7380 |
extern void zend_resolve_non_class_name(znode *element_name , |
| 7381 |
zend_bool check_namespace ) ; |
|
7381 |
zend_bool check_namespace ) ; |
| 7382 |
extern void zend_resolve_class_name(znode *class_name , ulong *fetch_type , |
|
7382 |
extern void zend_resolve_class_name(znode *class_name , ulong *fetch_type , |
| 7383 |
int check_ns_name ) ; |
|
7383 |
int check_ns_name ) ; |
| 7384 |
extern char __attribute__((__visibility__("default"))) *zend_get_compiled_variable_name(zend_op_array const *op_array , |
|
7384 |
extern char __attribute__((__visibility__("default"))) *zend_get_compiled_variable_name(zend_op_array const *op_array , |
| 7385 |
zend_uint var , |
|
7385 |
zend_uint var , |
| 7386 |
int *name_len ) ; |
|
7386 |
int *name_len ) ; |
| 7387 |
extern void zend_do_binary_op(zend_uchar op , znode *result , |
|
7387 |
extern void zend_do_binary_op(zend_uchar op , znode *result , |
| 7388 |
znode const *op1 , znode const *op2 ) ; |
|
7388 |
znode const *op1 , znode const *op2 ) ; |
| 7389 |
extern void zend_do_unary_op(zend_uchar op , znode *result , znode const *op1 ) ; |
|
7389 |
extern void zend_do_unary_op(zend_uchar op , znode *result , znode const *op1 ) ; |
| 7390 |
extern void zend_do_binary_assign_op(zend_uchar op , znode *result , |
|
7390 |
extern void zend_do_binary_assign_op(zend_uchar op , znode *result , |
| 7391 |
znode const *op1 , znode const *op2 ) ; |
|
7391 |
znode const *op1 , znode const *op2 ) ; |
| 7392 |
extern void zend_do_assign(znode *result , znode *variable , znode *value ) ; |
|
7392 |
extern void zend_do_assign(znode *result , znode *variable , znode *value ) ; |
| 7393 |
extern void zend_do_assign_ref(znode *result , znode const *lvar , |
|
7393 |
extern void zend_do_assign_ref(znode *result , znode const *lvar , |
| 7394 |
znode const *rvar ) ; |
|
7394 |
znode const *rvar ) ; |
| 7395 |
extern void fetch_simple_variable(znode *result , znode *varname , int bp ) ; |
|
7395 |
extern void fetch_simple_variable(znode *result , znode *varname , int bp ) ; |
| 7396 |
extern void fetch_simple_variable_ex(znode *result , znode *varname , int bp , |
|
7396 |
extern void fetch_simple_variable_ex(znode *result , znode *varname , int bp , |
| 7397 |
zend_uchar op ) ; |
|
7397 |
zend_uchar op ) ; |
| 7398 |
extern void zend_do_indirect_references(znode *result , |
|
7398 |
extern void zend_do_indirect_references(znode *result , |
| 7399 |
znode const *num_references , |
|
7399 |
znode const *num_references , |
| 7400 |
znode *variable ) ; |
|
7400 |
znode *variable ) ; |
| 7401 |
extern void zend_do_fetch_static_variable(znode *varname , |
|
7401 |
extern void zend_do_fetch_static_variable(znode *varname , |
| 7402 |
znode const *static_assignment , |
|
7402 |
znode const *static_assignment , |
| 7403 |
int fetch_type ) ; |
|
7403 |
int fetch_type ) ; |
| 7404 |
extern void zend_do_fetch_global_variable(znode *varname , |
|
7404 |
extern void zend_do_fetch_global_variable(znode *varname , |
| 7405 |
znode const *static_assignment , |
|
7405 |
znode const *static_assignment , |
| 7406 |
int fetch_type ) ; |
|
7406 |
int fetch_type ) ; |
| 7407 |
extern void fetch_array_begin(znode *result , znode *varname , znode *first_dim ) ; |
|
7407 |
extern void fetch_array_begin(znode *result , znode *varname , znode *first_dim ) ; |
| 7408 |
extern void fetch_array_dim(znode *result , znode const *parent , |
|
7408 |
extern void fetch_array_dim(znode *result , znode const *parent , |
| 7409 |
znode const *dim ) ; |
|
7409 |
znode const *dim ) ; |
| 7410 |
extern void fetch_string_offset(znode *result , znode const *parent , |
|
7410 |
extern void fetch_string_offset(znode *result , znode const *parent , |
| 7411 |
znode const *offset ) ; |
|
7411 |
znode const *offset ) ; |
| 7412 |
extern void zend_do_fetch_static_member(znode *result , znode *class_znode ) ; |
|
7412 |
extern void zend_do_fetch_static_member(znode *result , znode *class_znode ) ; |
| 7413 |
extern void zend_do_print(znode *result , znode const *arg ) ; |
|
7413 |
extern void zend_do_print(znode *result , znode const *arg ) ; |
| 7414 |
extern void zend_do_echo(znode const *arg ) ; |
|
7414 |
extern void zend_do_echo(znode const *arg ) ; |
| 7415 |
extern unary_op_type __attribute__((__visibility__("default"))) get_unary_op(int opcode ) ; |
|
7415 |
extern unary_op_type __attribute__((__visibility__("default"))) get_unary_op(int opcode ) ; |
| 7416 |
extern binary_op_type __attribute__((__visibility__("default"))) get_binary_op(int opcode ) ; |
|
7416 |
extern binary_op_type __attribute__((__visibility__("default"))) get_binary_op(int opcode ) ; |
| 7417 |
extern void zend_do_while_cond(znode const *expr , znode *close_bracket_token ) ; |
|
7417 |
extern void zend_do_while_cond(znode const *expr , znode *close_bracket_token ) ; |
| 7418 |
extern void zend_do_while_end(znode const *while_token , |
|
7418 |
extern void zend_do_while_end(znode const *while_token , |
| 7419 |
znode const *close_bracket_token ) ; |
|
7419 |
znode const *close_bracket_token ) ; |
| 7420 |
extern void zend_do_do_while_begin(void) ; |
|
7420 |
extern void zend_do_do_while_begin(void) ; |
| 7421 |
extern void zend_do_do_while_end(znode const *do_token , |
|
7421 |
extern void zend_do_do_while_end(znode const *do_token , |
| 7422 |
znode const *expr_open_bracket , |
|
7422 |
znode const *expr_open_bracket , |
| 7423 |
znode const *expr ) ; |
|
7423 |
znode const *expr ) ; |
| 7424 |
extern void zend_do_if_cond(znode const *cond , znode *closing_bracket_token ) ; |
|
7424 |
extern void zend_do_if_cond(znode const *cond , znode *closing_bracket_token ) ; |
| 7425 |
extern void zend_do_if_after_statement(znode const *closing_bracket_token , |
|
7425 |
extern void zend_do_if_after_statement(znode const *closing_bracket_token , |
| 7426 |
unsigned char initialize ) ; |
|
7426 |
unsigned char initialize ) ; |
| 7427 |
extern void zend_do_if_end(void) ; |
|
7427 |
extern void zend_do_if_end(void) ; |
| 7428 |
extern void zend_do_for_cond(znode const *expr , |
|
7428 |
extern void zend_do_for_cond(znode const *expr , |
| 7429 |
znode *second_semicolon_token ) ; |
|
7429 |
znode *second_semicolon_token ) ; |
| 7430 |
extern void zend_do_for_before_statement(znode const *cond_start , |
|
7430 |
extern void zend_do_for_before_statement(znode const *cond_start , |
| 7431 |
znode const *second_semicolon_token ) ; |
|
7431 |
znode const *second_semicolon_token ) ; |
| 7432 |
extern void zend_do_for_end(znode const *second_semicolon_token ) ; |
|
7432 |
extern void zend_do_for_end(znode const *second_semicolon_token ) ; |
| 7433 |
extern void zend_do_pre_incdec(znode *result , znode const *op1 , |
|
7433 |
extern void zend_do_pre_incdec(znode *result , znode const *op1 , |
| 7434 |
zend_uchar op ) ; |
|
7434 |
zend_uchar op ) ; |
| 7435 |
extern void zend_do_post_incdec(znode *result , znode const *op1 , |
|
7435 |
extern void zend_do_post_incdec(znode *result , znode const *op1 , |
| 7436 |
zend_uchar op ) ; |
|
7436 |
zend_uchar op ) ; |
| 7437 |
extern void zend_do_begin_variable_parse(void) ; |
|
7437 |
extern void zend_do_begin_variable_parse(void) ; |
| 7438 |
extern void zend_do_end_variable_parse(znode *variable , int type , |
|
7438 |
extern void zend_do_end_variable_parse(znode *variable , int type , |
| 7439 |
int arg_offset ) ; |
|
7439 |
int arg_offset ) ; |
| 7440 |
extern void zend_check_writable_variable(znode const *variable ) ; |
|
7440 |
extern void zend_check_writable_variable(znode const *variable ) ; |
| 7441 |
extern void zend_do_free(znode *op1 ) ; |
|
7441 |
extern void zend_do_free(znode *op1 ) ; |
| 7442 |
extern void zend_do_add_string(znode *result , znode const *op1 , znode *op2 ) ; |
|
7442 |
extern void zend_do_add_string(znode *result , znode const *op1 , znode *op2 ) ; |
| 7443 |
extern void zend_do_add_variable(znode *result , znode const *op1 , |
|
7443 |
extern void zend_do_add_variable(znode *result , znode const *op1 , |
| 7444 |
znode const *op2 ) ; |
|
7444 |
znode const *op2 ) ; |
| 7445 |
extern int zend_do_verify_access_types(znode const *current_access_type , |
|
7445 |
extern int zend_do_verify_access_types(znode const *current_access_type , |
| 7446 |
znode const *new_modifier ) ; |
|
7446 |
znode const *new_modifier ) ; |
| 7447 |
extern void zend_do_begin_function_declaration(znode *function_token , |
|
7447 |
extern void zend_do_begin_function_declaration(znode *function_token , |
| 7448 |
znode *function_name , |
|
7448 |
znode *function_name , |
| 7449 |
int is_method , |
|
7449 |
int is_method , |
| 7450 |
int return_reference , |
|
7450 |
int return_reference , |
| 7451 |
znode *fn_flags_znode ) ; |
|
7451 |
znode *fn_flags_znode ) ; |
| 7452 |
extern void zend_do_end_function_declaration(znode const *function_token ) ; |
|
7452 |
extern void zend_do_end_function_declaration(znode const *function_token ) ; |
| 7453 |
extern void zend_do_receive_arg(zend_uchar op , znode *varname , |
|
7453 |
extern void zend_do_receive_arg(zend_uchar op , znode *varname , |
| 7454 |
znode const *offset , |
|
7454 |
znode const *offset , |
| 7455 |
znode const *initialization , |
|
7455 |
znode const *initialization , |
| 7456 |
znode *class_type , zend_bool pass_by_reference ) ; |
|
7456 |
znode *class_type , zend_bool pass_by_reference ) ; |
| 7457 |
extern int zend_do_begin_function_call(znode *function_name , |
|
7457 |
extern int zend_do_begin_function_call(znode *function_name , |
| 7458 |
zend_bool check_namespace ) ; |
|
7458 |
zend_bool check_namespace ) ; |
| 7459 |
extern void zend_do_begin_method_call(znode *left_bracket ) ; |
|
7459 |
extern void zend_do_begin_method_call(znode *left_bracket ) ; |
| 7460 |
extern void zend_do_clone(znode *result , znode const *expr ) ; |
|
7460 |
extern void zend_do_clone(znode *result , znode const *expr ) ; |
| 7461 |
extern void zend_do_begin_dynamic_function_call(znode *function_name , |
|
7461 |
extern void zend_do_begin_dynamic_function_call(znode *function_name , |
| 7462 |
int prefix_len ) ; |
|
7462 |
int prefix_len ) ; |
| 7463 |
extern void zend_do_fetch_class(znode *result , znode *class_name ) ; |
|
7463 |
extern void zend_do_fetch_class(znode *result , znode *class_name ) ; |
| 7464 |
extern void zend_do_build_full_name(znode *result , znode *prefix , |
|
7464 |
extern void zend_do_build_full_name(znode *result , znode *prefix , |
| 7465 |
znode *name , int is_class_member ) ; |
|
7465 |
znode *name , int is_class_member ) ; |
| 7466 |
extern int zend_do_begin_class_member_function_call(znode *class_name , |
|
7466 |
extern int zend_do_begin_class_member_function_call(znode *class_name , |
| 7467 |
znode *method_name ) ; |
|
7467 |
znode *method_name ) ; |
| 7468 |
extern void zend_do_end_function_call(znode *function_name , znode *result , |
|
7468 |
extern void zend_do_end_function_call(znode *function_name , znode *result , |
| 7469 |
znode const *argument_list , |
|
7469 |
znode const *argument_list , |
| 7470 |
int is_method , int is_dynamic_fcall ) ; |
|
7470 |
int is_method , int is_dynamic_fcall ) ; |
| 7471 |
extern void zend_do_return(znode *expr , int do_end_vparse ) ; |
|
7471 |
extern void zend_do_return(znode *expr , int do_end_vparse ) ; |
| 7472 |
extern void zend_do_handle_exception(void) ; |
|
7472 |
extern void zend_do_handle_exception(void) ; |
| 7473 |
extern void zend_do_begin_lambda_function_declaration(znode *result , |
|
7473 |
extern void zend_do_begin_lambda_function_declaration(znode *result , |
| 7474 |
znode *function_token , |
|
7474 |
znode *function_token , |
| 7475 |
int return_reference , |
|
7475 |
int return_reference , |
| 7476 |
int is_static ) ; |
|
7476 |
int is_static ) ; |
| 7477 |
extern void zend_do_fetch_lexical_variable(znode *varname , zend_bool is_ref ) ; |
|
7477 |
extern void zend_do_fetch_lexical_variable(znode *varname , zend_bool is_ref ) ; |
| 7478 |
extern void zend_do_try(znode *try_token ) ; |
|
7478 |
extern void zend_do_try(znode *try_token ) ; |
| 7479 |
extern void zend_do_begin_catch(znode *try_token , znode *catch_class , |
|
7479 |
extern void zend_do_begin_catch(znode *try_token , znode *catch_class , |
| 7480 |
znode *catch_var , znode *first_catch ) ; |
|
7480 |
znode *catch_var , znode *first_catch ) ; |
| 7481 |
extern void zend_do_end_catch(znode const *try_token ) ; |
|
7481 |
extern void zend_do_end_catch(znode const *try_token ) ; |
| 7482 |
extern void zend_do_throw(znode const *expr ) ; |
|
7482 |
extern void zend_do_throw(znode const *expr ) ; |
| 7483 |
extern int __attribute__((__visibility__("default"))) do_bind_function(zend_op_array const *op_array , |
|
7483 |
extern int __attribute__((__visibility__("default"))) do_bind_function(zend_op_array const *op_array , |
| 7484 |
zend_op *opline , |
|
7484 |
zend_op *opline , |
| 7485 |
HashTable *function_table , |
|
7485 |
HashTable *function_table , |
| 7486 |
zend_bool compile_time ) ; |
|
7486 |
zend_bool compile_time ) ; |
| 7487 |
extern zend_class_entry __attribute__((__visibility__("default"))) *do_bind_class(zend_op_array const *op_array , |
|
7487 |
extern zend_class_entry __attribute__((__visibility__("default"))) *do_bind_class(zend_op_array const *op_array , |
| 7488 |
zend_op const *opline , |
|
7488 |
zend_op const *opline , |
| 7489 |
HashTable *class_table , |
|
7489 |
HashTable *class_table , |
| 7490 |
zend_bool compile_time ) ; |
|
7490 |
zend_bool compile_time ) ; |
| 7491 |
extern zend_class_entry __attribute__((__visibility__("default"))) *do_bind_inherited_class(zend_op_array const *op_array , |
|
7491 |
extern zend_class_entry __attribute__((__visibility__("default"))) *do_bind_inherited_class(zend_op_array const *op_array , |
| 7492 |
zend_op const *opline , |
|
7492 |
zend_op const *opline , |
| 7493 |
HashTable *class_table , |
|
7493 |
HashTable *class_table , |
| 7494 |
zend_class_entry *parent_ce , |
|
7494 |
zend_class_entry *parent_ce , |
| 7495 |
zend_bool compile_time ) ; |
|
7495 |
zend_bool compile_time ) ; |
| 7496 |
extern void __attribute__((__visibility__("default"))) zend_do_inherit_interfaces(zend_class_entry *ce , |
|
7496 |
extern void __attribute__((__visibility__("default"))) zend_do_inherit_interfaces(zend_class_entry *ce , |
| 7497 |
zend_class_entry const *iface ) ; |
|
7497 |
zend_class_entry const *iface ) ; |
| 7498 |
extern void __attribute__((__visibility__("default"))) zend_do_implement_interface(zend_class_entry *ce , |
|
7498 |
extern void __attribute__((__visibility__("default"))) zend_do_implement_interface(zend_class_entry *ce , |
| 7499 |
zend_class_entry *iface ) ; |
|
7499 |
zend_class_entry *iface ) ; |
| 7500 |
extern void zend_do_implements_interface(znode *interface_znode ) ; |
|
7500 |
extern void zend_do_implements_interface(znode *interface_znode ) ; |
| 7501 |
extern void zend_add_trait_precedence(znode *precedence_znode ) ; |
|
7501 |
extern void zend_add_trait_precedence(znode *precedence_znode ) ; |
| 7502 |
extern void zend_add_trait_alias(znode *alias_znode ) ; |
|
7502 |
extern void zend_add_trait_alias(znode *alias_znode ) ; |
| 7503 |
extern void zend_do_implements_trait(znode *interface_znode ) ; |
|
7503 |
extern void zend_do_implements_trait(znode *interface_znode ) ; |
| 7504 |
extern void __attribute__((__visibility__("default"))) zend_do_implement_trait(zend_class_entry *ce , |
|
7504 |
extern void __attribute__((__visibility__("default"))) zend_do_implement_trait(zend_class_entry *ce , |
| 7505 |
zend_class_entry *trait ) ; |
|
7505 |
zend_class_entry *trait ) ; |
| 7506 |
extern void __attribute__((__visibility__("default"))) zend_do_bind_traits(zend_class_entry *ce ) ; |
|
7506 |
extern void __attribute__((__visibility__("default"))) zend_do_bind_traits(zend_class_entry *ce ) ; |
| 7507 |
extern void zend_prepare_trait_precedence(znode *result , |
|
7507 |
extern void zend_prepare_trait_precedence(znode *result , |
| 7508 |
znode *method_reference , |
|
7508 |
znode *method_reference , |
| 7509 |
znode *trait_list ) ; |
|
7509 |
znode *trait_list ) ; |
| 7510 |
extern void zend_prepare_reference(znode *result , znode *class_name , |
|
7510 |
extern void zend_prepare_reference(znode *result , znode *class_name , |
| 7511 |
znode *method_name ) ; |
|
7511 |
znode *method_name ) ; |
| 7512 |
extern void zend_prepare_trait_alias(znode *result , znode *method_reference , |
|
7512 |
extern void zend_prepare_trait_alias(znode *result , znode *method_reference , |
| 7513 |
znode *modifiers , znode *alias ) ; |
|
7513 |
znode *modifiers , znode *alias ) ; |
| 7514 |
extern void init_trait_alias_list(znode *result , znode const *trait_alias ) ; |
|
7514 |
extern void init_trait_alias_list(znode *result , znode const *trait_alias ) ; |
| 7515 |
extern void add_trait_alias(znode *result , znode const *trait_alias ) ; |
|
7515 |
extern void add_trait_alias(znode *result , znode const *trait_alias ) ; |
| 7516 |
extern void init_trait_alias(znode *result , znode const *method_name , |
|
7516 |
extern void init_trait_alias(znode *result , znode const *method_name , |
| 7517 |
znode const *alias , znode const *modifiers ) ; |
|
7517 |
znode const *alias , znode const *modifiers ) ; |
| 7518 |
extern void __attribute__((__visibility__("default"))) zend_do_inheritance(zend_class_entry *ce , |
|
7518 |
extern void __attribute__((__visibility__("default"))) zend_do_inheritance(zend_class_entry *ce , |
| 7519 |
zend_class_entry *parent_ce ) ; |
|
7519 |
zend_class_entry *parent_ce ) ; |
| 7520 |
extern void zend_do_early_binding(void) ; |
|
7520 |
extern void zend_do_early_binding(void) ; |
| 7521 |
extern void __attribute__((__visibility__("default"))) zend_do_delayed_early_binding(zend_op_array const *op_array ) ; |
|
7521 |
extern void __attribute__((__visibility__("default"))) zend_do_delayed_early_binding(zend_op_array const *op_array ) ; |
| 7522 |
extern void zend_do_pass_param(znode *param , zend_uchar op , int offset ) ; |
|
7522 |
extern void zend_do_pass_param(znode *param , zend_uchar op , int offset ) ; |
| 7523 |
extern void zend_do_boolean_or_begin(znode *expr1 , znode *op_token ) ; |
|
7523 |
extern void zend_do_boolean_or_begin(znode *expr1 , znode *op_token ) ; |
| 7524 |
extern void zend_do_boolean_or_end(znode *result , znode const *expr1 , |
|
7524 |
extern void zend_do_boolean_or_end(znode *result , znode const *expr1 , |
| 7525 |
znode const *expr2 , znode *op_token ) ; |
|
7525 |
znode const *expr2 , znode *op_token ) ; |
| 7526 |
extern void zend_do_boolean_and_begin(znode *expr1 , znode *op_token ) ; |
|
7526 |
extern void zend_do_boolean_and_begin(znode *expr1 , znode *op_token ) ; |
| 7527 |
extern void zend_do_boolean_and_end(znode *result , znode const *expr1 , |
|
7527 |
extern void zend_do_boolean_and_end(znode *result , znode const *expr1 , |
| 7528 |
znode const *expr2 , |
|
7528 |
znode const *expr2 , |
| 7529 |
znode const *op_token ) ; |
|
7529 |
znode const *op_token ) ; |
| 7530 |
extern void zend_do_brk_cont(zend_uchar op , znode const *expr ) ; |
|
7530 |
extern void zend_do_brk_cont(zend_uchar op , znode const *expr ) ; |
| 7531 |
extern void zend_do_switch_cond(znode const *cond ) ; |
|
7531 |
extern void zend_do_switch_cond(znode const *cond ) ; |
| 7532 |
extern void zend_do_switch_end(znode const *case_list ) ; |
|
7532 |
extern void zend_do_switch_end(znode const *case_list ) ; |
| 7533 |
extern void zend_do_case_before_statement(znode const *case_list , |
|
7533 |
extern void zend_do_case_before_statement(znode const *case_list , |
| 7534 |
znode *case_token , |
|
7534 |
znode *case_token , |
| 7535 |
znode const *case_expr ) ; |
|
7535 |
znode const *case_expr ) ; |
| 7536 |
extern void zend_do_case_after_statement(znode *result , |
|
7536 |
extern void zend_do_case_after_statement(znode *result , |
| 7537 |
znode const *case_token ) ; |
|
7537 |
znode const *case_token ) ; |
| 7538 |
extern void zend_do_default_before_statement(znode const *case_list , |
|
7538 |
extern void zend_do_default_before_statement(znode const *case_list , |
| 7539 |
znode *default_token ) ; |
|
7539 |
znode *default_token ) ; |
| 7540 |
extern void zend_do_begin_class_declaration(znode const *class_token , |
|
7540 |
extern void zend_do_begin_class_declaration(znode const *class_token , |
| 7541 |
znode *class_name , |
|
7541 |
znode *class_name , |
| 7542 |
znode const *parent_class_name ) ; |
|
7542 |
znode const *parent_class_name ) ; |
| 7543 |
extern void zend_do_end_class_declaration(znode const *class_token , |
|
7543 |
extern void zend_do_end_class_declaration(znode const *class_token , |
| 7544 |
znode const *parent_token ) ; |
|
7544 |
znode const *parent_token ) ; |
| 7545 |
extern void zend_do_declare_property(znode const *var_name , |
|
7545 |
extern void zend_do_declare_property(znode const *var_name , |
| 7546 |
znode const *value , |
|
7546 |
znode const *value , |
| 7547 |
zend_uint access_type ) ; |
|
7547 |
zend_uint access_type ) ; |
| 7548 |
extern void zend_do_declare_class_constant(znode *var_name , |
|
7548 |
extern void zend_do_declare_class_constant(znode *var_name , |
| 7549 |
znode const *value ) ; |
|
7549 |
znode const *value ) ; |
| 7550 |
extern void zend_do_fetch_property(znode *result , znode *object , |
|
7550 |
extern void zend_do_fetch_property(znode *result , znode *object , |
| 7551 |
znode const *property ) ; |
|
7551 |
znode const *property ) ; |
| 7552 |
extern void zend_do_halt_compiler_register(void) ; |
|
7552 |
extern void zend_do_halt_compiler_register(void) ; |
| 7553 |
extern void zend_do_push_object(znode const *object ) ; |
|
7553 |
extern void zend_do_push_object(znode const *object ) ; |
| 7554 |
extern void zend_do_pop_object(znode *object ) ; |
|
7554 |
extern void zend_do_pop_object(znode *object ) ; |
| 7555 |
extern void zend_do_begin_new_object(znode *new_token , znode *class_type ) ; |
|
7555 |
extern void zend_do_begin_new_object(znode *new_token , znode *class_type ) ; |
| 7556 |
extern void zend_do_end_new_object(znode *result , znode const *new_token , |
|
7556 |
extern void zend_do_end_new_object(znode *result , znode const *new_token , |
| 7557 |
znode const *argument_list ) ; |
|
7557 |
znode const *argument_list ) ; |
| 7558 |
extern void zend_do_fetch_constant(znode *result , znode *constant_container , |
|
7558 |
extern void zend_do_fetch_constant(znode *result , znode *constant_container , |
| 7559 |
znode *constant_name , int mode , |
|
7559 |
znode *constant_name , int mode , |
| 7560 |
zend_bool check_namespace ) ; |
|
7560 |
zend_bool check_namespace ) ; |
| 7561 |
extern void zend_do_shell_exec(znode *result , znode const *cmd ) ; |
|
7561 |
extern void zend_do_shell_exec(znode *result , znode const *cmd ) ; |
| 7562 |
extern void zend_do_init_array(znode *result , znode const *expr , |
|
7562 |
extern void zend_do_init_array(znode *result , znode const *expr , |
| 7563 |
znode const *offset , zend_bool is_ref ) ; |
|
7563 |
znode const *offset , zend_bool is_ref ) ; |
| 7564 |
extern void zend_do_add_array_element(znode *result , znode const *expr , |
|
7564 |
extern void zend_do_add_array_element(znode *result , znode const *expr , |
| 7565 |
znode const *offset , zend_bool is_ref ) ; |
|
7565 |
znode const *offset , zend_bool is_ref ) ; |
| 7566 |
extern void zend_do_add_static_array_element(znode *result , znode *offset , |
|
7566 |
extern void zend_do_add_static_array_element(znode *result , znode *offset , |
| 7567 |
znode const *expr ) ; |
|
7567 |
znode const *expr ) ; |
| 7568 |
extern void zend_do_list_init(void) ; |
|
7568 |
extern void zend_do_list_init(void) ; |
| 7569 |
extern void zend_do_list_end(znode *result , znode *expr ) ; |
|
7569 |
extern void zend_do_list_end(znode *result , znode *expr ) ; |
| 7570 |
extern void zend_do_add_list_element(znode const *element ) ; |
|
7570 |
extern void zend_do_add_list_element(znode const *element ) ; |
| 7571 |
extern void zend_do_new_list_begin(void) ; |
|
7571 |
extern void zend_do_new_list_begin(void) ; |
| 7572 |
extern void zend_do_new_list_end(void) ; |
|
7572 |
extern void zend_do_new_list_end(void) ; |
| 7573 |
extern void zend_init_list(void *result , void *item ) ; |
|
7573 |
extern void zend_init_list(void *result , void *item ) ; |
| 7574 |
extern void zend_add_to_list(void *result , void *item ) ; |
|
7574 |
extern void zend_add_to_list(void *result , void *item ) ; |
| 7575 |
extern void zend_do_cast(znode *result , znode const *expr , int type ) ; |
|
7575 |
extern void zend_do_cast(znode *result , znode const *expr , int type ) ; |
| 7576 |
extern void zend_do_include_or_eval(int type , znode *result , |
|
7576 |
extern void zend_do_include_or_eval(int type , znode *result , |
| 7577 |
znode const *op1 ) ; |
|
7577 |
znode const *op1 ) ; |
| 7578 |
extern void zend_do_unset(znode const *variable ) ; |
|
7578 |
extern void zend_do_unset(znode const *variable ) ; |
| 7579 |
extern void zend_do_isset_or_isempty(int type , znode *result , znode *variable ) ; |
|
7579 |
extern void zend_do_isset_or_isempty(int type , znode *result , znode *variable ) ; |
| 7580 |
extern void zend_do_instanceof(znode *result , znode const *expr , |
|
7580 |
extern void zend_do_instanceof(znode *result , znode const *expr , |
| 7581 |
znode const *class_znode , int type ) ; |
|
7581 |
znode const *class_znode , int type ) ; |
| 7582 |
extern void zend_do_foreach_begin(znode *foreach_token , |
|
7582 |
extern void zend_do_foreach_begin(znode *foreach_token , |
| 7583 |
znode *open_brackets_token , znode *array , |
|
7583 |
znode *open_brackets_token , znode *array , |
| 7584 |
znode *as_token , int variable ) ; |
|
7584 |
znode *as_token , int variable ) ; |
| 7585 |
extern void zend_do_foreach_cont(znode *foreach_token , |
|
7585 |
extern void zend_do_foreach_cont(znode *foreach_token , |
| 7586 |
znode const *open_brackets_token , |
|
7586 |
znode const *open_brackets_token , |
| 7587 |
znode const *as_token , znode *value , |
|
7587 |
znode const *as_token , znode *value , |
| 7588 |
znode *key ) ; |
|
7588 |
znode *key ) ; |
| 7589 |
extern void zend_do_foreach_end(znode const *foreach_token , |
|
7589 |
extern void zend_do_foreach_end(znode const *foreach_token , |
| 7590 |
znode const *as_token ) ; |
|
7590 |
znode const *as_token ) ; |
| 7591 |
extern void zend_do_declare_begin(void) ; |
|
7591 |
extern void zend_do_declare_begin(void) ; |
| 7592 |
extern void zend_do_declare_stmt(znode *var , znode *val ) ; |
|
7592 |
extern void zend_do_declare_stmt(znode *var , znode *val ) ; |
| 7593 |
extern void zend_do_declare_end(znode const *declare_token ) ; |
|
7593 |
extern void zend_do_declare_end(znode const *declare_token ) ; |
| 7594 |
extern void zend_do_exit(znode *result , znode const *message ) ; |
|
7594 |
extern void zend_do_exit(znode *result , znode const *message ) ; |
| 7595 |
extern void zend_do_begin_silence(znode *strudel_token ) ; |
|
7595 |
extern void zend_do_begin_silence(znode *strudel_token ) ; |
| 7596 |
extern void zend_do_end_silence(znode const *strudel_token ) ; |
|
7596 |
extern void zend_do_end_silence(znode const *strudel_token ) ; |
| 7597 |
extern void zend_do_jmp_set(znode const *value , znode *jmp_token , |
|
7597 |
extern void zend_do_jmp_set(znode const *value , znode *jmp_token , |
| 7598 |
znode *colon_token ) ; |
|
7598 |
znode *colon_token ) ; |
| 7599 |
extern void zend_do_jmp_set_else(znode *result , znode const *false_value , |
|
7599 |
extern void zend_do_jmp_set_else(znode *result , znode const *false_value , |
| 7600 |
znode const *jmp_token , |
|
7600 |
znode const *jmp_token , |
| 7601 |
znode const *colon_token ) ; |
|
7601 |
znode const *colon_token ) ; |
| 7602 |
extern void zend_do_begin_qm_op(znode const *cond , znode *qm_token ) ; |
|
7602 |
extern void zend_do_begin_qm_op(znode const *cond , znode *qm_token ) ; |
| 7603 |
extern void zend_do_qm_true(znode const *true_value , znode *qm_token , |
|
7603 |
extern void zend_do_qm_true(znode const *true_value , znode *qm_token , |
| 7604 |
znode *colon_token ) ; |
|
7604 |
znode *colon_token ) ; |
| 7605 |
extern void zend_do_qm_false(znode *result , znode const *false_value , |
|
7605 |
extern void zend_do_qm_false(znode *result , znode const *false_value , |
| 7606 |
znode const *qm_token , |
|
7606 |
znode const *qm_token , |
| 7607 |
znode const *colon_token ) ; |
|
7607 |
znode const *colon_token ) ; |
| 7608 |
extern void zend_do_extended_info(void) ; |
|
7608 |
extern void zend_do_extended_info(void) ; |
| 7609 |
extern void zend_do_extended_fcall_begin(void) ; |
|
7609 |
extern void zend_do_extended_fcall_begin(void) ; |
| 7610 |
extern void zend_do_extended_fcall_end(void) ; |
|
7610 |
extern void zend_do_extended_fcall_end(void) ; |
| 7611 |
extern void zend_do_ticks(void) ; |
|
7611 |
extern void zend_do_ticks(void) ; |
| 7612 |
extern void zend_do_abstract_method(znode const *function_name , |
|
7612 |
extern void zend_do_abstract_method(znode const *function_name , |
| 7613 |
znode *modifiers , znode const *body ) ; |
|
7613 |
znode *modifiers , znode const *body ) ; |
| 7614 |
extern void zend_do_declare_constant(znode *name , znode *value ) ; |
|
7614 |
extern void zend_do_declare_constant(znode *name , znode *value ) ; |
| 7615 |
extern void zend_do_build_namespace_name(znode *result , znode *prefix , |
|
7615 |
extern void zend_do_build_namespace_name(znode *result , znode *prefix , |
| 7616 |
znode *name ) ; |
|
7616 |
znode *name ) ; |
| 7617 |
extern void zend_do_begin_namespace(znode const *name , |
|
7617 |
extern void zend_do_begin_namespace(znode const *name , |
| 7618 |
zend_bool with_brackets ) ; |
|
7618 |
zend_bool with_brackets ) ; |
| 7619 |
extern void zend_do_end_namespace(void) ; |
|
7619 |
extern void zend_do_end_namespace(void) ; |
| 7620 |
extern void zend_verify_namespace(void) ; |
|
7620 |
extern void zend_verify_namespace(void) ; |
| 7621 |
extern void zend_do_use(znode *name , znode *new_name , int is_global ) ; |
|
7621 |
extern void zend_do_use(znode *name , znode *new_name , int is_global ) ; |
| 7622 |
extern void zend_do_end_compilation(void) ; |
|
7622 |
extern void zend_do_end_compilation(void) ; |
| 7623 |
extern void zend_do_label(znode *label ) ; |
|
7623 |
extern void zend_do_label(znode *label ) ; |
| 7624 |
extern void zend_do_goto(znode const *label ) ; |
|
7624 |
extern void zend_do_goto(znode const *label ) ; |
| 7625 |
extern void zend_resolve_goto_label(zend_op_array *op_array , zend_op *opline , |
|
7625 |
extern void zend_resolve_goto_label(zend_op_array *op_array , zend_op *opline , |
| 7626 |
int pass2 ) ; |
|
7626 |
int pass2 ) ; |
| 7627 |
extern void zend_release_labels(void) ; |
|
7627 |
extern void zend_release_labels(void) ; |
| 7628 |
extern void __attribute__((__visibility__("default"))) function_add_ref(zend_function *function ) ; |
|
7628 |
extern void __attribute__((__visibility__("default"))) function_add_ref(zend_function *function ) ; |
| 7629 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_file(zend_file_handle *file_handle , |
|
7629 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_file(zend_file_handle *file_handle , |
| 7630 |
int type ) ; |
|
7630 |
int type ) ; |
| 7631 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_string(zval *source_string , |
|
7631 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_string(zval *source_string , |
| 7632 |
char *filename ) ; |
|
7632 |
char *filename ) ; |
| 7633 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_filename(int type , |
|
7633 |
extern zend_op_array __attribute__((__visibility__("default"))) *compile_filename(int type , |
| 7634 |
zval *filename ) ; |
|
7634 |
zval *filename ) ; |
| 7635 |
extern int __attribute__((__visibility__("default"))) zend_execute_scripts(int type , |
|
7635 |
extern int __attribute__((__visibility__("default"))) zend_execute_scripts(int type , |
| 7636 |
zval **retval , |
|
7636 |
zval **retval , |
| 7637 |
int file_count |
|
7637 |
int file_count |
| 7638 |
, ...) ; |
|
7638 |
, ...) ; |
| 7639 |
extern int __attribute__((__visibility__("default"))) open_file_for_scanning(zend_file_handle *file_handle ) ; |
|
7639 |
extern int __attribute__((__visibility__("default"))) open_file_for_scanning(zend_file_handle *file_handle ) ; |
| 7640 |
extern void __attribute__((__visibility__("default"))) init_op_array(zend_op_array *op_array , |
|
7640 |
extern void __attribute__((__visibility__("default"))) init_op_array(zend_op_array *op_array , |
| 7641 |
zend_uchar type , |
|
7641 |
zend_uchar type , |
| 7642 |
int initial_ops_size ) ; |
|
7642 |
int initial_ops_size ) ; |
| 7643 |
extern void __attribute__((__visibility__("default"))) destroy_op_array(zend_op_array *op_array ) ; |
|
7643 |
extern void __attribute__((__visibility__("default"))) destroy_op_array(zend_op_array *op_array ) ; |
| 7644 |
extern void __attribute__((__visibility__("default"))) zend_destroy_file_handle(zend_file_handle *file_handle ) ; |
|
7644 |
extern void __attribute__((__visibility__("default"))) zend_destroy_file_handle(zend_file_handle *file_handle ) ; |
| 7645 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_class_data(zend_class_entry **pce ) ; |
|
7645 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_class_data(zend_class_entry **pce ) ; |
| 7646 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_user_class_data(zend_class_entry **pce ) ; |
|
7646 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_user_class_data(zend_class_entry **pce ) ; |
| 7647 |
extern void __attribute__((__visibility__("default"))) zend_cleanup_internal_class_data(zend_class_entry *ce ) ; |
|
7647 |
extern void __attribute__((__visibility__("default"))) zend_cleanup_internal_class_data(zend_class_entry *ce ) ; |
| 7648 |
extern void __attribute__((__visibility__("default"))) zend_cleanup_internal_classes(void) ; |
|
7648 |
extern void __attribute__((__visibility__("default"))) zend_cleanup_internal_classes(void) ; |
| 7649 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_function_data(zend_function *function ) ; |
|
7649 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_function_data(zend_function *function ) ; |
| 7650 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_function_data_full(zend_function *function ) ; |
|
7650 |
extern int __attribute__((__visibility__("default"))) zend_cleanup_function_data_full(zend_function *function ) ; |
| 7651 |
extern void __attribute__((__visibility__("default"))) destroy_zend_function(zend_function *function ) ; |
|
7651 |
extern void __attribute__((__visibility__("default"))) destroy_zend_function(zend_function *function ) ; |
| 7652 |
extern void __attribute__((__visibility__("default"))) zend_function_dtor(zend_function *function ) ; |
|
7652 |
extern void __attribute__((__visibility__("default"))) zend_function_dtor(zend_function *function ) ; |
| 7653 |
extern void __attribute__((__visibility__("default"))) destroy_zend_class(zend_class_entry **pce ) ; |
|
7653 |
extern void __attribute__((__visibility__("default"))) destroy_zend_class(zend_class_entry **pce ) ; |
| 7654 |
extern void zend_class_add_ref(zend_class_entry **ce ) ; |
|
7654 |
extern void zend_class_add_ref(zend_class_entry **ce ) ; |
| 7655 |
extern void __attribute__((__visibility__("default"))) zend_mangle_property_name(char **dest , |
|
7655 |
extern void __attribute__((__visibility__("default"))) zend_mangle_property_name(char **dest , |
| 7656 |
int *dest_length , |
|
7656 |
int *dest_length , |
| 7657 |
char const *src1 , |
|
7657 |
char const *src1 , |
| 7658 |
int src1_length , |
|
7658 |
int src1_length , |
| 7659 |
char const *src2 , |
|
7659 |
char const *src2 , |
| 7660 |
int src2_length , |
|
7660 |
int src2_length , |
| 7661 |
int internal ) ; |
|
7661 |
int internal ) ; |
| 7662 |
extern int __attribute__((__visibility__("default"))) zend_unmangle_property_name(char *mangled_property , |
|
7662 |
extern int __attribute__((__visibility__("default"))) zend_unmangle_property_name(char *mangled_property , |
| 7663 |
int mangled_property_len , |
|
7663 |
int mangled_property_len , |
| 7664 |
char **class_name , |
|
7664 |
char **class_name , |
| 7665 |
char **prop_name ) ; |
|
7665 |
char **prop_name ) ; |
| 7666 |
extern zend_op *get_next_op(zend_op_array *op_array ) ; |
|
7666 |
extern zend_op *get_next_op(zend_op_array *op_array ) ; |
| 7667 |
extern void init_op(zend_op *op ) ; |
|
7667 |
extern void init_op(zend_op *op ) ; |
| 7668 |
extern int get_next_op_number(zend_op_array *op_array ) ; |
|
7668 |
extern int get_next_op_number(zend_op_array *op_array ) ; |
| 7669 |
extern int print_class(zend_class_entry *class_entry ) ; |
|
7669 |
extern int print_class(zend_class_entry *class_entry ) ; |
| 7670 |
extern void print_op_array(zend_op_array *op_array , int optimizations ) ; |
|
7670 |
extern void print_op_array(zend_op_array *op_array , int optimizations ) ; |
| 7671 |
extern int __attribute__((__visibility__("default"))) pass_two(zend_op_array *op_array ) ; |
|
7671 |
extern int __attribute__((__visibility__("default"))) pass_two(zend_op_array *op_array ) ; |
| 7672 |
extern zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array ) ; |
|
7672 |
extern zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array ) ; |
| 7673 |
extern void zend_do_first_catch(znode *open_parentheses ) ; |
|
7673 |
extern void zend_do_first_catch(znode *open_parentheses ) ; |
| 7674 |
extern void zend_initialize_try_catch_element(znode const *try_token ) ; |
|
7674 |
extern void zend_initialize_try_catch_element(znode const *try_token ) ; |
| 7675 |
extern void zend_do_mark_last_catch(znode const *first_catch , |
|
7675 |
extern void zend_do_mark_last_catch(znode const *first_catch , |
| 7676 |
znode const *last_additional_catch ) ; |
|
7676 |
znode const *last_additional_catch ) ; |
| 7677 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_compiling(void) ; |
|
7677 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_compiling(void) ; |
| 7678 |
extern char __attribute__((__visibility__("default"))) *zend_make_compiled_string_description(char const *name ) ; |
|
7678 |
extern char __attribute__((__visibility__("default"))) *zend_make_compiled_string_description(char const *name ) ; |
| 7679 |
extern void __attribute__((__visibility__("default"))) zend_initialize_class_data(zend_class_entry *ce , |
|
7679 |
extern void __attribute__((__visibility__("default"))) zend_initialize_class_data(zend_class_entry *ce , |
| 7680 |
zend_bool nullify_handlers ) ; |
|
7680 |
zend_bool nullify_handlers ) ; |
| 7681 |
extern int zend_get_class_fetch_type(char const *class_name , |
|
7681 |
extern int zend_get_class_fetch_type(char const *class_name , |
| 7682 |
uint class_name_len ) ; |
|
7682 |
uint class_name_len ) ; |
| 7683 |
extern int __attribute__((__visibility__("default"))) zend_register_auto_global(char const *name , |
|
7683 |
extern int __attribute__((__visibility__("default"))) zend_register_auto_global(char const *name , |
| 7684 |
uint name_len , |
|
7684 |
uint name_len , |
| 7685 |
zend_bool jit , |
|
7685 |
zend_bool jit , |
| 7686 |
zend_bool (*auto_global_callback)(char *name , |
|
7686 |
zend_bool (*auto_global_callback)(char *name , |
| 7687 |
uint name_len ) ) ; |
|
7687 |
uint name_len ) ) ; |
| 7688 |
extern void __attribute__((__visibility__("default"))) zend_activate_auto_globals(void) ; |
|
7688 |
extern void __attribute__((__visibility__("default"))) zend_activate_auto_globals(void) ; |
| 7689 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_auto_global(char const *name , |
|
7689 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_auto_global(char const *name , |
| 7690 |
uint name_len ) ; |
|
7690 |
uint name_len ) ; |
| 7691 |
extern size_t __attribute__((__visibility__("default"))) zend_dirname(char *path , |
|
7691 |
extern size_t __attribute__((__visibility__("default"))) zend_dirname(char *path , |
| 7692 |
size_t len ) ; |
|
7692 |
size_t len ) ; |
| 7693 |
extern int zendlex(znode *zendlval ) ; |
|
7693 |
extern int zendlex(znode *zendlval ) ; |
| 7694 |
extern int zend_add_literal(zend_op_array *op_array , zval const *zv ) ; |
|
7694 |
extern int zend_add_literal(zend_op_array *op_array , zval const *zv ) ; |
| 7695 |
extern HashTable __attribute__((__visibility__("default"))) module_registry ; |
|
7695 |
extern HashTable __attribute__((__visibility__("default"))) module_registry ; |
| 7696 |
extern void module_destructor(zend_module_entry *module ) ; |
|
7696 |
extern void module_destructor(zend_module_entry *module ) ; |
| 7697 |
extern int module_registry_cleanup(zend_module_entry *module ) ; |
|
7697 |
extern int module_registry_cleanup(zend_module_entry *module ) ; |
| 7698 |
extern int module_registry_request_startup(zend_module_entry *module ) ; |
|
7698 |
extern int module_registry_request_startup(zend_module_entry *module ) ; |
| 7699 |
extern int module_registry_unload_temp(zend_module_entry const *module ) ; |
|
7699 |
extern int module_registry_unload_temp(zend_module_entry const *module ) ; |
| 7700 |
extern int __attribute__((__visibility__("default"))) zend_register_list_destructors(void (*ld)(void * ) , |
|
7700 |
extern int __attribute__((__visibility__("default"))) zend_register_list_destructors(void (*ld)(void * ) , |
| 7701 |
void (*pld)(void * ) , |
|
7701 |
void (*pld)(void * ) , |
| 7702 |
int module_number ) ; |
|
7702 |
int module_number ) ; |
| 7703 |
extern int __attribute__((__visibility__("default"))) zend_register_list_destructors_ex(void (*ld)(zend_rsrc_list_entry *rsrc ) , |
|
7703 |
extern int __attribute__((__visibility__("default"))) zend_register_list_destructors_ex(void (*ld)(zend_rsrc_list_entry *rsrc ) , |
| 7704 |
void (*pld)(zend_rsrc_list_entry *rsrc ) , |
|
7704 |
void (*pld)(zend_rsrc_list_entry *rsrc ) , |
| 7705 |
char const *type_name , |
|
7705 |
char const *type_name , |
| 7706 |
int module_number ) ; |
|
7706 |
int module_number ) ; |
| 7707 |
extern void list_entry_destructor(void *ptr ) ; |
|
7707 |
extern void list_entry_destructor(void *ptr ) ; |
| 7708 |
extern void plist_entry_destructor(void *ptr ) ; |
|
7708 |
extern void plist_entry_destructor(void *ptr ) ; |
| 7709 |
extern void zend_clean_module_rsrc_dtors(int module_number ) ; |
|
7709 |
extern void zend_clean_module_rsrc_dtors(int module_number ) ; |
| 7710 |
extern int zend_init_rsrc_list(void) ; |
|
7710 |
extern int zend_init_rsrc_list(void) ; |
| 7711 |
extern int zend_init_rsrc_plist(void) ; |
|
7711 |
extern int zend_init_rsrc_plist(void) ; |
| 7712 |
extern void zend_destroy_rsrc_list(HashTable *ht ) ; |
|
7712 |
extern void zend_destroy_rsrc_list(HashTable *ht ) ; |
| 7713 |
extern int zend_init_rsrc_list_dtors(void) ; |
|
7713 |
extern int zend_init_rsrc_list_dtors(void) ; |
| 7714 |
extern void zend_destroy_rsrc_list_dtors(void) ; |
|
7714 |
extern void zend_destroy_rsrc_list_dtors(void) ; |
| 7715 |
extern int __attribute__((__visibility__("default"))) zend_list_insert(void *ptr , |
|
7715 |
extern int __attribute__((__visibility__("default"))) zend_list_insert(void *ptr , |
| 7716 |
int type ) ; |
|
7716 |
int type ) ; |
| 7717 |
extern int __attribute__((__visibility__("default"))) _zend_list_addref(int id ) ; |
|
7717 |
extern int __attribute__((__visibility__("default"))) _zend_list_addref(int id ) ; |
| 7718 |
extern int __attribute__((__visibility__("default"))) _zend_list_delete(int id ) ; |
|
7718 |
extern int __attribute__((__visibility__("default"))) _zend_list_delete(int id ) ; |
| 7719 |
extern void __attribute__((__visibility__("default"))) *_zend_list_find(int id , |
|
7719 |
extern void __attribute__((__visibility__("default"))) *_zend_list_find(int id , |
| 7720 |
int *type ) ; |
|
7720 |
int *type ) ; |
| 7721 |
extern int __attribute__((__visibility__("default"))) zend_register_resource(zval *rsrc_result , |
|
7721 |
extern int __attribute__((__visibility__("default"))) zend_register_resource(zval *rsrc_result , |
| 7722 |
void *rsrc_pointer , |
|
7722 |
void *rsrc_pointer , |
| 7723 |
int rsrc_type ) ; |
|
7723 |
int rsrc_type ) ; |
| 7724 |
extern void __attribute__((__visibility__("default"))) *zend_fetch_resource(zval **passed_id , |
|
7724 |
extern void __attribute__((__visibility__("default"))) *zend_fetch_resource(zval **passed_id , |
| 7725 |
int default_id , |
|
7725 |
int default_id , |
| 7726 |
char const *resource_type_name , |
|
7726 |
char const *resource_type_name , |
| 7727 |
int *found_resource_type , |
|
7727 |
int *found_resource_type , |
| 7728 |
int num_resource_types |
|
7728 |
int num_resource_types |
| 7729 |
, ...) ; |
|
7729 |
, ...) ; |
| 7730 |
extern char const __attribute__((__visibility__("default"))) *zend_rsrc_list_get_rsrc_type(int resource ) ; |
|
7730 |
extern char const __attribute__((__visibility__("default"))) *zend_rsrc_list_get_rsrc_type(int resource ) ; |
| 7731 |
extern int __attribute__((__visibility__("default"))) zend_fetch_list_dtor_id(char *type_name ) ; |
|
7731 |
extern int __attribute__((__visibility__("default"))) zend_fetch_list_dtor_id(char *type_name ) ; |
| 7732 |
extern int __attribute__((__visibility__("default"))) le_index_ptr ; |
|
7732 |
extern int __attribute__((__visibility__("default"))) le_index_ptr ; |
| 7733 |
extern void __attribute__((__visibility__("default"))) (*zend_execute)(zend_op_array *op_array ) ; |
|
7733 |
extern void __attribute__((__visibility__("default"))) (*zend_execute)(zend_op_array *op_array ) ; |
| 7734 |
extern void __attribute__((__visibility__("default"))) (*zend_execute_internal)(zend_execute_data *execute_data_ptr , |
|
7734 |
extern void __attribute__((__visibility__("default"))) (*zend_execute_internal)(zend_execute_data *execute_data_ptr , |
| 7735 |
int return_value_used ) ; |
|
7735 |
int return_value_used ) ; |
| 7736 |
extern void init_executor(void) ; |
|
7736 |
extern void init_executor(void) ; |
| 7737 |
extern void shutdown_executor(void) ; |
|
7737 |
extern void shutdown_executor(void) ; |
| 7738 |
extern void shutdown_destructors(void) ; |
|
7738 |
extern void shutdown_destructors(void) ; |
| 7739 |
extern void __attribute__((__visibility__("default"))) execute(zend_op_array *op_array ) ; |
|
7739 |
extern void __attribute__((__visibility__("default"))) execute(zend_op_array *op_array ) ; |
| 7740 |
extern void __attribute__((__visibility__("default"))) execute_internal(zend_execute_data *execute_data_ptr , |
|
7740 |
extern void __attribute__((__visibility__("default"))) execute_internal(zend_execute_data *execute_data_ptr , |
| 7741 |
int return_value_used ) ; |
|
7741 |
int return_value_used ) ; |
| 7742 |
extern int __attribute__((__visibility__("default"))) zend_is_true(zval *op ) ; |
|
7742 |
extern int __attribute__((__visibility__("default"))) zend_is_true(zval *op ) ; |
| 7743 |
__inline static void ( __attribute__((__always_inline__)) safe_free_zval_ptr_rel)(zval *p ) |
|
7743 |
__inline static void ( __attribute__((__always_inline__)) safe_free_zval_ptr_rel)(zval *p ) |
| 7744 |
{ |
|
7744 |
{ |
| 7745 |
|
|
7745 |
|
| 7746 |
|
|
7746 |
|
| 7747 |
{ |
|
7747 |
{ |
| 7748 |
if ((unsigned int )p != (unsigned int )executor_globals.uninitialized_zval_ptr) { |
|
7748 |
if ((unsigned int )p != (unsigned int )executor_globals.uninitialized_zval_ptr) { |
| 7749 |
while (1) { |
|
7749 |
while (1) { |
| 7750 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)p)->u.buffered & 4294967292UL)) { |
|
7750 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)p)->u.buffered & 4294967292UL)) { |
| 7751 |
gc_remove_zval_from_buffer(p); |
|
7751 |
gc_remove_zval_from_buffer(p); |
| 7752 |
} else { |
|
7752 |
} else { |
| 7753 |
|
|
7753 |
|
| 7754 |
} |
|
7754 |
} |
| 7755 |
_efree((void *)p); |
|
7755 |
_efree((void *)p); |
| 7756 |
break; |
|
7756 |
break; |
| 7757 |
} |
|
7757 |
} |
| 7758 |
} else { |
|
7758 |
} else { |
| 7759 |
|
|
7759 |
|
| 7760 |
} |
|
7760 |
} |
| 7761 |
return; |
|
7761 |
return; |
| 7762 |
} |
|
7762 |
} |
| 7763 |
} |
|
7763 |
} |
| 7764 |
extern int __attribute__((__visibility__("default"))) zend_lookup_class(char const *name , |
|
7764 |
extern int __attribute__((__visibility__("default"))) zend_lookup_class(char const *name , |
| 7765 |
int name_length , |
|
7765 |
int name_length , |
| 7766 |
zend_class_entry ***ce ) ; |
|
7766 |
zend_class_entry ***ce ) ; |
| 7767 |
extern int __attribute__((__visibility__("default"))) zend_lookup_class_ex(char const *name , |
|
7767 |
extern int __attribute__((__visibility__("default"))) zend_lookup_class_ex(char const *name , |
| 7768 |
int name_length , |
|
7768 |
int name_length , |
| 7769 |
zend_literal const *key , |
|
7769 |
zend_literal const *key , |
| 7770 |
int use_autoload , |
|
7770 |
int use_autoload , |
| 7771 |
zend_class_entry ***ce ) ; |
|
7771 |
zend_class_entry ***ce ) ; |
| 7772 |
extern int __attribute__((__visibility__("default"))) zend_eval_string(char *str , |
|
7772 |
extern int __attribute__((__visibility__("default"))) zend_eval_string(char *str , |
| 7773 |
zval *retval_ptr , |
|
7773 |
zval *retval_ptr , |
| 7774 |
char *string_name ) ; |
|
7774 |
char *string_name ) ; |
| 7775 |
extern int __attribute__((__visibility__("default"))) zend_eval_stringl(char *str , |
|
7775 |
extern int __attribute__((__visibility__("default"))) zend_eval_stringl(char *str , |
| 7776 |
int str_len , |
|
7776 |
int str_len , |
| 7777 |
zval *retval_ptr , |
|
7777 |
zval *retval_ptr , |
| 7778 |
char *string_name ) ; |
|
7778 |
char *string_name ) ; |
| 7779 |
extern int __attribute__((__visibility__("default"))) zend_eval_string_ex(char *str , |
|
7779 |
extern int __attribute__((__visibility__("default"))) zend_eval_string_ex(char *str , |
| 7780 |
zval *retval_ptr , |
|
7780 |
zval *retval_ptr , |
| 7781 |
char *string_name , |
|
7781 |
char *string_name , |
| 7782 |
int handle_exceptions ) ; |
|
7782 |
int handle_exceptions ) ; |
| 7783 |
extern int __attribute__((__visibility__("default"))) zend_eval_stringl_ex(char *str , |
|
7783 |
extern int __attribute__((__visibility__("default"))) zend_eval_stringl_ex(char *str , |
| 7784 |
int str_len , |
|
7784 |
int str_len , |
| 7785 |
zval *retval_ptr , |
|
7785 |
zval *retval_ptr , |
| 7786 |
char *string_name , |
|
7786 |
char *string_name , |
| 7787 |
int handle_exceptions ) ; |
|
7787 |
int handle_exceptions ) ; |
| 7788 |
extern char __attribute__((__visibility__("default"))) *zend_verify_arg_class_kind(zend_arg_info const *cur_arg_info , |
|
7788 |
extern char __attribute__((__visibility__("default"))) *zend_verify_arg_class_kind(zend_arg_info const *cur_arg_info , |
| 7789 |
ulong fetch_type , |
|
7789 |
ulong fetch_type , |
| 7790 |
char const **class_name , |
|
7790 |
char const **class_name , |
| 7791 |
zend_class_entry **pce ) ; |
|
7791 |
zend_class_entry **pce ) ; |
| 7792 |
extern int __attribute__((__visibility__("default"))) zend_verify_arg_error(int error_type , |
|
7792 |
extern int __attribute__((__visibility__("default"))) zend_verify_arg_error(int error_type , |
| 7793 |
zend_function const *zf , |
|
7793 |
zend_function const *zf , |
| 7794 |
zend_uint arg_num , |
|
7794 |
zend_uint arg_num , |
| 7795 |
char const *need_msg , |
|
7795 |
char const *need_msg , |
| 7796 |
char const *need_kind , |
|
7796 |
char const *need_kind , |
| 7797 |
char const *given_msg , |
|
7797 |
char const *given_msg , |
| 7798 |
char *given_kind ) ; |
|
7798 |
char *given_kind ) ; |
| 7799 |
__inline static void ( __attribute__((__always_inline__)) i_zval_ptr_dtor)(zval *zval_ptr ) |
|
7799 |
__inline static void ( __attribute__((__always_inline__)) i_zval_ptr_dtor)(zval *zval_ptr ) |
| 7800 |
{ |
|
7800 |
{ |
| 7801 |
zend_uint tmp ; |
|
7801 |
zend_uint tmp ; |
| 7802 |
zend_uint tmp___0 ; |
|
7802 |
zend_uint tmp___0 ; |
| 7803 |
|
|
7803 |
|
| 7804 |
{ |
|
7804 |
{ |
| 7805 |
tmp___0 = zval_delref_p(zval_ptr); |
|
7805 |
tmp___0 = zval_delref_p(zval_ptr); |
| 7806 |
if (tmp___0) { |
|
7806 |
if (tmp___0) { |
| 7807 |
tmp = zval_refcount_p(zval_ptr); |
|
7807 |
tmp = zval_refcount_p(zval_ptr); |
| 7808 |
if (tmp == 1U) { |
|
7808 |
if (tmp == 1U) { |
| 7809 |
zval_unset_isref_p(zval_ptr); |
|
7809 |
zval_unset_isref_p(zval_ptr); |
| 7810 |
} else { |
|
7810 |
} else { |
| 7811 |
|
|
7811 |
|
| 7812 |
} |
|
7812 |
} |
| 7813 |
gc_zval_check_possible_root(zval_ptr); |
|
7813 |
gc_zval_check_possible_root(zval_ptr); |
| 7814 |
} else |
|
7814 |
} else |
| 7815 |
if ((unsigned int )zval_ptr != (unsigned int )(& executor_globals.uninitialized_zval)) { |
|
7815 |
if ((unsigned int )zval_ptr != (unsigned int )(& executor_globals.uninitialized_zval)) { |
| 7816 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)zval_ptr)->u.buffered & 4294967292UL)) { |
|
7816 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)zval_ptr)->u.buffered & 4294967292UL)) { |
| 7817 |
gc_remove_zval_from_buffer(zval_ptr); |
|
7817 |
gc_remove_zval_from_buffer(zval_ptr); |
| 7818 |
} else { |
|
7818 |
} else { |
| 7819 |
|
|
7819 |
|
| 7820 |
} |
|
7820 |
} |
| 7821 |
_zval_dtor(zval_ptr); |
|
7821 |
_zval_dtor(zval_ptr); |
| 7822 |
_efree((void *)zval_ptr); |
|
7822 |
_efree((void *)zval_ptr); |
| 7823 |
} else { |
|
7823 |
} else { |
| 7824 |
|
|
7824 |
|
| 7825 |
} |
|
7825 |
} |
| 7826 |
return; |
|
7826 |
return; |
| 7827 |
} |
|
7827 |
} |
| 7828 |
} |
|
7828 |
} |
| 7829 |
__inline static int ( __attribute__((__always_inline__)) i_zend_is_true)(zval *op ) |
|
7829 |
__inline static int ( __attribute__((__always_inline__)) i_zend_is_true)(zval *op ) |
| 7830 |
{ |
|
7830 |
{ |
| 7831 |
int result ; |
|
7831 |
int result ; |
| 7832 |
int __attribute__((__visibility__("default"))) tmp ; |
|
7832 |
int __attribute__((__visibility__("default"))) tmp ; |
| 7833 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
7833 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 7834 |
zval tmp___1 ; |
|
7834 |
zval tmp___1 ; |
| 7835 |
int tmp___2 ; |
|
7835 |
int tmp___2 ; |
| 7836 |
zval *tmp___3 ; |
|
7836 |
zval *tmp___3 ; |
| 7837 |
zval *tmp___4 ; |
|
7837 |
zval *tmp___4 ; |
| 7838 |
|
|
7838 |
|
| 7839 |
{ |
|
7839 |
{ |
| 7840 |
switch ((int )op->type) { |
|
7840 |
switch ((int )op->type) { |
| 7841 |
case 0: |
|
7841 |
case 0: |
| 7842 |
result = 0; |
|
7842 |
result = 0; |
| 7843 |
break; |
|
7843 |
break; |
| 7844 |
case 7: |
|
7844 |
case 7: |
| 7845 |
case 3: |
|
7845 |
case 3: |
| 7846 |
case 1: |
|
7846 |
case 1: |
| 7847 |
if (op->value.lval) { |
|
7847 |
if (op->value.lval) { |
| 7848 |
result = 1; |
|
7848 |
result = 1; |
| 7849 |
} else { |
|
7849 |
} else { |
| 7850 |
result = 0; |
|
7850 |
result = 0; |
| 7851 |
} |
|
7851 |
} |
| 7852 |
break; |
|
7852 |
break; |
| 7853 |
case 2: |
|
7853 |
case 2: |
| 7854 |
if (op->value.dval) { |
|
7854 |
if (op->value.dval) { |
| 7855 |
result = 1; |
|
7855 |
result = 1; |
| 7856 |
} else { |
|
7856 |
} else { |
| 7857 |
result = 0; |
|
7857 |
result = 0; |
| 7858 |
} |
|
7858 |
} |
| 7859 |
break; |
|
7859 |
break; |
| 7860 |
case 6: |
|
7860 |
case 6: |
| 7861 |
if (op->value.str.len == 0) { |
|
7861 |
if (op->value.str.len == 0) { |
| 7862 |
result = 0; |
|
7862 |
result = 0; |
| 7863 |
} else |
|
7863 |
} else |
| 7864 |
if (op->value.str.len == 1) { |
|
7864 |
if (op->value.str.len == 1) { |
| 7865 |
if ((int )*(op->value.str.val + 0) == 48) { |
|
7865 |
if ((int )*(op->value.str.val + 0) == 48) { |
| 7866 |
result = 0; |
|
7866 |
result = 0; |
| 7867 |
} else { |
|
7867 |
} else { |
| 7868 |
result = 1; |
|
7868 |
result = 1; |
| 7869 |
} |
|
7869 |
} |
| 7870 |
} else { |
|
7870 |
} else { |
| 7871 |
result = 1; |
|
7871 |
result = 1; |
| 7872 |
} |
|
7872 |
} |
| 7873 |
break; |
|
7873 |
break; |
| 7874 |
case 4: |
|
7874 |
case 4: |
| 7875 |
tmp___0 = zend_hash_num_elements((HashTable const *)op->value.ht); |
|
7875 |
tmp___0 = zend_hash_num_elements((HashTable const *)op->value.ht); |
| 7876 |
if (tmp___0) { |
|
7876 |
if (tmp___0) { |
| 7877 |
result = 1; |
|
7877 |
result = 1; |
| 7878 |
} else { |
|
7878 |
} else { |
| 7879 |
result = 0; |
|
7879 |
result = 0; |
| 7880 |
} |
|
7880 |
} |
| 7881 |
break; |
|
7881 |
break; |
| 7882 |
case 5: |
|
7882 |
case 5: |
| 7883 |
if ((int )op->type == 5) { |
|
7883 |
if ((int )op->type == 5) { |
| 7884 |
if ((unsigned int )(op->value.obj.handlers)->get_class_entry != (unsigned int )((void *)0)) { |
|
7884 |
if ((unsigned int )(op->value.obj.handlers)->get_class_entry != (unsigned int )((void *)0)) { |
| 7885 |
if ((op->value.obj.handlers)->cast_object) { |
|
7885 |
if ((op->value.obj.handlers)->cast_object) { |
| 7886 |
tmp___2 = (*((op->value.obj.handlers)->cast_object))(op, & tmp___1, 3); |
|
7886 |
tmp___2 = (*((op->value.obj.handlers)->cast_object))(op, & tmp___1, 3); |
| 7887 |
if (tmp___2 == 0) { |
|
7887 |
if (tmp___2 == 0) { |
| 7888 |
result = (int )tmp___1.value.lval; |
|
7888 |
result = (int )tmp___1.value.lval; |
| 7889 |
break; |
|
7889 |
break; |
| 7890 |
} else { |
|
7890 |
} else { |
| 7891 |
|
|
7891 |
|
| 7892 |
} |
|
7892 |
} |
| 7893 |
} else |
|
7893 |
} else |
| 7894 |
if ((op->value.obj.handlers)->get) { |
|
7894 |
if ((op->value.obj.handlers)->get) { |
| 7895 |
tmp___4 = (*((op->value.obj.handlers)->get))(op); |
|
7895 |
tmp___4 = (*((op->value.obj.handlers)->get))(op); |
| 7896 |
tmp___3 = tmp___4; |
|
7896 |
tmp___3 = tmp___4; |
| 7897 |
if ((int )tmp___3->type != 5) { |
|
7897 |
if ((int )tmp___3->type != 5) { |
| 7898 |
convert_to_boolean(tmp___3); |
|
7898 |
convert_to_boolean(tmp___3); |
| 7899 |
result = (int )tmp___3->value.lval; |
|
7899 |
result = (int )tmp___3->value.lval; |
| 7900 |
_zval_ptr_dtor(& tmp___3); |
|
7900 |
_zval_ptr_dtor(& tmp___3); |
| 7901 |
break; |
|
7901 |
break; |
| 7902 |
} else { |
|
7902 |
} else { |
| 7903 |
|
|
7903 |
|
| 7904 |
} |
|
7904 |
} |
| 7905 |
} else { |
|
7905 |
} else { |
| 7906 |
|
|
7906 |
|
| 7907 |
} |
|
7907 |
} |
| 7908 |
} else { |
|
7908 |
} else { |
| 7909 |
|
|
7909 |
|
| 7910 |
} |
|
7910 |
} |
| 7911 |
} else { |
|
7911 |
} else { |
| 7912 |
|
|
7912 |
|
| 7913 |
} |
|
7913 |
} |
| 7914 |
result = 1; |
|
7914 |
result = 1; |
| 7915 |
break; |
|
7915 |
break; |
| 7916 |
default: |
|
7916 |
default: |
| 7917 |
result = 0; |
|
7917 |
result = 0; |
| 7918 |
break; |
|
7918 |
break; |
| 7919 |
} |
|
7919 |
} |
| 7920 |
return (result); |
|
7920 |
return (result); |
| 7921 |
} |
|
7921 |
} |
| 7922 |
} |
|
7922 |
} |
| 7923 |
extern int __attribute__((__visibility__("default"))) zval_update_constant(zval **pp , |
|
7923 |
extern int __attribute__((__visibility__("default"))) zval_update_constant(zval **pp , |
| 7924 |
void *arg ) ; |
|
7924 |
void *arg ) ; |
| 7925 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_inline_change(zval **pp , |
|
7925 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_inline_change(zval **pp , |
| 7926 |
void *arg ) ; |
|
7926 |
void *arg ) ; |
| 7927 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_no_inline_change(zval **pp , |
|
7927 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_no_inline_change(zval **pp , |
| 7928 |
void *arg ) ; |
|
7928 |
void *arg ) ; |
| 7929 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_ex(zval **pp , |
|
7929 |
extern int __attribute__((__visibility__("default"))) zval_update_constant_ex(zval **pp , |
| 7930 |
void *arg , |
|
7930 |
void *arg , |
| 7931 |
zend_class_entry *scope ) ; |
|
7931 |
zend_class_entry *scope ) ; |
| 7932 |
__inline static zend_vm_stack ( __attribute__((__always_inline__)) zend_vm_stack_new_page)(int count ) |
|
7932 |
__inline static zend_vm_stack ( __attribute__((__always_inline__)) zend_vm_stack_new_page)(int count ) |
| 7933 |
{ |
|
7933 |
{ |
| 7934 |
zend_vm_stack page ; |
|
7934 |
zend_vm_stack page ; |
| 7935 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
7935 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 7936 |
|
|
7936 |
|
| 7937 |
{ |
|
7937 |
{ |
| 7938 |
tmp = _emalloc((((sizeof(*page) + 4U) - 1U) & 4294967292U) + sizeof(void *) * (unsigned int )count); |
|
7938 |
tmp = _emalloc((((sizeof(*page) + 4U) - 1U) & 4294967292U) + sizeof(void *) * (unsigned int )count); |
| 7939 |
page = (zend_vm_stack )tmp; |
|
7939 |
page = (zend_vm_stack )tmp; |
| 7940 |
page->top = (void **)((char *)page + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)); |
|
7940 |
page->top = (void **)((char *)page + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)); |
| 7941 |
page->end = page->top + count; |
|
7941 |
page->end = page->top + count; |
| 7942 |
page->prev = (zend_vm_stack )((void *)0); |
|
7942 |
page->prev = (zend_vm_stack )((void *)0); |
| 7943 |
return (page); |
|
7943 |
return (page); |
| 7944 |
} |
|
7944 |
} |
| 7945 |
} |
|
7945 |
} |
| 7946 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_init)(void) |
|
7946 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_init)(void) |
| 7947 |
{ |
|
7947 |
{ |
| 7948 |
|
|
7948 |
|
| 7949 |
|
|
7949 |
|
| 7950 |
{ |
|
7950 |
{ |
| 7951 |
executor_globals.argument_stack = zend_vm_stack_new_page(16368); |
|
7951 |
executor_globals.argument_stack = zend_vm_stack_new_page(16368); |
| 7952 |
return; |
|
7952 |
return; |
| 7953 |
} |
|
7953 |
} |
| 7954 |
} |
|
7954 |
} |
| 7955 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_destroy)(void) |
|
7955 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_destroy)(void) |
| 7956 |
{ |
|
7956 |
{ |
| 7957 |
zend_vm_stack stack ; |
|
7957 |
zend_vm_stack stack ; |
| 7958 |
zend_vm_stack p ; |
|
7958 |
zend_vm_stack p ; |
| 7959 |
|
|
7959 |
|
| 7960 |
{ |
|
7960 |
{ |
| 7961 |
stack = executor_globals.argument_stack; |
|
7961 |
stack = executor_globals.argument_stack; |
| 7962 |
while ((unsigned int )stack != (unsigned int )((void *)0)) { |
|
7962 |
while ((unsigned int )stack != (unsigned int )((void *)0)) { |
| 7963 |
p = stack->prev; |
|
7963 |
p = stack->prev; |
| 7964 |
_efree((void *)stack); |
|
7964 |
_efree((void *)stack); |
| 7965 |
stack = p; |
|
7965 |
stack = p; |
| 7966 |
} |
|
7966 |
} |
| 7967 |
return; |
|
7967 |
return; |
| 7968 |
} |
|
7968 |
} |
| 7969 |
} |
|
7969 |
} |
| 7970 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_extend)(int count ) |
|
7970 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_extend)(int count ) |
| 7971 |
{ |
|
7971 |
{ |
| 7972 |
zend_vm_stack p ; |
|
7972 |
zend_vm_stack p ; |
| 7973 |
int tmp ; |
|
7973 |
int tmp ; |
| 7974 |
zend_vm_stack tmp___0 ; |
|
7974 |
zend_vm_stack tmp___0 ; |
| 7975 |
|
|
7975 |
|
| 7976 |
{ |
|
7976 |
{ |
| 7977 |
if (count >= 16368) { |
|
7977 |
if (count >= 16368) { |
| 7978 |
tmp = count; |
|
7978 |
tmp = count; |
| 7979 |
} else { |
|
7979 |
} else { |
| 7980 |
tmp = 16368; |
|
7980 |
tmp = 16368; |
| 7981 |
} |
|
7981 |
} |
| 7982 |
tmp___0 = zend_vm_stack_new_page(tmp); |
|
7982 |
tmp___0 = zend_vm_stack_new_page(tmp); |
| 7983 |
p = tmp___0; |
|
7983 |
p = tmp___0; |
| 7984 |
p->prev = executor_globals.argument_stack; |
|
7984 |
p->prev = executor_globals.argument_stack; |
| 7985 |
executor_globals.argument_stack = p; |
|
7985 |
executor_globals.argument_stack = p; |
| 7986 |
return; |
|
7986 |
return; |
| 7987 |
} |
|
7987 |
} |
| 7988 |
} |
|
7988 |
} |
| 7989 |
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_top)(void) |
|
7989 |
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_top)(void) |
| 7990 |
{ |
|
7990 |
{ |
| 7991 |
|
|
7991 |
|
| 7992 |
|
|
7992 |
|
| 7993 |
{ |
|
7993 |
{ |
| 7994 |
return ((executor_globals.argument_stack)->top); |
|
7994 |
return ((executor_globals.argument_stack)->top); |
| 7995 |
} |
|
7995 |
} |
| 7996 |
} |
|
7996 |
} |
| 7997 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push)(void *ptr ) |
|
7997 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push)(void *ptr ) |
| 7998 |
{ |
|
7998 |
{ |
| 7999 |
long tmp ; |
|
7999 |
long tmp ; |
| 8000 |
void **tmp___0 ; |
|
8000 |
void **tmp___0 ; |
| 8001 |
|
|
8001 |
|
| 8002 |
{ |
|
8002 |
{ |
| 8003 |
while (1) { |
|
8003 |
while (1) { |
| 8004 |
tmp = __builtin_expect((long )(1 > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), |
|
8004 |
tmp = __builtin_expect((long )(1 > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), |
| 8005 |
0L); |
|
8005 |
0L); |
| 8006 |
if (tmp) { |
|
8006 |
if (tmp) { |
| 8007 |
zend_vm_stack_extend(1); |
|
8007 |
zend_vm_stack_extend(1); |
| 8008 |
} else { |
|
8008 |
} else { |
| 8009 |
|
|
8009 |
|
| 8010 |
} |
|
8010 |
} |
| 8011 |
break; |
|
8011 |
break; |
| 8012 |
} |
|
8012 |
} |
| 8013 |
tmp___0 = (executor_globals.argument_stack)->top; |
|
8013 |
tmp___0 = (executor_globals.argument_stack)->top; |
| 8014 |
((executor_globals.argument_stack)->top) ++; |
|
8014 |
((executor_globals.argument_stack)->top) ++; |
| 8015 |
*tmp___0 = ptr; |
|
8015 |
*tmp___0 = ptr; |
| 8016 |
return; |
|
8016 |
return; |
| 8017 |
} |
|
8017 |
} |
| 8018 |
} |
|
8018 |
} |
| 8019 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push_nocheck)(void *ptr ) |
|
8019 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_push_nocheck)(void *ptr ) |
| 8020 |
{ |
|
8020 |
{ |
| 8021 |
void **tmp ; |
|
8021 |
void **tmp ; |
| 8022 |
|
|
8022 |
|
| 8023 |
{ |
|
8023 |
{ |
| 8024 |
tmp = (executor_globals.argument_stack)->top; |
|
8024 |
tmp = (executor_globals.argument_stack)->top; |
| 8025 |
((executor_globals.argument_stack)->top) ++; |
|
8025 |
((executor_globals.argument_stack)->top) ++; |
| 8026 |
*tmp = ptr; |
|
8026 |
*tmp = ptr; |
| 8027 |
return; |
|
8027 |
return; |
| 8028 |
} |
|
8028 |
} |
| 8029 |
} |
|
8029 |
} |
| 8030 |
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_pop)(void) |
|
8030 |
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_pop)(void) |
| 8031 |
{ |
|
8031 |
{ |
| 8032 |
void *el ; |
|
8032 |
void *el ; |
| 8033 |
zend_vm_stack p ; |
|
8033 |
zend_vm_stack p ; |
| 8034 |
long tmp ; |
|
8034 |
long tmp ; |
| 8035 |
|
|
8035 |
|
| 8036 |
{ |
|
8036 |
{ |
| 8037 |
((executor_globals.argument_stack)->top) --; |
|
8037 |
((executor_globals.argument_stack)->top) --; |
| 8038 |
el = *((executor_globals.argument_stack)->top); |
|
8038 |
el = *((executor_globals.argument_stack)->top); |
| 8039 |
tmp = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), |
|
8039 |
tmp = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), |
| 8040 |
0L); |
|
8040 |
0L); |
| 8041 |
if (tmp) { |
|
8041 |
if (tmp) { |
| 8042 |
p = executor_globals.argument_stack; |
|
8042 |
p = executor_globals.argument_stack; |
| 8043 |
executor_globals.argument_stack = p->prev; |
|
8043 |
executor_globals.argument_stack = p->prev; |
| 8044 |
_efree((void *)p); |
|
8044 |
_efree((void *)p); |
| 8045 |
} else { |
|
8045 |
} else { |
| 8046 |
|
|
8046 |
|
| 8047 |
} |
|
8047 |
} |
| 8048 |
return (el); |
|
8048 |
return (el); |
| 8049 |
} |
|
8049 |
} |
| 8050 |
} |
|
8050 |
} |
| 8051 |
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_alloc)(size_t size ) |
|
8051 |
__inline static void *( __attribute__((__always_inline__)) zend_vm_stack_alloc)(size_t size ) |
| 8052 |
{ |
|
8052 |
{ |
| 8053 |
void *ret ; |
|
8053 |
void *ret ; |
| 8054 |
int extra ; |
|
8054 |
int extra ; |
| 8055 |
void **old_top ; |
|
8055 |
void **old_top ; |
| 8056 |
long tmp ; |
|
8056 |
long tmp ; |
| 8057 |
long tmp___0 ; |
|
8057 |
long tmp___0 ; |
| 8058 |
|
|
8058 |
|
| 8059 |
{ |
|
8059 |
{ |
| 8060 |
size = (size + (sizeof(void *) - 1U)) / sizeof(void *); |
|
8060 |
size = (size + (sizeof(void *) - 1U)) / sizeof(void *); |
| 8061 |
if (4U > sizeof(void *)) { |
|
8061 |
if (4U > sizeof(void *)) { |
| 8062 |
extra = (int )((4UL - ((zend_uintptr_t )(executor_globals.argument_stack)->top & 3UL)) / (unsigned long )sizeof(void *)); |
|
8062 |
extra = (int )((4UL - ((zend_uintptr_t )(executor_globals.argument_stack)->top & 3UL)) / (unsigned long )sizeof(void *)); |
| 8063 |
tmp = __builtin_expect((long )((zend_uintptr_t )((size + (size_t )extra) + (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *)) > (zend_uintptr_t )((executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top)), |
|
8063 |
tmp = __builtin_expect((long )((zend_uintptr_t )((size + (size_t )extra) + (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *)) > (zend_uintptr_t )((executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top)), |
| 8064 |
0L); |
|
8064 |
0L); |
| 8065 |
if (tmp) { |
|
8065 |
if (tmp) { |
| 8066 |
zend_vm_stack_extend((int )size); |
|
8066 |
zend_vm_stack_extend((int )size); |
| 8067 |
} else { |
|
8067 |
} else { |
| 8068 |
old_top = (executor_globals.argument_stack)->top; |
|
8068 |
old_top = (executor_globals.argument_stack)->top; |
| 8069 |
(executor_globals.argument_stack)->top += extra; |
|
8069 |
(executor_globals.argument_stack)->top += extra; |
| 8070 |
*((executor_globals.argument_stack)->top) = (void *)old_top; |
|
8070 |
*((executor_globals.argument_stack)->top) = (void *)old_top; |
| 8071 |
(executor_globals.argument_stack)->top += (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *); |
|
8071 |
(executor_globals.argument_stack)->top += (((sizeof(void *) + 4U) - 1U) & 4294967292U) / sizeof(void *); |
| 8072 |
} |
|
8072 |
} |
| 8073 |
} else { |
|
8073 |
} else { |
| 8074 |
while (1) { |
|
8074 |
while (1) { |
| 8075 |
tmp___0 = __builtin_expect((long )((int )size > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), |
|
8075 |
tmp___0 = __builtin_expect((long )((int )size > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top), |
| 8076 |
0L); |
|
8076 |
0L); |
| 8077 |
if (tmp___0) { |
|
8077 |
if (tmp___0) { |
| 8078 |
zend_vm_stack_extend((int )size); |
|
8078 |
zend_vm_stack_extend((int )size); |
| 8079 |
} else { |
|
8079 |
} else { |
| 8080 |
|
|
8080 |
|
| 8081 |
} |
|
8081 |
} |
| 8082 |
break; |
|
8082 |
break; |
| 8083 |
} |
|
8083 |
} |
| 8084 |
} |
|
8084 |
} |
| 8085 |
ret = (void *)(executor_globals.argument_stack)->top; |
|
8085 |
ret = (void *)(executor_globals.argument_stack)->top; |
| 8086 |
(executor_globals.argument_stack)->top += size; |
|
8086 |
(executor_globals.argument_stack)->top += size; |
| 8087 |
return (ret); |
|
8087 |
return (ret); |
| 8088 |
} |
|
8088 |
} |
| 8089 |
} |
|
8089 |
} |
| 8090 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free_int)(void *ptr ) |
|
8090 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free_int)(void *ptr ) |
| 8091 |
{ |
|
8091 |
{ |
| 8092 |
zend_vm_stack p ; |
|
8092 |
zend_vm_stack p ; |
| 8093 |
long tmp ; |
|
8093 |
long tmp ; |
| 8094 |
|
|
8094 |
|
| 8095 |
{ |
|
8095 |
{ |
| 8096 |
tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), |
|
8096 |
tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), |
| 8097 |
0L); |
|
8097 |
0L); |
| 8098 |
if (tmp) { |
|
8098 |
if (tmp) { |
| 8099 |
p = executor_globals.argument_stack; |
|
8099 |
p = executor_globals.argument_stack; |
| 8100 |
executor_globals.argument_stack = p->prev; |
|
8100 |
executor_globals.argument_stack = p->prev; |
| 8101 |
_efree((void *)p); |
|
8101 |
_efree((void *)p); |
| 8102 |
} else { |
|
8102 |
} else { |
| 8103 |
(executor_globals.argument_stack)->top = (void **)ptr; |
|
8103 |
(executor_globals.argument_stack)->top = (void **)ptr; |
| 8104 |
} |
|
8104 |
} |
| 8105 |
return; |
|
8105 |
return; |
| 8106 |
} |
|
8106 |
} |
| 8107 |
} |
|
8107 |
} |
| 8108 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free)(void *ptr ) |
|
8108 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_free)(void *ptr ) |
| 8109 |
{ |
|
8109 |
{ |
| 8110 |
zend_vm_stack p ; |
|
8110 |
zend_vm_stack p ; |
| 8111 |
long tmp ; |
|
8111 |
long tmp ; |
| 8112 |
|
|
8112 |
|
| 8113 |
{ |
|
8113 |
{ |
| 8114 |
tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), |
|
8114 |
tmp = __builtin_expect((long )((unsigned int )((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U))) == (unsigned int )((void **)ptr)), |
| 8115 |
0L); |
|
8115 |
0L); |
| 8116 |
if (tmp) { |
|
8116 |
if (tmp) { |
| 8117 |
p = executor_globals.argument_stack; |
|
8117 |
p = executor_globals.argument_stack; |
| 8118 |
executor_globals.argument_stack = p->prev; |
|
8118 |
executor_globals.argument_stack = p->prev; |
| 8119 |
_efree((void *)p); |
|
8119 |
_efree((void *)p); |
| 8120 |
} else |
|
8120 |
} else |
| 8121 |
if (4U > sizeof(void *)) { |
|
8121 |
if (4U > sizeof(void *)) { |
| 8122 |
ptr = (void *)((char *)ptr - (((sizeof(void *) + 4U) - 1U) & 4294967292U)); |
|
8122 |
ptr = (void *)((char *)ptr - (((sizeof(void *) + 4U) - 1U) & 4294967292U)); |
| 8123 |
(executor_globals.argument_stack)->top = *((void ***)ptr); |
|
8123 |
(executor_globals.argument_stack)->top = *((void ***)ptr); |
| 8124 |
} else { |
|
8124 |
} else { |
| 8125 |
(executor_globals.argument_stack)->top = (void **)ptr; |
|
8125 |
(executor_globals.argument_stack)->top = (void **)ptr; |
| 8126 |
} |
|
8126 |
} |
| 8127 |
return; |
|
8127 |
return; |
| 8128 |
} |
|
8128 |
} |
| 8129 |
} |
|
8129 |
} |
| 8130 |
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_push_args)(int count ) |
|
8130 |
__inline static void **( __attribute__((__always_inline__)) zend_vm_stack_push_args)(int count ) |
| 8131 |
{ |
|
8131 |
{ |
| 8132 |
zend_vm_stack p ; |
|
8132 |
zend_vm_stack p ; |
| 8133 |
void *data ; |
|
8133 |
void *data ; |
| 8134 |
zend_vm_stack r ; |
|
8134 |
zend_vm_stack r ; |
| 8135 |
long tmp ; |
|
8135 |
long tmp ; |
| 8136 |
int tmp___0 ; |
|
8136 |
int tmp___0 ; |
| 8137 |
void **tmp___1 ; |
|
8137 |
void **tmp___1 ; |
| 8138 |
long tmp___2 ; |
|
8138 |
long tmp___2 ; |
| 8139 |
long tmp___3 ; |
|
8139 |
long tmp___3 ; |
| 8140 |
void **tmp___4 ; |
|
8140 |
void **tmp___4 ; |
| 8141 |
|
|
8141 |
|
| 8142 |
{ |
|
8142 |
{ |
| 8143 |
tmp___2 = __builtin_expect((long )((executor_globals.argument_stack)->top - (void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) < count), |
|
8143 |
tmp___2 = __builtin_expect((long )((executor_globals.argument_stack)->top - (void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) < count), |
| 8144 |
0L); |
|
8144 |
0L); |
| 8145 |
if (tmp___2) { |
|
8145 |
if (tmp___2) { |
| 8146 |
goto _L; |
|
8146 |
goto _L; |
| 8147 |
} else { |
|
8147 |
} else { |
| 8148 |
tmp___3 = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )(executor_globals.argument_stack)->end), |
|
8148 |
tmp___3 = __builtin_expect((long )((unsigned int )(executor_globals.argument_stack)->top == (unsigned int )(executor_globals.argument_stack)->end), |
| 8149 |
0L); |
|
8149 |
0L); |
| 8150 |
if (tmp___3) { |
|
8150 |
if (tmp___3) { |
| 8151 |
_L: |
|
8151 |
_L: |
| 8152 |
p = executor_globals.argument_stack; |
|
8152 |
p = executor_globals.argument_stack; |
| 8153 |
zend_vm_stack_extend(count + 1); |
|
8153 |
zend_vm_stack_extend(count + 1); |
| 8154 |
(executor_globals.argument_stack)->top += count; |
|
8154 |
(executor_globals.argument_stack)->top += count; |
| 8155 |
*((executor_globals.argument_stack)->top) = (void *)((zend_uintptr_t )count); |
|
8155 |
*((executor_globals.argument_stack)->top) = (void *)((zend_uintptr_t )count); |
| 8156 |
while (1) { |
|
8156 |
while (1) { |
| 8157 |
tmp___0 = count; |
|
8157 |
tmp___0 = count; |
| 8158 |
count --; |
|
8158 |
count --; |
| 8159 |
if (tmp___0 > 0) { |
|
8159 |
if (tmp___0 > 0) { |
| 8160 |
|
|
8160 |
|
| 8161 |
} else { |
|
8161 |
} else { |
| 8162 |
break; |
|
8162 |
break; |
| 8163 |
} |
|
8163 |
} |
| 8164 |
(p->top) --; |
|
8164 |
(p->top) --; |
| 8165 |
data = *(p->top); |
|
8165 |
data = *(p->top); |
| 8166 |
tmp = __builtin_expect((long )((unsigned int )p->top == (unsigned int )((void **)((char *)p + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), |
|
8166 |
tmp = __builtin_expect((long )((unsigned int )p->top == (unsigned int )((void **)((char *)p + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)))), |
| 8167 |
0L); |
|
8167 |
0L); |
| 8168 |
if (tmp) { |
|
8168 |
if (tmp) { |
| 8169 |
r = p; |
|
8169 |
r = p; |
| 8170 |
(executor_globals.argument_stack)->prev = p->prev; |
|
8170 |
(executor_globals.argument_stack)->prev = p->prev; |
| 8171 |
p = p->prev; |
|
8171 |
p = p->prev; |
| 8172 |
_efree((void *)r); |
|
8172 |
_efree((void *)r); |
| 8173 |
} else { |
|
8173 |
} else { |
| 8174 |
|
|
8174 |
|
| 8175 |
} |
|
8175 |
} |
| 8176 |
*((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) + count) = data; |
|
8176 |
*((void **)((char *)executor_globals.argument_stack + (((sizeof(struct _zend_vm_stack ) + 4U) - 1U) & 4294967292U)) + count) = data; |
| 8177 |
} |
|
8177 |
} |
| 8178 |
tmp___1 = (executor_globals.argument_stack)->top; |
|
8178 |
tmp___1 = (executor_globals.argument_stack)->top; |
| 8179 |
((executor_globals.argument_stack)->top) ++; |
|
8179 |
((executor_globals.argument_stack)->top) ++; |
| 8180 |
return (tmp___1); |
|
8180 |
return (tmp___1); |
| 8181 |
} else { |
|
8181 |
} else { |
| 8182 |
|
|
8182 |
|
| 8183 |
} |
|
8183 |
} |
| 8184 |
} |
|
8184 |
} |
| 8185 |
*((executor_globals.argument_stack)->top) = (void *)((zend_uintptr_t )count); |
|
8185 |
*((executor_globals.argument_stack)->top) = (void *)((zend_uintptr_t )count); |
| 8186 |
tmp___4 = (executor_globals.argument_stack)->top; |
|
8186 |
tmp___4 = (executor_globals.argument_stack)->top; |
| 8187 |
((executor_globals.argument_stack)->top) ++; |
|
8187 |
((executor_globals.argument_stack)->top) ++; |
| 8188 |
return (tmp___4); |
|
8188 |
return (tmp___4); |
| 8189 |
} |
|
8189 |
} |
| 8190 |
} |
|
8190 |
} |
| 8191 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_clear_multiple)(void) |
|
8191 |
__inline static void ( __attribute__((__always_inline__)) zend_vm_stack_clear_multiple)(void) |
| 8192 |
{ |
|
8192 |
{ |
| 8193 |
void **p ; |
|
8193 |
void **p ; |
| 8194 |
int delete_count ; |
|
8194 |
int delete_count ; |
| 8195 |
zval *q ; |
|
8195 |
zval *q ; |
| 8196 |
|
|
8196 |
|
| 8197 |
{ |
|
8197 |
{ |
| 8198 |
p = (executor_globals.argument_stack)->top - 1; |
|
8198 |
p = (executor_globals.argument_stack)->top - 1; |
| 8199 |
delete_count = (int )((zend_uintptr_t )*p); |
|
8199 |
delete_count = (int )((zend_uintptr_t )*p); |
| 8200 |
while (1) { |
|
8200 |
while (1) { |
| 8201 |
delete_count --; |
|
8201 |
delete_count --; |
| 8202 |
if (delete_count >= 0) { |
|
8202 |
if (delete_count >= 0) { |
| 8203 |
|
|
8203 |
|
| 8204 |
} else { |
|
8204 |
} else { |
| 8205 |
break; |
|
8205 |
break; |
| 8206 |
} |
|
8206 |
} |
| 8207 |
p --; |
|
8207 |
p --; |
| 8208 |
q = *((zval **)p); |
|
8208 |
q = *((zval **)p); |
| 8209 |
*p = (void *)0; |
|
8209 |
*p = (void *)0; |
| 8210 |
i_zval_ptr_dtor(q); |
|
8210 |
i_zval_ptr_dtor(q); |
| 8211 |
} |
|
8211 |
} |
| 8212 |
zend_vm_stack_free_int((void *)p); |
|
8212 |
zend_vm_stack_free_int((void *)p); |
| 8213 |
return; |
|
8213 |
return; |
| 8214 |
} |
|
8214 |
} |
| 8215 |
} |
|
8215 |
} |
| 8216 |
__inline static zval **( __attribute__((__always_inline__)) zend_vm_stack_get_arg)(int requested_arg ) |
|
8216 |
__inline static zval **( __attribute__((__always_inline__)) zend_vm_stack_get_arg)(int requested_arg ) |
| 8217 |
{ |
|
8217 |
{ |
| 8218 |
void **p ; |
|
8218 |
void **p ; |
| 8219 |
int arg_count ; |
|
8219 |
int arg_count ; |
| 8220 |
long tmp ; |
|
8220 |
long tmp ; |
| 8221 |
|
|
8221 |
|
| 8222 |
{ |
|
8222 |
{ |
| 8223 |
p = ((executor_globals.current_execute_data)->prev_execute_data)->function_state.arguments; |
|
8223 |
p = ((executor_globals.current_execute_data)->prev_execute_data)->function_state.arguments; |
| 8224 |
arg_count = (int )((zend_uintptr_t )*p); |
|
8224 |
arg_count = (int )((zend_uintptr_t )*p); |
| 8225 |
tmp = __builtin_expect((long )(requested_arg > arg_count), 0L); |
|
8225 |
tmp = __builtin_expect((long )(requested_arg > arg_count), 0L); |
| 8226 |
if (tmp) { |
|
8226 |
if (tmp) { |
| 8227 |
return ((zval **)((void *)0)); |
|
8227 |
return ((zval **)((void *)0)); |
| 8228 |
} else { |
|
8228 |
} else { |
| 8229 |
|
|
8229 |
|
| 8230 |
} |
|
8230 |
} |
| 8231 |
return ((((zval **)p - arg_count) + requested_arg) - 1); |
|
8231 |
return ((((zval **)p - arg_count) + requested_arg) - 1); |
| 8232 |
} |
|
8232 |
} |
| 8233 |
} |
|
8233 |
} |
| 8234 |
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_2_pop)(zend_ptr_stack *stack , |
|
8234 |
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_2_pop)(zend_ptr_stack *stack , |
| 8235 |
zval **object , |
|
8235 |
zval **object , |
| 8236 |
zend_function **fbc ) |
|
8236 |
zend_function **fbc ) |
| 8237 |
{ |
|
8237 |
{ |
| 8238 |
void *a ; |
|
8238 |
void *a ; |
| 8239 |
void *b ; |
|
8239 |
void *b ; |
| 8240 |
|
|
8240 |
|
| 8241 |
{ |
|
8241 |
{ |
| 8242 |
zend_ptr_stack_2_pop(stack, & a, & b); |
|
8242 |
zend_ptr_stack_2_pop(stack, & a, & b); |
| 8243 |
*object = (zval *)a; |
|
8243 |
*object = (zval *)a; |
| 8244 |
*fbc = (zend_function *)b; |
|
8244 |
*fbc = (zend_function *)b; |
| 8245 |
return; |
|
8245 |
return; |
| 8246 |
} |
|
8246 |
} |
| 8247 |
} |
|
8247 |
} |
| 8248 |
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_3_pop)(zend_ptr_stack *stack , |
|
8248 |
__inline static void ( __attribute__((__always_inline__)) zend_arg_types_stack_3_pop)(zend_ptr_stack *stack , |
| 8249 |
zend_class_entry **called_scope , |
|
8249 |
zend_class_entry **called_scope , |
| 8250 |
zval **object , |
|
8250 |
zval **object , |
| 8251 |
zend_function **fbc ) |
|
8251 |
zend_function **fbc ) |
| 8252 |
{ |
|
8252 |
{ |
| 8253 |
void *a ; |
|
8253 |
void *a ; |
| 8254 |
void *b ; |
|
8254 |
void *b ; |
| 8255 |
void *c ; |
|
8255 |
void *c ; |
| 8256 |
|
|
8256 |
|
| 8257 |
{ |
|
8257 |
{ |
| 8258 |
zend_ptr_stack_3_pop(stack, & a, & b, & c); |
|
8258 |
zend_ptr_stack_3_pop(stack, & a, & b, & c); |
| 8259 |
*called_scope = (zend_class_entry *)a; |
|
8259 |
*called_scope = (zend_class_entry *)a; |
| 8260 |
*object = (zval *)b; |
|
8260 |
*object = (zval *)b; |
| 8261 |
*fbc = (zend_function *)c; |
|
8261 |
*fbc = (zend_function *)c; |
| 8262 |
return; |
|
8262 |
return; |
| 8263 |
} |
|
8263 |
} |
| 8264 |
} |
|
8264 |
} |
| 8265 |
extern void execute_new_code(void) ; |
|
8265 |
extern void execute_new_code(void) ; |
| 8266 |
extern char __attribute__((__visibility__("default"))) *get_active_class_name(char **space ) ; |
|
8266 |
extern char __attribute__((__visibility__("default"))) *get_active_class_name(char **space ) ; |
| 8267 |
extern char __attribute__((__visibility__("default"))) *get_active_function_name(void) ; |
|
8267 |
extern char __attribute__((__visibility__("default"))) *get_active_function_name(void) ; |
| 8268 |
extern char __attribute__((__visibility__("default"))) *zend_get_executed_filename(void) ; |
|
8268 |
extern char __attribute__((__visibility__("default"))) *zend_get_executed_filename(void) ; |
| 8269 |
extern uint __attribute__((__visibility__("default"))) zend_get_executed_lineno(void) ; |
|
8269 |
extern uint __attribute__((__visibility__("default"))) zend_get_executed_lineno(void) ; |
| 8270 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_executing(void) ; |
|
8270 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_executing(void) ; |
| 8271 |
extern void __attribute__((__visibility__("default"))) zend_set_timeout(long seconds , |
|
8271 |
extern void __attribute__((__visibility__("default"))) zend_set_timeout(long seconds , |
| 8272 |
int reset_signals ) ; |
|
8272 |
int reset_signals ) ; |
| 8273 |
extern void __attribute__((__visibility__("default"))) zend_unset_timeout(void) ; |
|
8273 |
extern void __attribute__((__visibility__("default"))) zend_unset_timeout(void) ; |
| 8274 |
extern void __attribute__((__visibility__("default"))) zend_timeout(int dummy ) ; |
|
8274 |
extern void __attribute__((__visibility__("default"))) zend_timeout(int dummy ) ; |
| 8275 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_fetch_class(char const *class_name , |
|
8275 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_fetch_class(char const *class_name , |
| 8276 |
uint class_name_len , |
|
8276 |
uint class_name_len , |
| 8277 |
int fetch_type ) ; |
|
8277 |
int fetch_type ) ; |
| 8278 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_fetch_class_by_name(char const *class_name , |
|
8278 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_fetch_class_by_name(char const *class_name , |
| 8279 |
uint class_name_len , |
|
8279 |
uint class_name_len , |
| 8280 |
zend_literal const *key , |
|
8280 |
zend_literal const *key , |
| 8281 |
int fetch_type ) ; |
|
8281 |
int fetch_type ) ; |
| 8282 |
extern void zend_verify_abstract_class(zend_class_entry *ce ) ; |
|
8282 |
extern void zend_verify_abstract_class(zend_class_entry *ce ) ; |
| 8283 |
extern zval __attribute__((__visibility__("default"))) **zend_get_compiled_variable_value(zend_execute_data const *execute_data_ptr , |
|
8283 |
extern zval __attribute__((__visibility__("default"))) **zend_get_compiled_variable_value(zend_execute_data const *execute_data_ptr , |
| 8284 |
zend_uint var ) ; |
|
8284 |
zend_uint var ) ; |
| 8285 |
extern int __attribute__((__visibility__("default"))) zend_set_user_opcode_handler(zend_uchar opcode , |
|
8285 |
extern int __attribute__((__visibility__("default"))) zend_set_user_opcode_handler(zend_uchar opcode , |
| 8286 |
int (*handler)(zend_execute_data *execute_data ) ) ; |
|
8286 |
int (*handler)(zend_execute_data *execute_data ) ) ; |
| 8287 |
extern user_opcode_handler_t __attribute__((__visibility__("default"))) zend_get_user_opcode_handler(zend_uchar opcode ) ; |
|
8287 |
extern user_opcode_handler_t __attribute__((__visibility__("default"))) zend_get_user_opcode_handler(zend_uchar opcode ) ; |
| 8288 |
extern zval __attribute__((__visibility__("default"))) *zend_get_zval_ptr(int op_type , |
|
8288 |
extern zval __attribute__((__visibility__("default"))) *zend_get_zval_ptr(int op_type , |
| 8289 |
znode_op const *node , |
|
8289 |
znode_op const *node , |
| 8290 |
temp_variable const *Ts , |
|
8290 |
temp_variable const *Ts , |
| 8291 |
zend_free_op *should_free , |
|
8291 |
zend_free_op *should_free , |
| 8292 |
int type ) ; |
|
8292 |
int type ) ; |
| 8293 |
extern zval __attribute__((__visibility__("default"))) **zend_get_zval_ptr_ptr(int op_type , |
|
8293 |
extern zval __attribute__((__visibility__("default"))) **zend_get_zval_ptr_ptr(int op_type , |
| 8294 |
znode_op const *node , |
|
8294 |
znode_op const *node , |
| 8295 |
temp_variable const *Ts , |
|
8295 |
temp_variable const *Ts , |
| 8296 |
zend_free_op *should_free , |
|
8296 |
zend_free_op *should_free , |
| 8297 |
int type ) ; |
|
8297 |
int type ) ; |
| 8298 |
extern int __attribute__((__visibility__("default"))) zend_do_fcall(zend_execute_data *execute_data ) ; |
|
8298 |
extern int __attribute__((__visibility__("default"))) zend_do_fcall(zend_execute_data *execute_data ) ; |
| 8299 |
extern int zend_next_free_module(void) ; |
|
8299 |
extern int zend_next_free_module(void) ; |
| 8300 |
extern int __attribute__((__visibility__("default"))) zend_get_parameters(int ht , |
|
8300 |
extern int __attribute__((__visibility__("default"))) zend_get_parameters(int ht , |
| 8301 |
int param_count |
|
8301 |
int param_count |
| 8302 |
, ...) ; |
|
8302 |
, ...) ; |
| 8303 |
extern int __attribute__((__visibility__("default"))) _zend_get_parameters_array(int ht , |
|
8303 |
extern int __attribute__((__visibility__("default"))) _zend_get_parameters_array(int ht , |
| 8304 |
int param_count , |
|
8304 |
int param_count , |
| 8305 |
zval **argument_array ) ; |
|
8305 |
zval **argument_array ) ; |
| 8306 |
extern int __attribute__((__visibility__("default"), |
|
8306 |
extern int __attribute__((__visibility__("default"), |
| 8307 |
__deprecated__)) zend_get_parameters_ex(int param_count , ...) ; |
|
8307 |
__deprecated__)) zend_get_parameters_ex(int param_count , ...) ; |
| 8308 |
extern int __attribute__((__visibility__("default"))) _zend_get_parameters_array_ex(int param_count , |
|
8308 |
extern int __attribute__((__visibility__("default"))) _zend_get_parameters_array_ex(int param_count , |
| 8309 |
zval ***argument_array ) ; |
|
8309 |
zval ***argument_array ) ; |
| 8310 |
extern int __attribute__((__visibility__("default"))) zend_copy_parameters_array(int param_count , |
|
8310 |
extern int __attribute__((__visibility__("default"))) zend_copy_parameters_array(int param_count , |
| 8311 |
zval *argument_array ) ; |
|
8311 |
zval *argument_array ) ; |
| 8312 |
extern int __attribute__((__visibility__("default"))) zend_parse_parameters(int num_args , |
|
8312 |
extern int __attribute__((__visibility__("default"))) zend_parse_parameters(int num_args , |
| 8313 |
char const *type_spec |
|
8313 |
char const *type_spec |
| 8314 |
, ...) ; |
|
8314 |
, ...) ; |
| 8315 |
extern int __attribute__((__visibility__("default"))) zend_parse_parameters_ex(int flags , |
|
8315 |
extern int __attribute__((__visibility__("default"))) zend_parse_parameters_ex(int flags , |
| 8316 |
int num_args , |
|
8316 |
int num_args , |
| 8317 |
char const *type_spec |
|
8317 |
char const *type_spec |
| 8318 |
, ...) ; |
|
8318 |
, ...) ; |
| 8319 |
extern char __attribute__((__visibility__("default"))) *zend_zval_type_name(zval const *arg ) ; |
|
8319 |
extern char __attribute__((__visibility__("default"))) *zend_zval_type_name(zval const *arg ) ; |
| 8320 |
extern int __attribute__((__visibility__("default"))) zend_parse_method_parameters(int num_args , |
|
8320 |
extern int __attribute__((__visibility__("default"))) zend_parse_method_parameters(int num_args , |
| 8321 |
zval *this_ptr , |
|
8321 |
zval *this_ptr , |
| 8322 |
char const *type_spec |
|
8322 |
char const *type_spec |
| 8323 |
, ...) ; |
|
8323 |
, ...) ; |
| 8324 |
extern int __attribute__((__visibility__("default"))) zend_parse_method_parameters_ex(int flags , |
|
8324 |
extern int __attribute__((__visibility__("default"))) zend_parse_method_parameters_ex(int flags , |
| 8325 |
int num_args , |
|
8325 |
int num_args , |
| 8326 |
zval *this_ptr , |
|
8326 |
zval *this_ptr , |
| 8327 |
char const *type_spec |
|
8327 |
char const *type_spec |
| 8328 |
, ...) ; |
|
8328 |
, ...) ; |
| 8329 |
extern int __attribute__((__visibility__("default"))) zend_register_functions(zend_class_entry *scope , |
|
8329 |
extern int __attribute__((__visibility__("default"))) zend_register_functions(zend_class_entry *scope , |
| 8330 |
zend_function_entry const *functions , |
|
8330 |
zend_function_entry const *functions , |
| 8331 |
HashTable *function_table , |
|
8331 |
HashTable *function_table , |
| 8332 |
int type ) ; |
|
8332 |
int type ) ; |
| 8333 |
extern void __attribute__((__visibility__("default"))) zend_unregister_functions(zend_function_entry const *functions , |
|
8333 |
extern void __attribute__((__visibility__("default"))) zend_unregister_functions(zend_function_entry const *functions , |
| 8334 |
int count , |
|
8334 |
int count , |
| 8335 |
HashTable *function_table ) ; |
|
8335 |
HashTable *function_table ) ; |
| 8336 |
extern int __attribute__((__visibility__("default"))) zend_startup_module(zend_module_entry *module_entry ) ; |
|
8336 |
extern int __attribute__((__visibility__("default"))) zend_startup_module(zend_module_entry *module_entry ) ; |
| 8337 |
extern zend_module_entry __attribute__((__visibility__("default"))) *zend_register_internal_module(zend_module_entry *module_entry ) ; |
|
8337 |
extern zend_module_entry __attribute__((__visibility__("default"))) *zend_register_internal_module(zend_module_entry *module_entry ) ; |
| 8338 |
extern zend_module_entry __attribute__((__visibility__("default"))) *zend_register_module_ex(zend_module_entry *module ) ; |
|
8338 |
extern zend_module_entry __attribute__((__visibility__("default"))) *zend_register_module_ex(zend_module_entry *module ) ; |
| 8339 |
extern int __attribute__((__visibility__("default"))) zend_startup_module_ex(zend_module_entry *module ) ; |
|
8339 |
extern int __attribute__((__visibility__("default"))) zend_startup_module_ex(zend_module_entry *module ) ; |
| 8340 |
extern int __attribute__((__visibility__("default"))) zend_startup_modules(void) ; |
|
8340 |
extern int __attribute__((__visibility__("default"))) zend_startup_modules(void) ; |
| 8341 |
extern void __attribute__((__visibility__("default"))) zend_collect_module_handlers(void) ; |
|
8341 |
extern void __attribute__((__visibility__("default"))) zend_collect_module_handlers(void) ; |
| 8342 |
extern void __attribute__((__visibility__("default"))) zend_destroy_modules(void) ; |
|
8342 |
extern void __attribute__((__visibility__("default"))) zend_destroy_modules(void) ; |
| 8343 |
extern void __attribute__((__visibility__("default"))) zend_check_magic_method_implementation(zend_class_entry const *ce , |
|
8343 |
extern void __attribute__((__visibility__("default"))) zend_check_magic_method_implementation(zend_class_entry const *ce , |
| 8344 |
zend_function const *fptr , |
|
8344 |
zend_function const *fptr , |
| 8345 |
int error_type ) ; |
|
8345 |
int error_type ) ; |
| 8346 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_class(zend_class_entry *class_entry ) ; |
|
8346 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_class(zend_class_entry *class_entry ) ; |
| 8347 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_class_ex(zend_class_entry *class_entry , |
|
8347 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_class_ex(zend_class_entry *class_entry , |
| 8348 |
zend_class_entry *parent_ce , |
|
8348 |
zend_class_entry *parent_ce , |
| 8349 |
char *parent_name ) ; |
|
8349 |
char *parent_name ) ; |
| 8350 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_interface(zend_class_entry *orig_class_entry ) ; |
|
8350 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_register_internal_interface(zend_class_entry *orig_class_entry ) ; |
| 8351 |
extern void __attribute__((__visibility__("default"))) zend_class_implements(zend_class_entry *class_entry , |
|
8351 |
extern void __attribute__((__visibility__("default"))) zend_class_implements(zend_class_entry *class_entry , |
| 8352 |
int num_interfaces |
|
8352 |
int num_interfaces |
| 8353 |
, ...) ; |
|
8353 |
, ...) ; |
| 8354 |
extern int __attribute__((__visibility__("default"))) zend_register_class_alias_ex(char const *name , |
|
8354 |
extern int __attribute__((__visibility__("default"))) zend_register_class_alias_ex(char const *name , |
| 8355 |
int name_len , |
|
8355 |
int name_len , |
| 8356 |
zend_class_entry *ce ) ; |
|
8356 |
zend_class_entry *ce ) ; |
| 8357 |
extern int __attribute__((__visibility__("default"))) zend_disable_function(char *function_name , |
|
8357 |
extern int __attribute__((__visibility__("default"))) zend_disable_function(char *function_name , |
| 8358 |
uint function_name_length ) ; |
|
8358 |
uint function_name_length ) ; |
| 8359 |
extern int __attribute__((__visibility__("default"))) zend_disable_class(char *class_name , |
|
8359 |
extern int __attribute__((__visibility__("default"))) zend_disable_class(char *class_name , |
| 8360 |
uint class_name_length ) ; |
|
8360 |
uint class_name_length ) ; |
| 8361 |
extern void __attribute__((__visibility__("default"))) zend_wrong_param_count(void) ; |
|
8361 |
extern void __attribute__((__visibility__("default"))) zend_wrong_param_count(void) ; |
| 8362 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_callable_ex(zval *callable , |
|
8362 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_callable_ex(zval *callable , |
| 8363 |
zval *object_ptr , |
|
8363 |
zval *object_ptr , |
| 8364 |
uint check_flags , |
|
8364 |
uint check_flags , |
| 8365 |
char **callable_name , |
|
8365 |
char **callable_name , |
| 8366 |
int *callable_name_len , |
|
8366 |
int *callable_name_len , |
| 8367 |
zend_fcall_info_cache *fcc , |
|
8367 |
zend_fcall_info_cache *fcc , |
| 8368 |
char **error ) ; |
|
8368 |
char **error ) ; |
| 8369 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_callable(zval *callable , |
|
8369 |
extern zend_bool __attribute__((__visibility__("default"))) zend_is_callable(zval *callable , |
| 8370 |
uint check_flags , |
|
8370 |
uint check_flags , |
| 8371 |
char **callable_name ) ; |
|
8371 |
char **callable_name ) ; |
| 8372 |
extern zend_bool __attribute__((__visibility__("default"))) zend_make_callable(zval *callable , |
|
8372 |
extern zend_bool __attribute__((__visibility__("default"))) zend_make_callable(zval *callable , |
| 8373 |
char **callable_name ) ; |
|
8373 |
char **callable_name ) ; |
| 8374 |
extern char const __attribute__((__visibility__("default"))) *zend_get_module_version(char const *module_name ) ; |
|
8374 |
extern char const __attribute__((__visibility__("default"))) *zend_get_module_version(char const *module_name ) ; |
| 8375 |
extern int __attribute__((__visibility__("default"))) zend_get_module_started(char const *module_name ) ; |
|
8375 |
extern int __attribute__((__visibility__("default"))) zend_get_module_started(char const *module_name ) ; |
| 8376 |
extern int __attribute__((__visibility__("default"))) zend_declare_property(zend_class_entry *ce , |
|
8376 |
extern int __attribute__((__visibility__("default"))) zend_declare_property(zend_class_entry *ce , |
| 8377 |
char *name , |
|
8377 |
char *name , |
| 8378 |
int name_length , |
|
8378 |
int name_length , |
| 8379 |
zval *property , |
|
8379 |
zval *property , |
| 8380 |
int access_type ) ; |
|
8380 |
int access_type ) ; |
| 8381 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_ex(zend_class_entry *ce , |
|
8381 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_ex(zend_class_entry *ce , |
| 8382 |
char const *name , |
|
8382 |
char const *name , |
| 8383 |
int name_length , |
|
8383 |
int name_length , |
| 8384 |
zval *property , |
|
8384 |
zval *property , |
| 8385 |
int access_type , |
|
8385 |
int access_type , |
| 8386 |
char *doc_comment , |
|
8386 |
char *doc_comment , |
| 8387 |
int doc_comment_len ) ; |
|
8387 |
int doc_comment_len ) ; |
| 8388 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_null(zend_class_entry *ce , |
|
8388 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_null(zend_class_entry *ce , |
| 8389 |
char *name , |
|
8389 |
char *name , |
| 8390 |
int name_length , |
|
8390 |
int name_length , |
| 8391 |
int access_type ) ; |
|
8391 |
int access_type ) ; |
| 8392 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_bool(zend_class_entry *ce , |
|
8392 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_bool(zend_class_entry *ce , |
| 8393 |
char *name , |
|
8393 |
char *name , |
| 8394 |
int name_length , |
|
8394 |
int name_length , |
| 8395 |
long value , |
|
8395 |
long value , |
| 8396 |
int access_type ) ; |
|
8396 |
int access_type ) ; |
| 8397 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_long(zend_class_entry *ce , |
|
8397 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_long(zend_class_entry *ce , |
| 8398 |
char *name , |
|
8398 |
char *name , |
| 8399 |
int name_length , |
|
8399 |
int name_length , |
| 8400 |
long value , |
|
8400 |
long value , |
| 8401 |
int access_type ) ; |
|
8401 |
int access_type ) ; |
| 8402 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_double(zend_class_entry *ce , |
|
8402 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_double(zend_class_entry *ce , |
| 8403 |
char *name , |
|
8403 |
char *name , |
| 8404 |
int name_length , |
|
8404 |
int name_length , |
| 8405 |
double value , |
|
8405 |
double value , |
| 8406 |
int access_type ) ; |
|
8406 |
int access_type ) ; |
| 8407 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_string(zend_class_entry *ce , |
|
8407 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_string(zend_class_entry *ce , |
| 8408 |
char *name , |
|
8408 |
char *name , |
| 8409 |
int name_length , |
|
8409 |
int name_length , |
| 8410 |
char const *value , |
|
8410 |
char const *value , |
| 8411 |
int access_type ) ; |
|
8411 |
int access_type ) ; |
| 8412 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_stringl(zend_class_entry *ce , |
|
8412 |
extern int __attribute__((__visibility__("default"))) zend_declare_property_stringl(zend_class_entry *ce , |
| 8413 |
char *name , |
|
8413 |
char *name , |
| 8414 |
int name_length , |
|
8414 |
int name_length , |
| 8415 |
char const *value , |
|
8415 |
char const *value , |
| 8416 |
int value_len , |
|
8416 |
int value_len , |
| 8417 |
int access_type ) ; |
|
8417 |
int access_type ) ; |
| 8418 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant(zend_class_entry *ce , |
|
8418 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant(zend_class_entry *ce , |
| 8419 |
char const *name , |
|
8419 |
char const *name , |
| 8420 |
size_t name_length , |
|
8420 |
size_t name_length , |
| 8421 |
zval *value ) ; |
|
8421 |
zval *value ) ; |
| 8422 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_null(zend_class_entry *ce , |
|
8422 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_null(zend_class_entry *ce , |
| 8423 |
char const *name , |
|
8423 |
char const *name , |
| 8424 |
size_t name_length ) ; |
|
8424 |
size_t name_length ) ; |
| 8425 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_long(zend_class_entry *ce , |
|
8425 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_long(zend_class_entry *ce , |
| 8426 |
char const *name , |
|
8426 |
char const *name , |
| 8427 |
size_t name_length , |
|
8427 |
size_t name_length , |
| 8428 |
long value ) ; |
|
8428 |
long value ) ; |
| 8429 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_bool(zend_class_entry *ce , |
|
8429 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_bool(zend_class_entry *ce , |
| 8430 |
char const *name , |
|
8430 |
char const *name , |
| 8431 |
size_t name_length , |
|
8431 |
size_t name_length , |
| 8432 |
zend_bool value ) ; |
|
8432 |
zend_bool value ) ; |
| 8433 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_double(zend_class_entry *ce , |
|
8433 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_double(zend_class_entry *ce , |
| 8434 |
char const *name , |
|
8434 |
char const *name , |
| 8435 |
size_t name_length , |
|
8435 |
size_t name_length , |
| 8436 |
double value ) ; |
|
8436 |
double value ) ; |
| 8437 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_stringl(zend_class_entry *ce , |
|
8437 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_stringl(zend_class_entry *ce , |
| 8438 |
char const *name , |
|
8438 |
char const *name , |
| 8439 |
size_t name_length , |
|
8439 |
size_t name_length , |
| 8440 |
char const *value , |
|
8440 |
char const *value , |
| 8441 |
size_t value_length ) ; |
|
8441 |
size_t value_length ) ; |
| 8442 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_string(zend_class_entry *ce , |
|
8442 |
extern int __attribute__((__visibility__("default"))) zend_declare_class_constant_string(zend_class_entry *ce , |
| 8443 |
char const *name , |
|
8443 |
char const *name , |
| 8444 |
size_t name_length , |
|
8444 |
size_t name_length , |
| 8445 |
char const *value ) ; |
|
8445 |
char const *value ) ; |
| 8446 |
extern void __attribute__((__visibility__("default"))) zend_update_class_constants(zend_class_entry *class_type ) ; |
|
8446 |
extern void __attribute__((__visibility__("default"))) zend_update_class_constants(zend_class_entry *class_type ) ; |
| 8447 |
extern void __attribute__((__visibility__("default"))) zend_update_property(zend_class_entry *scope , |
|
8447 |
extern void __attribute__((__visibility__("default"))) zend_update_property(zend_class_entry *scope , |
| 8448 |
zval *object , |
|
8448 |
zval *object , |
| 8449 |
char *name , |
|
8449 |
char *name , |
| 8450 |
int name_length , |
|
8450 |
int name_length , |
| 8451 |
zval *value ) ; |
|
8451 |
zval *value ) ; |
| 8452 |
extern void __attribute__((__visibility__("default"))) zend_update_property_null(zend_class_entry *scope , |
|
8452 |
extern void __attribute__((__visibility__("default"))) zend_update_property_null(zend_class_entry *scope , |
| 8453 |
zval *object , |
|
8453 |
zval *object , |
| 8454 |
char *name , |
|
8454 |
char *name , |
| 8455 |
int name_length ) ; |
|
8455 |
int name_length ) ; |
| 8456 |
extern void __attribute__((__visibility__("default"))) zend_update_property_bool(zend_class_entry *scope , |
|
8456 |
extern void __attribute__((__visibility__("default"))) zend_update_property_bool(zend_class_entry *scope , |
| 8457 |
zval *object , |
|
8457 |
zval *object , |
| 8458 |
char *name , |
|
8458 |
char *name , |
| 8459 |
int name_length , |
|
8459 |
int name_length , |
| 8460 |
long value ) ; |
|
8460 |
long value ) ; |
| 8461 |
extern void __attribute__((__visibility__("default"))) zend_update_property_long(zend_class_entry *scope , |
|
8461 |
extern void __attribute__((__visibility__("default"))) zend_update_property_long(zend_class_entry *scope , |
| 8462 |
zval *object , |
|
8462 |
zval *object , |
| 8463 |
char *name , |
|
8463 |
char *name , |
| 8464 |
int name_length , |
|
8464 |
int name_length , |
| 8465 |
long value ) ; |
|
8465 |
long value ) ; |
| 8466 |
extern void __attribute__((__visibility__("default"))) zend_update_property_double(zend_class_entry *scope , |
|
8466 |
extern void __attribute__((__visibility__("default"))) zend_update_property_double(zend_class_entry *scope , |
| 8467 |
zval *object , |
|
8467 |
zval *object , |
| 8468 |
char *name , |
|
8468 |
char *name , |
| 8469 |
int name_length , |
|
8469 |
int name_length , |
| 8470 |
double value ) ; |
|
8470 |
double value ) ; |
| 8471 |
extern void __attribute__((__visibility__("default"))) zend_update_property_string(zend_class_entry *scope , |
|
8471 |
extern void __attribute__((__visibility__("default"))) zend_update_property_string(zend_class_entry *scope , |
| 8472 |
zval *object , |
|
8472 |
zval *object , |
| 8473 |
char *name , |
|
8473 |
char *name , |
| 8474 |
int name_length , |
|
8474 |
int name_length , |
| 8475 |
char const *value ) ; |
|
8475 |
char const *value ) ; |
| 8476 |
extern void __attribute__((__visibility__("default"))) zend_update_property_stringl(zend_class_entry *scope , |
|
8476 |
extern void __attribute__((__visibility__("default"))) zend_update_property_stringl(zend_class_entry *scope , |
| 8477 |
zval *object , |
|
8477 |
zval *object , |
| 8478 |
char *name , |
|
8478 |
char *name , |
| 8479 |
int name_length , |
|
8479 |
int name_length , |
| 8480 |
char const *value , |
|
8480 |
char const *value , |
| 8481 |
int value_length ) ; |
|
8481 |
int value_length ) ; |
| 8482 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property(zend_class_entry *scope , |
|
8482 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property(zend_class_entry *scope , |
| 8483 |
char *name , |
|
8483 |
char *name , |
| 8484 |
int name_length , |
|
8484 |
int name_length , |
| 8485 |
zval *value ) ; |
|
8485 |
zval *value ) ; |
| 8486 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_null(zend_class_entry *scope , |
|
8486 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_null(zend_class_entry *scope , |
| 8487 |
char *name , |
|
8487 |
char *name , |
| 8488 |
int name_length ) ; |
|
8488 |
int name_length ) ; |
| 8489 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_bool(zend_class_entry *scope , |
|
8489 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_bool(zend_class_entry *scope , |
| 8490 |
char *name , |
|
8490 |
char *name , |
| 8491 |
int name_length , |
|
8491 |
int name_length , |
| 8492 |
long value ) ; |
|
8492 |
long value ) ; |
| 8493 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_long(zend_class_entry *scope , |
|
8493 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_long(zend_class_entry *scope , |
| 8494 |
char *name , |
|
8494 |
char *name , |
| 8495 |
int name_length , |
|
8495 |
int name_length , |
| 8496 |
long value ) ; |
|
8496 |
long value ) ; |
| 8497 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_double(zend_class_entry *scope , |
|
8497 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_double(zend_class_entry *scope , |
| 8498 |
char *name , |
|
8498 |
char *name , |
| 8499 |
int name_length , |
|
8499 |
int name_length , |
| 8500 |
double value ) ; |
|
8500 |
double value ) ; |
| 8501 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_string(zend_class_entry *scope , |
|
8501 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_string(zend_class_entry *scope , |
| 8502 |
char *name , |
|
8502 |
char *name , |
| 8503 |
int name_length , |
|
8503 |
int name_length , |
| 8504 |
char const *value ) ; |
|
8504 |
char const *value ) ; |
| 8505 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_stringl(zend_class_entry *scope , |
|
8505 |
extern int __attribute__((__visibility__("default"))) zend_update_static_property_stringl(zend_class_entry *scope , |
| 8506 |
char *name , |
|
8506 |
char *name , |
| 8507 |
int name_length , |
|
8507 |
int name_length , |
| 8508 |
char const *value , |
|
8508 |
char const *value , |
| 8509 |
int value_length ) ; |
|
8509 |
int value_length ) ; |
| 8510 |
extern zval __attribute__((__visibility__("default"))) *zend_read_property(zend_class_entry *scope , |
|
8510 |
extern zval __attribute__((__visibility__("default"))) *zend_read_property(zend_class_entry *scope , |
| 8511 |
zval *object , |
|
8511 |
zval *object , |
| 8512 |
char *name , |
|
8512 |
char *name , |
| 8513 |
int name_length , |
|
8513 |
int name_length , |
| 8514 |
zend_bool silent ) ; |
|
8514 |
zend_bool silent ) ; |
| 8515 |
extern zval __attribute__((__visibility__("default"))) *zend_read_static_property(zend_class_entry *scope , |
|
8515 |
extern zval __attribute__((__visibility__("default"))) *zend_read_static_property(zend_class_entry *scope , |
| 8516 |
char *name , |
|
8516 |
char *name , |
| 8517 |
int name_length , |
|
8517 |
int name_length , |
| 8518 |
zend_bool silent ) ; |
|
8518 |
zend_bool silent ) ; |
| 8519 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_get_class_entry(zval const *zobject ) ; |
|
8519 |
extern zend_class_entry __attribute__((__visibility__("default"))) *zend_get_class_entry(zval const *zobject ) ; |
| 8520 |
extern int __attribute__((__visibility__("default"))) zend_get_object_classname(zval const *object , |
|
8520 |
extern int __attribute__((__visibility__("default"))) zend_get_object_classname(zval const *object , |
| 8521 |
char const **class_name , |
|
8521 |
char const **class_name , |
| 8522 |
zend_uint *class_name_len ) ; |
|
8522 |
zend_uint *class_name_len ) ; |
| 8523 |
extern char __attribute__((__visibility__("default"))) *zend_get_type_by_const(int type ) ; |
|
8523 |
extern char __attribute__((__visibility__("default"))) *zend_get_type_by_const(int type ) ; |
| 8524 |
extern int __attribute__((__visibility__("default"))) _array_init(zval *arg , |
|
8524 |
extern int __attribute__((__visibility__("default"))) _array_init(zval *arg , |
| 8525 |
uint size ) ; |
|
8525 |
uint size ) ; |
| 8526 |
extern int __attribute__((__visibility__("default"))) _object_init(zval *arg ) ; |
|
8526 |
extern int __attribute__((__visibility__("default"))) _object_init(zval *arg ) ; |
| 8527 |
extern int __attribute__((__visibility__("default"))) _object_init_ex(zval *arg , |
|
8527 |
extern int __attribute__((__visibility__("default"))) _object_init_ex(zval *arg , |
| 8528 |
zend_class_entry *ce ) ; |
|
8528 |
zend_class_entry *ce ) ; |
| 8529 |
extern int __attribute__((__visibility__("default"))) _object_and_properties_init(zval *arg , |
|
8529 |
extern int __attribute__((__visibility__("default"))) _object_and_properties_init(zval *arg , |
| 8530 |
zend_class_entry *ce , |
|
8530 |
zend_class_entry *ce , |
| 8531 |
HashTable *properties ) ; |
|
8531 |
HashTable *properties ) ; |
| 8532 |
extern void __attribute__((__visibility__("default"))) object_properties_init(zend_object *object , |
|
8532 |
extern void __attribute__((__visibility__("default"))) object_properties_init(zend_object *object , |
| 8533 |
zend_class_entry *class_type ) ; |
|
8533 |
zend_class_entry *class_type ) ; |
| 8534 |
extern void __attribute__((__visibility__("default"))) zend_merge_properties(zval *obj , |
|
8534 |
extern void __attribute__((__visibility__("default"))) zend_merge_properties(zval *obj , |
| 8535 |
HashTable *properties , |
|
8535 |
HashTable *properties , |
| 8536 |
int destroy_ht ) ; |
|
8536 |
int destroy_ht ) ; |
| 8537 |
extern int __attribute__((__visibility__("default"))) add_assoc_function(zval *arg , |
|
8537 |
extern int __attribute__((__visibility__("default"))) add_assoc_function(zval *arg , |
| 8538 |
char const *key , |
|
8538 |
char const *key , |
| 8539 |
void (*function_ptr)(int ht , |
|
8539 |
void (*function_ptr)(int ht , |
| 8540 |
zval *return_value , |
|
8540 |
zval *return_value , |
| 8541 |
zval **return_value_ptr , |
|
8541 |
zval **return_value_ptr , |
| 8542 |
zval *this_ptr , |
|
8542 |
zval *this_ptr , |
| 8543 |
int return_value_used ) ) ; |
|
8543 |
int return_value_used ) ) ; |
| 8544 |
extern int __attribute__((__visibility__("default"))) add_assoc_long_ex(zval *arg , |
|
8544 |
extern int __attribute__((__visibility__("default"))) add_assoc_long_ex(zval *arg , |
| 8545 |
char const *key , |
|
8545 |
char const *key , |
| 8546 |
uint key_len , |
|
8546 |
uint key_len , |
| 8547 |
long n ) ; |
|
8547 |
long n ) ; |
| 8548 |
extern int __attribute__((__visibility__("default"))) add_assoc_null_ex(zval *arg , |
|
8548 |
extern int __attribute__((__visibility__("default"))) add_assoc_null_ex(zval *arg , |
| 8549 |
char const *key , |
|
8549 |
char const *key , |
| 8550 |
uint key_len ) ; |
|
8550 |
uint key_len ) ; |
| 8551 |
extern int __attribute__((__visibility__("default"))) add_assoc_bool_ex(zval *arg , |
|
8551 |
extern int __attribute__((__visibility__("default"))) add_assoc_bool_ex(zval *arg , |
| 8552 |
char const *key , |
|
8552 |
char const *key , |
| 8553 |
uint key_len , |
|
8553 |
uint key_len , |
| 8554 |
int b ) ; |
|
8554 |
int b ) ; |
| 8555 |
extern int __attribute__((__visibility__("default"))) add_assoc_resource_ex(zval *arg , |
|
8555 |
extern int __attribute__((__visibility__("default"))) add_assoc_resource_ex(zval *arg , |
| 8556 |
char const *key , |
|
8556 |
char const *key , |
| 8557 |
uint key_len , |
|
8557 |
uint key_len , |
| 8558 |
int r ) ; |
|
8558 |
int r ) ; |
| 8559 |
extern int __attribute__((__visibility__("default"))) add_assoc_double_ex(zval *arg , |
|
8559 |
extern int __attribute__((__visibility__("default"))) add_assoc_double_ex(zval *arg , |
| 8560 |
char const *key , |
|
8560 |
char const *key , |
| 8561 |
uint key_len , |
|
8561 |
uint key_len , |
| 8562 |
double d ) ; |
|
8562 |
double d ) ; |
| 8563 |
extern int __attribute__((__visibility__("default"))) add_assoc_string_ex(zval *arg , |
|
8563 |
extern int __attribute__((__visibility__("default"))) add_assoc_string_ex(zval *arg , |
| 8564 |
char const *key , |
|
8564 |
char const *key , |
| 8565 |
uint key_len , |
|
8565 |
uint key_len , |
| 8566 |
char *str , |
|
8566 |
char *str , |
| 8567 |
int duplicate ) ; |
|
8567 |
int duplicate ) ; |
| 8568 |
extern int __attribute__((__visibility__("default"))) add_assoc_stringl_ex(zval *arg , |
|
8568 |
extern int __attribute__((__visibility__("default"))) add_assoc_stringl_ex(zval *arg , |
| 8569 |
char const *key , |
|
8569 |
char const *key , |
| 8570 |
uint key_len , |
|
8570 |
uint key_len , |
| 8571 |
char *str , |
|
8571 |
char *str , |
| 8572 |
uint length , |
|
8572 |
uint length , |
| 8573 |
int duplicate ) ; |
|
8573 |
int duplicate ) ; |
| 8574 |
extern int __attribute__((__visibility__("default"))) add_assoc_zval_ex(zval *arg , |
|
8574 |
extern int __attribute__((__visibility__("default"))) add_assoc_zval_ex(zval *arg , |
| 8575 |
char const *key , |
|
8575 |
char const *key , |
| 8576 |
uint key_len , |
|
8576 |
uint key_len , |
| 8577 |
zval *value ) ; |
|
8577 |
zval *value ) ; |
| 8578 |
extern int __attribute__((__visibility__("default"))) add_index_long(zval *arg , |
|
8578 |
extern int __attribute__((__visibility__("default"))) add_index_long(zval *arg , |
| 8579 |
ulong idx , |
|
8579 |
ulong idx , |
| 8580 |
long n ) ; |
|
8580 |
long n ) ; |
| 8581 |
extern int __attribute__((__visibility__("default"))) add_index_null(zval *arg , |
|
8581 |
extern int __attribute__((__visibility__("default"))) add_index_null(zval *arg , |
| 8582 |
ulong idx ) ; |
|
8582 |
ulong idx ) ; |
| 8583 |
extern int __attribute__((__visibility__("default"))) add_index_bool(zval *arg , |
|
8583 |
extern int __attribute__((__visibility__("default"))) add_index_bool(zval *arg , |
| 8584 |
ulong idx , |
|
8584 |
ulong idx , |
| 8585 |
int b ) ; |
|
8585 |
int b ) ; |
| 8586 |
extern int __attribute__((__visibility__("default"))) add_index_resource(zval *arg , |
|
8586 |
extern int __attribute__((__visibility__("default"))) add_index_resource(zval *arg , |
| 8587 |
ulong idx , |
|
8587 |
ulong idx , |
| 8588 |
int r ) ; |
|
8588 |
int r ) ; |
| 8589 |
extern int __attribute__((__visibility__("default"))) add_index_double(zval *arg , |
|
8589 |
extern int __attribute__((__visibility__("default"))) add_index_double(zval *arg , |
| 8590 |
ulong idx , |
|
8590 |
ulong idx , |
| 8591 |
double d ) ; |
|
8591 |
double d ) ; |
| 8592 |
extern int __attribute__((__visibility__("default"))) add_index_string(zval *arg , |
|
8592 |
extern int __attribute__((__visibility__("default"))) add_index_string(zval *arg , |
| 8593 |
ulong idx , |
|
8593 |
ulong idx , |
| 8594 |
char const *str , |
|
8594 |
char const *str , |
| 8595 |
int duplicate ) ; |
|
8595 |
int duplicate ) ; |
| 8596 |
extern int __attribute__((__visibility__("default"))) add_index_stringl(zval *arg , |
|
8596 |
extern int __attribute__((__visibility__("default"))) add_index_stringl(zval *arg , |
| 8597 |
ulong idx , |
|
8597 |
ulong idx , |
| 8598 |
char const *str , |
|
8598 |
char const *str , |
| 8599 |
uint length , |
|
8599 |
uint length , |
| 8600 |
int duplicate ) ; |
|
8600 |
int duplicate ) ; |
| 8601 |
extern int __attribute__((__visibility__("default"))) add_index_zval(zval *arg , |
|
8601 |
extern int __attribute__((__visibility__("default"))) add_index_zval(zval *arg , |
| 8602 |
ulong index , |
|
8602 |
ulong index , |
| 8603 |
zval *value ) ; |
|
8603 |
zval *value ) ; |
| 8604 |
extern int __attribute__((__visibility__("default"))) add_next_index_long(zval *arg , |
|
8604 |
extern int __attribute__((__visibility__("default"))) add_next_index_long(zval *arg , |
| 8605 |
long n ) ; |
|
8605 |
long n ) ; |
| 8606 |
extern int __attribute__((__visibility__("default"))) add_next_index_null(zval *arg ) ; |
|
8606 |
extern int __attribute__((__visibility__("default"))) add_next_index_null(zval *arg ) ; |
| 8607 |
extern int __attribute__((__visibility__("default"))) add_next_index_bool(zval *arg , |
|
8607 |
extern int __attribute__((__visibility__("default"))) add_next_index_bool(zval *arg , |
| 8608 |
int b ) ; |
|
8608 |
int b ) ; |
| 8609 |
extern int __attribute__((__visibility__("default"))) add_next_index_resource(zval *arg , |
|
8609 |
extern int __attribute__((__visibility__("default"))) add_next_index_resource(zval *arg , |
| 8610 |
int r ) ; |
|
8610 |
int r ) ; |
| 8611 |
extern int __attribute__((__visibility__("default"))) add_next_index_double(zval *arg , |
|
8611 |
extern int __attribute__((__visibility__("default"))) add_next_index_double(zval *arg , |
| 8612 |
double d ) ; |
|
8612 |
double d ) ; |
| 8613 |
extern int __attribute__((__visibility__("default"))) add_next_index_string(zval *arg , |
|
8613 |
extern int __attribute__((__visibility__("default"))) add_next_index_string(zval *arg , |
| 8614 |
char const *str , |
|
8614 |
char const *str , |
| 8615 |
int duplicate ) ; |
|
8615 |
int duplicate ) ; |
| 8616 |
extern int __attribute__((__visibility__("default"))) add_next_index_stringl(zval *arg , |
|
8616 |
extern int __attribute__((__visibility__("default"))) add_next_index_stringl(zval *arg , |
| 8617 |
char const *str , |
|
8617 |
char const *str , |
| 8618 |
uint length , |
|
8618 |
uint length , |
| 8619 |
int duplicate ) ; |
|
8619 |
int duplicate ) ; |
| 8620 |
extern int __attribute__((__visibility__("default"))) add_next_index_zval(zval *arg , |
|
8620 |
extern int __attribute__((__visibility__("default"))) add_next_index_zval(zval *arg , |
| 8621 |
zval *value ) ; |
|
8621 |
zval *value ) ; |
| 8622 |
extern int __attribute__((__visibility__("default"))) add_get_assoc_string_ex(zval *arg , |
|
8622 |
extern int __attribute__((__visibility__("default"))) add_get_assoc_string_ex(zval *arg , |
| 8623 |
char const *key , |
|
8623 |
char const *key , |
| 8624 |
uint key_len , |
|
8624 |
uint key_len , |
| 8625 |
char const *str , |
|
8625 |
char const *str , |
| 8626 |
void **dest , |
|
8626 |
void **dest , |
| 8627 |
int duplicate ) ; |
|
8627 |
int duplicate ) ; |
| 8628 |
extern int __attribute__((__visibility__("default"))) add_get_assoc_stringl_ex(zval *arg , |
|
8628 |
extern int __attribute__((__visibility__("default"))) add_get_assoc_stringl_ex(zval *arg , |
| 8629 |
char const *key , |
|
8629 |
char const *key , |
| 8630 |
uint key_len , |
|
8630 |
uint key_len , |
| 8631 |
char const *str , |
|
8631 |
char const *str , |
| 8632 |
uint length , |
|
8632 |
uint length , |
| 8633 |
void **dest , |
|
8633 |
void **dest , |
| 8634 |
int duplicate ) ; |
|
8634 |
int duplicate ) ; |
| 8635 |
extern int __attribute__((__visibility__("default"))) add_get_index_long(zval *arg , |
|
8635 |
extern int __attribute__((__visibility__("default"))) add_get_index_long(zval *arg , |
| 8636 |
ulong idx , |
|
8636 |
ulong idx , |
| 8637 |
long l , |
|
8637 |
long l , |
| 8638 |
void **dest ) ; |
|
8638 |
void **dest ) ; |
| 8639 |
extern int __attribute__((__visibility__("default"))) add_get_index_double(zval *arg , |
|
8639 |
extern int __attribute__((__visibility__("default"))) add_get_index_double(zval *arg , |
| 8640 |
ulong idx , |
|
8640 |
ulong idx , |
| 8641 |
double d , |
|
8641 |
double d , |
| 8642 |
void **dest ) ; |
|
8642 |
void **dest ) ; |
| 8643 |
extern int __attribute__((__visibility__("default"))) add_get_index_string(zval *arg , |
|
8643 |
extern int __attribute__((__visibility__("default"))) add_get_index_string(zval *arg , |
| 8644 |
ulong idx , |
|
8644 |
ulong idx , |
| 8645 |
char const *str , |
|
8645 |
char const *str , |
| 8646 |
void **dest , |
|
8646 |
void **dest , |
| 8647 |
int duplicate ) ; |
|
8647 |
int duplicate ) ; |
| 8648 |
extern int __attribute__((__visibility__("default"))) add_get_index_stringl(zval *arg , |
|
8648 |
extern int __attribute__((__visibility__("default"))) add_get_index_stringl(zval *arg , |
| 8649 |
ulong idx , |
|
8649 |
ulong idx , |
| 8650 |
char const *str , |
|
8650 |
char const *str , |
| 8651 |
uint length , |
|
8651 |
uint length , |
| 8652 |
void **dest , |
|
8652 |
void **dest , |
| 8653 |
int duplicate ) ; |
|
8653 |
int duplicate ) ; |
| 8654 |
extern int __attribute__((__visibility__("default"))) add_property_long_ex(zval *arg , |
|
8654 |
extern int __attribute__((__visibility__("default"))) add_property_long_ex(zval *arg , |
| 8655 |
char const *key , |
|
8655 |
char const *key , |
| 8656 |
uint key_len , |
|
8656 |
uint key_len , |
| 8657 |
long l ) ; |
|
8657 |
long l ) ; |
| 8658 |
extern int __attribute__((__visibility__("default"))) add_property_null_ex(zval *arg , |
|
8658 |
extern int __attribute__((__visibility__("default"))) add_property_null_ex(zval *arg , |
| 8659 |
char const *key , |
|
8659 |
char const *key , |
| 8660 |
uint key_len ) ; |
|
8660 |
uint key_len ) ; |
| 8661 |
extern int __attribute__((__visibility__("default"))) add_property_bool_ex(zval *arg , |
|
8661 |
extern int __attribute__((__visibility__("default"))) add_property_bool_ex(zval *arg , |
| 8662 |
char const *key , |
|
8662 |
char const *key , |
| 8663 |
uint key_len , |
|
8663 |
uint key_len , |
| 8664 |
int b ) ; |
|
8664 |
int b ) ; |
| 8665 |
extern int __attribute__((__visibility__("default"))) add_property_resource_ex(zval *arg , |
|
8665 |
extern int __attribute__((__visibility__("default"))) add_property_resource_ex(zval *arg , |
| 8666 |
char const *key , |
|
8666 |
char const *key , |
| 8667 |
uint key_len , |
|
8667 |
uint key_len , |
| 8668 |
long r ) ; |
|
8668 |
long r ) ; |
| 8669 |
extern int __attribute__((__visibility__("default"))) add_property_double_ex(zval *arg , |
|
8669 |
extern int __attribute__((__visibility__("default"))) add_property_double_ex(zval *arg , |
| 8670 |
char const *key , |
|
8670 |
char const *key , |
| 8671 |
uint key_len , |
|
8671 |
uint key_len , |
| 8672 |
double d ) ; |
|
8672 |
double d ) ; |
| 8673 |
extern int __attribute__((__visibility__("default"))) add_property_string_ex(zval *arg , |
|
8673 |
extern int __attribute__((__visibility__("default"))) add_property_string_ex(zval *arg , |
| 8674 |
char const *key , |
|
8674 |
char const *key , |
| 8675 |
uint key_len , |
|
8675 |
uint key_len , |
| 8676 |
char const *str , |
|
8676 |
char const *str , |
| 8677 |
int duplicate ) ; |
|
8677 |
int duplicate ) ; |
| 8678 |
extern int __attribute__((__visibility__("default"))) add_property_stringl_ex(zval *arg , |
|
8678 |
extern int __attribute__((__visibility__("default"))) add_property_stringl_ex(zval *arg , |
| 8679 |
char const *key , |
|
8679 |
char const *key , |
| 8680 |
uint key_len , |
|
8680 |
uint key_len , |
| 8681 |
char const *str , |
|
8681 |
char const *str , |
| 8682 |
uint length , |
|
8682 |
uint length , |
| 8683 |
int duplicate ) ; |
|
8683 |
int duplicate ) ; |
| 8684 |
extern int __attribute__((__visibility__("default"))) add_property_zval_ex(zval *arg , |
|
8684 |
extern int __attribute__((__visibility__("default"))) add_property_zval_ex(zval *arg , |
| 8685 |
char const *key , |
|
8685 |
char const *key , |
| 8686 |
uint key_len , |
|
8686 |
uint key_len , |
| 8687 |
zval *value ) ; |
|
8687 |
zval *value ) ; |
| 8688 |
extern int __attribute__((__visibility__("default"))) call_user_function(HashTable *function_table , |
|
8688 |
extern int __attribute__((__visibility__("default"))) call_user_function(HashTable *function_table , |
| 8689 |
zval **object_pp , |
|
8689 |
zval **object_pp , |
| 8690 |
zval *function_name , |
|
8690 |
zval *function_name , |
| 8691 |
zval *retval_ptr , |
|
8691 |
zval *retval_ptr , |
| 8692 |
zend_uint param_count , |
|
8692 |
zend_uint param_count , |
| 8693 |
zval **params ) ; |
|
8693 |
zval **params ) ; |
| 8694 |
extern int __attribute__((__visibility__("default"))) call_user_function_ex(HashTable *function_table , |
|
8694 |
extern int __attribute__((__visibility__("default"))) call_user_function_ex(HashTable *function_table , |
| 8695 |
zval **object_pp , |
|
8695 |
zval **object_pp , |
| 8696 |
zval *function_name , |
|
8696 |
zval *function_name , |
| 8697 |
zval **retval_ptr_ptr , |
|
8697 |
zval **retval_ptr_ptr , |
| 8698 |
zend_uint param_count , |
|
8698 |
zend_uint param_count , |
| 8699 |
zval ***params , |
|
8699 |
zval ***params , |
| 8700 |
int no_separation , |
|
8700 |
int no_separation , |
| 8701 |
HashTable *symbol_table ) ; |
|
8701 |
HashTable *symbol_table ) ; |
| 8702 |
extern zend_fcall_info const __attribute__((__visibility__("default"))) empty_fcall_info ; |
|
8702 |
extern zend_fcall_info const __attribute__((__visibility__("default"))) empty_fcall_info ; |
| 8703 |
extern zend_fcall_info_cache const __attribute__((__visibility__("default"))) empty_fcall_info_cache ; |
|
8703 |
extern zend_fcall_info_cache const __attribute__((__visibility__("default"))) empty_fcall_info_cache ; |
| 8704 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_init(zval *callable , |
|
8704 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_init(zval *callable , |
| 8705 |
uint check_flags , |
|
8705 |
uint check_flags , |
| 8706 |
zend_fcall_info *fci , |
|
8706 |
zend_fcall_info *fci , |
| 8707 |
zend_fcall_info_cache *fcc , |
|
8707 |
zend_fcall_info_cache *fcc , |
| 8708 |
char **callable_name , |
|
8708 |
char **callable_name , |
| 8709 |
char **error ) ; |
|
8709 |
char **error ) ; |
| 8710 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_clear(zend_fcall_info *fci , |
|
8710 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_clear(zend_fcall_info *fci , |
| 8711 |
int free_mem ) ; |
|
8711 |
int free_mem ) ; |
| 8712 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_save(zend_fcall_info *fci , |
|
8712 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_save(zend_fcall_info *fci , |
| 8713 |
int *param_count , |
|
8713 |
int *param_count , |
| 8714 |
zval ****params ) ; |
|
8714 |
zval ****params ) ; |
| 8715 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_restore(zend_fcall_info *fci , |
|
8715 |
extern void __attribute__((__visibility__("default"))) zend_fcall_info_args_restore(zend_fcall_info *fci , |
| 8716 |
int param_count , |
|
8716 |
int param_count , |
| 8717 |
zval ***params ) ; |
|
8717 |
zval ***params ) ; |
| 8718 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_args(zend_fcall_info *fci , |
|
8718 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_args(zend_fcall_info *fci , |
| 8719 |
zval *args ) ; |
|
8719 |
zval *args ) ; |
| 8720 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argp(zend_fcall_info *fci , |
|
8720 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argp(zend_fcall_info *fci , |
| 8721 |
int argc , |
|
8721 |
int argc , |
| 8722 |
zval ***argv ) ; |
|
8722 |
zval ***argv ) ; |
| 8723 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argv(zend_fcall_info *fci , |
|
8723 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argv(zend_fcall_info *fci , |
| 8724 |
int argc , |
|
8724 |
int argc , |
| 8725 |
va_list *argv ) ; |
|
8725 |
va_list *argv ) ; |
| 8726 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argn(zend_fcall_info *fci , |
|
8726 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_argn(zend_fcall_info *fci , |
| 8727 |
int argc |
|
8727 |
int argc |
| 8728 |
, ...) ; |
|
8728 |
, ...) ; |
| 8729 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_call(zend_fcall_info *fci , |
|
8729 |
extern int __attribute__((__visibility__("default"))) zend_fcall_info_call(zend_fcall_info *fci , |
| 8730 |
zend_fcall_info_cache *fcc , |
|
8730 |
zend_fcall_info_cache *fcc , |
| 8731 |
zval **retval , |
|
8731 |
zval **retval , |
| 8732 |
zval *args ) ; |
|
8732 |
zval *args ) ; |
| 8733 |
extern int __attribute__((__visibility__("default"))) zend_call_function(zend_fcall_info *fci , |
|
8733 |
extern int __attribute__((__visibility__("default"))) zend_call_function(zend_fcall_info *fci , |
| 8734 |
zend_fcall_info_cache *fci_cache ) ; |
|
8734 |
zend_fcall_info_cache *fci_cache ) ; |
| 8735 |
extern int __attribute__((__visibility__("default"))) zend_set_hash_symbol(zval *symbol , |
|
8735 |
extern int __attribute__((__visibility__("default"))) zend_set_hash_symbol(zval *symbol , |
| 8736 |
char const *name , |
|
8736 |
char const *name , |
| 8737 |
int name_length , |
|
8737 |
int name_length , |
| 8738 |
zend_bool is_ref , |
|
8738 |
zend_bool is_ref , |
| 8739 |
int num_symbol_tables |
|
8739 |
int num_symbol_tables |
| 8740 |
, ...) ; |
|
8740 |
, ...) ; |
| 8741 |
extern void __attribute__((__visibility__("default"))) zend_delete_variable(zend_execute_data *ex , |
|
8741 |
extern void __attribute__((__visibility__("default"))) zend_delete_variable(zend_execute_data *ex , |
| 8742 |
HashTable *ht , |
|
8742 |
HashTable *ht , |
| 8743 |
char *name , |
|
8743 |
char *name , |
| 8744 |
int name_len , |
|
8744 |
int name_len , |
| 8745 |
ulong hash_value ) ; |
|
8745 |
ulong hash_value ) ; |
| 8746 |
extern int __attribute__((__visibility__("default"))) zend_delete_global_variable(char *name , |
|
8746 |
extern int __attribute__((__visibility__("default"))) zend_delete_global_variable(char *name , |
| 8747 |
int name_len ) ; |
|
8747 |
int name_len ) ; |
| 8748 |
extern int __attribute__((__visibility__("default"))) zend_delete_global_variable_ex(char *name , |
|
8748 |
extern int __attribute__((__visibility__("default"))) zend_delete_global_variable_ex(char *name , |
| 8749 |
int name_len , |
|
8749 |
int name_len , |
| 8750 |
ulong hash_value ) ; |
|
8750 |
ulong hash_value ) ; |
| 8751 |
extern void __attribute__((__visibility__("default"))) zend_reset_all_cv(HashTable *symbol_table ) ; |
|
8751 |
extern void __attribute__((__visibility__("default"))) zend_reset_all_cv(HashTable *symbol_table ) ; |
| 8752 |
extern void __attribute__((__visibility__("default"))) zend_rebuild_symbol_table(void) ; |
|
8752 |
extern void __attribute__((__visibility__("default"))) zend_rebuild_symbol_table(void) ; |
| 8753 |
extern void __attribute__((__visibility__("default"))) zif_display_disabled_function(int ht , |
|
8753 |
extern void __attribute__((__visibility__("default"))) zif_display_disabled_function(int ht , |
| 8754 |
zval *return_value , |
|
8754 |
zval *return_value , |
| 8755 |
zval **return_value_ptr , |
|
8755 |
zval **return_value_ptr , |
| 8756 |
zval *this_ptr , |
|
8756 |
zval *this_ptr , |
| 8757 |
int return_value_used ) ; |
|
8757 |
int return_value_used ) ; |
| 8758 |
extern void __attribute__((__visibility__("default"))) zif_display_disabled_class(int ht , |
|
8758 |
extern void __attribute__((__visibility__("default"))) zif_display_disabled_class(int ht , |
| 8759 |
zval *return_value , |
|
8759 |
zval *return_value , |
| 8760 |
zval **return_value_ptr , |
|
8760 |
zval **return_value_ptr , |
| 8761 |
zval *this_ptr , |
|
8761 |
zval *this_ptr , |
| 8762 |
int return_value_used ) ; |
|
8762 |
int return_value_used ) ; |
| 8763 |
extern size_t __attribute__((__visibility__("default"))) php_strlcpy(char *dst , |
|
8763 |
extern size_t __attribute__((__visibility__("default"))) php_strlcpy(char *dst , |
| 8764 |
char const *src , |
|
8764 |
char const *src , |
| 8765 |
size_t siz ) ; |
|
8765 |
size_t siz ) ; |
| 8766 |
extern size_t __attribute__((__visibility__("default"))) php_strlcat(char *dst , |
|
8766 |
extern size_t __attribute__((__visibility__("default"))) php_strlcat(char *dst , |
| 8767 |
char const *src , |
|
8767 |
char const *src , |
| 8768 |
size_t siz ) ; |
|
8768 |
size_t siz ) ; |
| 8769 |
extern __attribute__((__nothrow__)) unsigned short const **__ctype_b_loc(void) __attribute__((__const__)) ; |
|
8769 |
extern __attribute__((__nothrow__)) unsigned short const **__ctype_b_loc(void) __attribute__((__const__)) ; |
| 8770 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_tolower_loc(void) __attribute__((__const__)) ; |
|
8770 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_tolower_loc(void) __attribute__((__const__)) ; |
| 8771 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_toupper_loc(void) __attribute__((__const__)) ; |
|
8771 |
extern __attribute__((__nothrow__)) __int32_t const **__ctype_toupper_loc(void) __attribute__((__const__)) ; |
| 8772 |
extern __attribute__((__nothrow__)) int isalnum(int ) ; |
|
8772 |
extern __attribute__((__nothrow__)) int isalnum(int ) ; |
| 8773 |
extern __attribute__((__nothrow__)) int isalpha(int ) ; |
|
8773 |
extern __attribute__((__nothrow__)) int isalpha(int ) ; |
| 8774 |
extern __attribute__((__nothrow__)) int iscntrl(int ) ; |
|
8774 |
extern __attribute__((__nothrow__)) int iscntrl(int ) ; |
| 8775 |
extern __attribute__((__nothrow__)) int isdigit(int ) ; |
|
8775 |
extern __attribute__((__nothrow__)) int isdigit(int ) ; |
| 8776 |
extern __attribute__((__nothrow__)) int islower(int ) ; |
|
8776 |
extern __attribute__((__nothrow__)) int islower(int ) ; |
| 8777 |
extern __attribute__((__nothrow__)) int isgraph(int ) ; |
|
8777 |
extern __attribute__((__nothrow__)) int isgraph(int ) ; |
| 8778 |
extern __attribute__((__nothrow__)) int isprint(int ) ; |
|
8778 |
extern __attribute__((__nothrow__)) int isprint(int ) ; |
| 8779 |
extern __attribute__((__nothrow__)) int ispunct(int ) ; |
|
8779 |
extern __attribute__((__nothrow__)) int ispunct(int ) ; |
| 8780 |
extern __attribute__((__nothrow__)) int isspace(int ) ; |
|
8780 |
extern __attribute__((__nothrow__)) int isspace(int ) ; |
| 8781 |
extern __attribute__((__nothrow__)) int isupper(int ) ; |
|
8781 |
extern __attribute__((__nothrow__)) int isupper(int ) ; |
| 8782 |
extern __attribute__((__nothrow__)) int isxdigit(int ) ; |
|
8782 |
extern __attribute__((__nothrow__)) int isxdigit(int ) ; |
| 8783 |
__inline extern __attribute__((__nothrow__)) int tolower(int __c ) ; |
|
8783 |
__inline extern __attribute__((__nothrow__)) int tolower(int __c ) ; |
| 8784 |
__inline extern __attribute__((__nothrow__)) int toupper(int __c ) ; |
|
8784 |
__inline extern __attribute__((__nothrow__)) int toupper(int __c ) ; |
| 8785 |
extern __attribute__((__nothrow__)) int isblank(int ) ; |
|
8785 |
extern __attribute__((__nothrow__)) int isblank(int ) ; |
| 8786 |
extern __attribute__((__nothrow__)) int isascii(int __c ) ; |
|
8786 |
extern __attribute__((__nothrow__)) int isascii(int __c ) ; |
| 8787 |
extern __attribute__((__nothrow__)) int toascii(int __c ) ; |
|
8787 |
extern __attribute__((__nothrow__)) int toascii(int __c ) ; |
| 8788 |
extern __attribute__((__nothrow__)) int _toupper(int ) ; |
|
8788 |
extern __attribute__((__nothrow__)) int _toupper(int ) ; |
| 8789 |
extern __attribute__((__nothrow__)) int _tolower(int ) ; |
|
8789 |
extern __attribute__((__nothrow__)) int _tolower(int ) ; |
| 8790 |
__inline extern __attribute__((__nothrow__)) int tolower(int __c ) ; |
|
8790 |
__inline extern __attribute__((__nothrow__)) int tolower(int __c ) ; |
| 8791 |
__inline extern int tolower(int __c ) |
|
8791 |
__inline extern int tolower(int __c ) |
| 8792 |
{ |
|
8792 |
{ |
| 8793 |
__int32_t const **tmp ; |
|
8793 |
__int32_t const **tmp ; |
| 8794 |
__int32_t tmp___0 ; |
|
8794 |
__int32_t tmp___0 ; |
| 8795 |
|
|
8795 |
|
| 8796 |
{ |
|
8796 |
{ |
| 8797 |
if (__c >= -128) { |
|
8797 |
if (__c >= -128) { |
| 8798 |
if (__c < 256) { |
|
8798 |
if (__c < 256) { |
| 8799 |
tmp = __ctype_tolower_loc(); |
|
8799 |
tmp = __ctype_tolower_loc(); |
| 8800 |
tmp___0 = *(*tmp + __c); |
|
8800 |
tmp___0 = *(*tmp + __c); |
| 8801 |
} else { |
|
8801 |
} else { |
| 8802 |
tmp___0 = (__int32_t const )__c; |
|
8802 |
tmp___0 = (__int32_t const )__c; |
| 8803 |
} |
|
8803 |
} |
| 8804 |
} else { |
|
8804 |
} else { |
| 8805 |
tmp___0 = (__int32_t const )__c; |
|
8805 |
tmp___0 = (__int32_t const )__c; |
| 8806 |
} |
|
8806 |
} |
| 8807 |
return ((int )tmp___0); |
|
8807 |
return ((int )tmp___0); |
| 8808 |
} |
|
8808 |
} |
| 8809 |
} |
|
8809 |
} |
| 8810 |
__inline extern __attribute__((__nothrow__)) int toupper(int __c ) ; |
|
8810 |
__inline extern __attribute__((__nothrow__)) int toupper(int __c ) ; |
| 8811 |
__inline extern int toupper(int __c ) |
|
8811 |
__inline extern int toupper(int __c ) |
| 8812 |
{ |
|
8812 |
{ |
| 8813 |
__int32_t const **tmp ; |
|
8813 |
__int32_t const **tmp ; |
| 8814 |
__int32_t tmp___0 ; |
|
8814 |
__int32_t tmp___0 ; |
| 8815 |
|
|
8815 |
|
| 8816 |
{ |
|
8816 |
{ |
| 8817 |
if (__c >= -128) { |
|
8817 |
if (__c >= -128) { |
| 8818 |
if (__c < 256) { |
|
8818 |
if (__c < 256) { |
| 8819 |
tmp = __ctype_toupper_loc(); |
|
8819 |
tmp = __ctype_toupper_loc(); |
| 8820 |
tmp___0 = *(*tmp + __c); |
|
8820 |
tmp___0 = *(*tmp + __c); |
| 8821 |
} else { |
|
8821 |
} else { |
| 8822 |
tmp___0 = (__int32_t const )__c; |
|
8822 |
tmp___0 = (__int32_t const )__c; |
| 8823 |
} |
|
8823 |
} |
| 8824 |
} else { |
|
8824 |
} else { |
| 8825 |
tmp___0 = (__int32_t const )__c; |
|
8825 |
tmp___0 = (__int32_t const )__c; |
| 8826 |
} |
|
8826 |
} |
| 8827 |
return ((int )tmp___0); |
|
8827 |
return ((int )tmp___0); |
| 8828 |
} |
|
8828 |
} |
| 8829 |
} |
|
8829 |
} |
| 8830 |
extern __attribute__((__nothrow__)) int isalnum_l(int , __locale_t ) ; |
|
8830 |
extern __attribute__((__nothrow__)) int isalnum_l(int , __locale_t ) ; |
| 8831 |
extern __attribute__((__nothrow__)) int isalpha_l(int , __locale_t ) ; |
|
8831 |
extern __attribute__((__nothrow__)) int isalpha_l(int , __locale_t ) ; |
| 8832 |
extern __attribute__((__nothrow__)) int iscntrl_l(int , __locale_t ) ; |
|
8832 |
extern __attribute__((__nothrow__)) int iscntrl_l(int , __locale_t ) ; |
| 8833 |
extern __attribute__((__nothrow__)) int isdigit_l(int , __locale_t ) ; |
|
8833 |
extern __attribute__((__nothrow__)) int isdigit_l(int , __locale_t ) ; |
| 8834 |
extern __attribute__((__nothrow__)) int islower_l(int , __locale_t ) ; |
|
8834 |
extern __attribute__((__nothrow__)) int islower_l(int , __locale_t ) ; |
| 8835 |
extern __attribute__((__nothrow__)) int isgraph_l(int , __locale_t ) ; |
|
8835 |
extern __attribute__((__nothrow__)) int isgraph_l(int , __locale_t ) ; |
| 8836 |
extern __attribute__((__nothrow__)) int isprint_l(int , __locale_t ) ; |
|
8836 |
extern __attribute__((__nothrow__)) int isprint_l(int , __locale_t ) ; |
| 8837 |
extern __attribute__((__nothrow__)) int ispunct_l(int , __locale_t ) ; |
|
8837 |
extern __attribute__((__nothrow__)) int ispunct_l(int , __locale_t ) ; |
| 8838 |
extern __attribute__((__nothrow__)) int isspace_l(int , __locale_t ) ; |
|
8838 |
extern __attribute__((__nothrow__)) int isspace_l(int , __locale_t ) ; |
| 8839 |
extern __attribute__((__nothrow__)) int isupper_l(int , __locale_t ) ; |
|
8839 |
extern __attribute__((__nothrow__)) int isupper_l(int , __locale_t ) ; |
| 8840 |
extern __attribute__((__nothrow__)) int isxdigit_l(int , __locale_t ) ; |
|
8840 |
extern __attribute__((__nothrow__)) int isxdigit_l(int , __locale_t ) ; |
| 8841 |
extern __attribute__((__nothrow__)) int isblank_l(int , __locale_t ) ; |
|
8841 |
extern __attribute__((__nothrow__)) int isblank_l(int , __locale_t ) ; |
| 8842 |
extern __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ; |
|
8842 |
extern __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ; |
| 8843 |
extern __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ; |
|
8843 |
extern __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ; |
| 8844 |
extern __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ; |
|
8844 |
extern __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ; |
| 8845 |
extern __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ; |
|
8845 |
extern __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ; |
| 8846 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const *__name , |
|
8846 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const *__name , |
| 8847 |
int __type ) ; |
|
8847 |
int __type ) ; |
| 8848 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd , |
|
8848 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd , |
| 8849 |
char const *__file , |
|
8849 |
char const *__file , |
| 8850 |
int __type , |
|
8850 |
int __type , |
| 8851 |
int __flag ) ; |
|
8851 |
int __flag ) ; |
| 8852 |
extern __attribute__((__nothrow__)) __off_t lseek(int __fd , __off_t __offset , |
|
8852 |
extern __attribute__((__nothrow__)) __off_t lseek(int __fd , __off_t __offset , |
| 8853 |
int __whence ) ; |
|
8853 |
int __whence ) ; |
| 8854 |
extern int close(int __fd ) ; |
|
8854 |
extern int close(int __fd ) ; |
| 8855 |
extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ; |
|
8855 |
extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ; |
| 8856 |
extern ssize_t write(int __fd , void const *__buf , size_t __n ) ; |
|
8856 |
extern ssize_t write(int __fd , void const *__buf , size_t __n ) ; |
| 8857 |
extern ssize_t pread(int __fd , void *__buf , size_t __nbytes , |
|
8857 |
extern ssize_t pread(int __fd , void *__buf , size_t __nbytes , |
| 8858 |
__off_t __offset ) ; |
|
8858 |
__off_t __offset ) ; |
| 8859 |
extern ssize_t pwrite(int __fd , void const *__buf , size_t __n , |
|
8859 |
extern ssize_t pwrite(int __fd , void const *__buf , size_t __n , |
| 8860 |
__off_t __offset ) ; |
|
8860 |
__off_t __offset ) ; |
| 8861 |
extern __attribute__((__nothrow__)) int pipe(int *__pipedes ) ; |
|
8861 |
extern __attribute__((__nothrow__)) int pipe(int *__pipedes ) ; |
| 8862 |
extern __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ; |
|
8862 |
extern __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ; |
| 8863 |
extern unsigned int sleep(unsigned int __seconds ) ; |
|
8863 |
extern unsigned int sleep(unsigned int __seconds ) ; |
| 8864 |
extern __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value , |
|
8864 |
extern __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value , |
| 8865 |
__useconds_t __interval ) ; |
|
8865 |
__useconds_t __interval ) ; |
| 8866 |
extern int usleep(__useconds_t __useconds ) ; |
|
8866 |
extern int usleep(__useconds_t __useconds ) ; |
| 8867 |
extern int pause(void) ; |
|
8867 |
extern int pause(void) ; |
| 8868 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const *__file , |
|
8868 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const *__file , |
| 8869 |
__uid_t __owner , |
|
8869 |
__uid_t __owner , |
| 8870 |
__gid_t __group ) ; |
|
8870 |
__gid_t __group ) ; |
| 8871 |
extern __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner , |
|
8871 |
extern __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner , |
| 8872 |
__gid_t __group ) ; |
|
8872 |
__gid_t __group ) ; |
| 8873 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const *__file , |
|
8873 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const *__file , |
| 8874 |
__uid_t __owner , |
|
8874 |
__uid_t __owner , |
| 8875 |
__gid_t __group ) ; |
|
8875 |
__gid_t __group ) ; |
| 8876 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd , |
|
8876 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd , |
| 8877 |
char const *__file , |
|
8877 |
char const *__file , |
| 8878 |
__uid_t __owner , |
|
8878 |
__uid_t __owner , |
| 8879 |
__gid_t __group , |
|
8879 |
__gid_t __group , |
| 8880 |
int __flag ) ; |
|
8880 |
int __flag ) ; |
| 8881 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const *__path ) ; |
|
8881 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const *__path ) ; |
| 8882 |
extern __attribute__((__nothrow__)) int fchdir(int __fd ) ; |
|
8882 |
extern __attribute__((__nothrow__)) int fchdir(int __fd ) ; |
| 8883 |
extern __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ; |
|
8883 |
extern __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ; |
| 8884 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf ) __attribute__((__deprecated__)) ; |
|
8884 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf ) __attribute__((__deprecated__)) ; |
| 8885 |
extern __attribute__((__nothrow__)) int dup(int __fd ) ; |
|
8885 |
extern __attribute__((__nothrow__)) int dup(int __fd ) ; |
| 8886 |
extern __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ; |
|
8886 |
extern __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ; |
| 8887 |
extern char **__environ ; |
|
8887 |
extern char **__environ ; |
| 8888 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const *__path , |
|
8888 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const *__path , |
| 8889 |
char * const *__argv , |
|
8889 |
char * const *__argv , |
| 8890 |
char * const *__envp ) ; |
|
8890 |
char * const *__envp ) ; |
| 8891 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd , |
|
8891 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd , |
| 8892 |
char * const *__argv , |
|
8892 |
char * const *__argv , |
| 8893 |
char * const *__envp ) ; |
|
8893 |
char * const *__envp ) ; |
| 8894 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const *__path , |
|
8894 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const *__path , |
| 8895 |
char * const *__argv ) ; |
|
8895 |
char * const *__argv ) ; |
| 8896 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const *__path , |
|
8896 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const *__path , |
| 8897 |
char const *__arg |
|
8897 |
char const *__arg |
| 8898 |
, ...) ; |
|
8898 |
, ...) ; |
| 8899 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const *__path , |
|
8899 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const *__path , |
| 8900 |
char const *__arg |
|
8900 |
char const *__arg |
| 8901 |
, ...) ; |
|
8901 |
, ...) ; |
| 8902 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const *__file , |
|
8902 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const *__file , |
| 8903 |
char * const *__argv ) ; |
|
8903 |
char * const *__argv ) ; |
| 8904 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const *__file , |
|
8904 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const *__file , |
| 8905 |
char const *__arg |
|
8905 |
char const *__arg |
| 8906 |
, ...) ; |
|
8906 |
, ...) ; |
| 8907 |
extern __attribute__((__nothrow__)) int nice(int __inc ) ; |
|
8907 |
extern __attribute__((__nothrow__)) int nice(int __inc ) ; |
| 8908 |
extern __attribute__((__noreturn__)) void _exit(int __status ) ; |
|
8908 |
extern __attribute__((__noreturn__)) void _exit(int __status ) ; |
| 8909 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const *__path , |
|
8909 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const *__path , |
| 8910 |
int __name ) ; |
|
8910 |
int __name ) ; |
| 8911 |
extern __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ; |
|
8911 |
extern __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ; |
| 8912 |
extern __attribute__((__nothrow__)) long sysconf(int __name ) ; |
|
8912 |
extern __attribute__((__nothrow__)) long sysconf(int __name ) ; |
| 8913 |
extern __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf , |
|
8913 |
extern __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf , |
| 8914 |
size_t __len ) ; |
|
8914 |
size_t __len ) ; |
| 8915 |
extern __attribute__((__nothrow__)) __pid_t getpid(void) ; |
|
8915 |
extern __attribute__((__nothrow__)) __pid_t getpid(void) ; |
| 8916 |
extern __attribute__((__nothrow__)) __pid_t getppid(void) ; |
|
8916 |
extern __attribute__((__nothrow__)) __pid_t getppid(void) ; |
| 8917 |
extern __attribute__((__nothrow__)) __pid_t getpgrp(void) ; |
|
8917 |
extern __attribute__((__nothrow__)) __pid_t getpgrp(void) ; |
| 8918 |
extern __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ; |
|
8918 |
extern __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ; |
| 8919 |
extern __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ; |
|
8919 |
extern __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ; |
| 8920 |
extern __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ; |
|
8920 |
extern __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ; |
| 8921 |
extern __attribute__((__nothrow__)) int setpgrp(void) ; |
|
8921 |
extern __attribute__((__nothrow__)) int setpgrp(void) ; |
| 8922 |
extern __attribute__((__nothrow__)) __pid_t setsid(void) ; |
|
8922 |
extern __attribute__((__nothrow__)) __pid_t setsid(void) ; |
| 8923 |
extern __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ; |
|
8923 |
extern __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ; |
| 8924 |
extern __attribute__((__nothrow__)) __uid_t getuid(void) ; |
|
8924 |
extern __attribute__((__nothrow__)) __uid_t getuid(void) ; |
| 8925 |
extern __attribute__((__nothrow__)) __uid_t geteuid(void) ; |
|
8925 |
extern __attribute__((__nothrow__)) __uid_t geteuid(void) ; |
| 8926 |
extern __attribute__((__nothrow__)) __gid_t getgid(void) ; |
|
8926 |
extern __attribute__((__nothrow__)) __gid_t getgid(void) ; |
| 8927 |
extern __attribute__((__nothrow__)) __gid_t getegid(void) ; |
|
8927 |
extern __attribute__((__nothrow__)) __gid_t getegid(void) ; |
| 8928 |
extern __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ; |
|
8928 |
extern __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ; |
| 8929 |
extern __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ; |
|
8929 |
extern __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ; |
| 8930 |
extern __attribute__((__nothrow__)) int setreuid(__uid_t __ruid , |
|
8930 |
extern __attribute__((__nothrow__)) int setreuid(__uid_t __ruid , |
| 8931 |
__uid_t __euid ) ; |
|
8931 |
__uid_t __euid ) ; |
| 8932 |
extern __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ; |
|
8932 |
extern __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ; |
| 8933 |
extern __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ; |
|
8933 |
extern __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ; |
| 8934 |
extern __attribute__((__nothrow__)) int setregid(__gid_t __rgid , |
|
8934 |
extern __attribute__((__nothrow__)) int setregid(__gid_t __rgid , |
| 8935 |
__gid_t __egid ) ; |
|
8935 |
__gid_t __egid ) ; |
| 8936 |
extern __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ; |
|
8936 |
extern __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ; |
| 8937 |
extern __attribute__((__nothrow__)) __pid_t fork(void) ; |
|
8937 |
extern __attribute__((__nothrow__)) __pid_t fork(void) ; |
| 8938 |
extern __attribute__((__nothrow__)) __pid_t vfork(void) ; |
|
8938 |
extern __attribute__((__nothrow__)) __pid_t vfork(void) ; |
| 8939 |
extern __attribute__((__nothrow__)) char *ttyname(int __fd ) ; |
|
8939 |
extern __attribute__((__nothrow__)) char *ttyname(int __fd ) ; |
| 8940 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd , |
|
8940 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd , |
| 8941 |
char *__buf , |
|
8941 |
char *__buf , |
| 8942 |
size_t __buflen ) ; |
|
8942 |
size_t __buflen ) ; |
| 8943 |
extern __attribute__((__nothrow__)) int isatty(int __fd ) ; |
|
8943 |
extern __attribute__((__nothrow__)) int isatty(int __fd ) ; |
| 8944 |
extern __attribute__((__nothrow__)) int ttyslot(void) ; |
|
8944 |
extern __attribute__((__nothrow__)) int ttyslot(void) ; |
| 8945 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const *__from , |
|
8945 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const *__from , |
| 8946 |
char const *__to ) ; |
|
8946 |
char const *__to ) ; |
| 8947 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd , |
|
8947 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd , |
| 8948 |
char const *__from , |
|
8948 |
char const *__from , |
| 8949 |
int __tofd , |
|
8949 |
int __tofd , |
| 8950 |
char const *__to , |
|
8950 |
char const *__to , |
| 8951 |
int __flags ) ; |
|
8951 |
int __flags ) ; |
| 8952 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const *__from , |
|
8952 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const *__from , |
| 8953 |
char const *__to ) ; |
|
8953 |
char const *__to ) ; |
| 8954 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const * __restrict __path , |
|
8954 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const * __restrict __path , |
| 8955 |
char * __restrict __buf , |
|
8955 |
char * __restrict __buf , |
| 8956 |
size_t __len ) ; |
|
8956 |
size_t __len ) ; |
| 8957 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const *__from , |
|
8957 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const *__from , |
| 8958 |
int __tofd , |
|
8958 |
int __tofd , |
| 8959 |
char const *__to ) ; |
|
8959 |
char const *__to ) ; |
| 8960 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd , |
|
8960 |
extern __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd , |
| 8961 |
char const * __restrict __path , |
|
8961 |
char const * __restrict __path , |
| 8962 |
char * __restrict __buf , |
|
8962 |
char * __restrict __buf , |
| 8963 |
size_t __len ) ; |
|
8963 |
size_t __len ) ; |
| 8964 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const *__name ) ; |
|
8964 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const *__name ) ; |
| 8965 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd , |
|
8965 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd , |
| 8966 |
char const *__name , |
|
8966 |
char const *__name , |
| 8967 |
int __flag ) ; |
|
8967 |
int __flag ) ; |
| 8968 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const *__path ) ; |
|
8968 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const *__path ) ; |
| 8969 |
extern __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ; |
|
8969 |
extern __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ; |
| 8970 |
extern __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ; |
|
8970 |
extern __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ; |
| 8971 |
extern char *getlogin(void) ; |
|
8971 |
extern char *getlogin(void) ; |
| 8972 |
extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name , |
|
8972 |
extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name , |
| 8973 |
size_t __name_len ) ; |
|
8973 |
size_t __name_len ) ; |
| 8974 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const *__name ) ; |
|
8974 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const *__name ) ; |
| 8975 |
extern char *optarg ; |
|
8975 |
extern char *optarg ; |
| 8976 |
extern int optind ; |
|
8976 |
extern int optind ; |
| 8977 |
extern int opterr ; |
|
8977 |
extern int opterr ; |
| 8978 |
extern int optopt ; |
|
8978 |
extern int optopt ; |
| 8979 |
extern __attribute__((__nothrow__)) int getopt(int ___argc , |
|
8979 |
extern __attribute__((__nothrow__)) int getopt(int ___argc , |
| 8980 |
char * const *___argv , |
|
8980 |
char * const *___argv , |
| 8981 |
char const *__shortopts ) ; |
|
8981 |
char const *__shortopts ) ; |
| 8982 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name , |
|
8982 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name , |
| 8983 |
size_t __len ) ; |
|
8983 |
size_t __len ) ; |
| 8984 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const *__name , |
|
8984 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const *__name , |
| 8985 |
size_t __len ) ; |
|
8985 |
size_t __len ) ; |
| 8986 |
extern __attribute__((__nothrow__)) int sethostid(long __id ) ; |
|
8986 |
extern __attribute__((__nothrow__)) int sethostid(long __id ) ; |
| 8987 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name , |
|
8987 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name , |
| 8988 |
size_t __len ) ; |
|
8988 |
size_t __len ) ; |
| 8989 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const *__name , |
|
8989 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const *__name , |
| 8990 |
size_t __len ) ; |
|
8990 |
size_t __len ) ; |
| 8991 |
extern __attribute__((__nothrow__)) int vhangup(void) ; |
|
8991 |
extern __attribute__((__nothrow__)) int vhangup(void) ; |
| 8992 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const *__file ) ; |
|
8992 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const *__file ) ; |
| 8993 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer , |
|
8993 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer , |
| 8994 |
size_t __size , |
|
8994 |
size_t __size , |
| 8995 |
size_t __offset , |
|
8995 |
size_t __offset , |
| 8996 |
unsigned int __scale ) ; |
|
8996 |
unsigned int __scale ) ; |
| 8997 |
extern __attribute__((__nothrow__)) int acct(char const *__name ) ; |
|
8997 |
extern __attribute__((__nothrow__)) int acct(char const *__name ) ; |
| 8998 |
extern __attribute__((__nothrow__)) char *getusershell(void) ; |
|
8998 |
extern __attribute__((__nothrow__)) char *getusershell(void) ; |
| 8999 |
extern __attribute__((__nothrow__)) void endusershell(void) ; |
|
8999 |
extern __attribute__((__nothrow__)) void endusershell(void) ; |
| 9000 |
extern __attribute__((__nothrow__)) void setusershell(void) ; |
|
9000 |
extern __attribute__((__nothrow__)) void setusershell(void) ; |
| 9001 |
extern __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ; |
|
9001 |
extern __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ; |
| 9002 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const *__path ) ; |
|
9002 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const *__path ) ; |
| 9003 |
extern char *( __attribute__((__nonnull__(1))) getpass)(char const *__prompt ) ; |
|
9003 |
extern char *( __attribute__((__nonnull__(1))) getpass)(char const *__prompt ) ; |
| 9004 |
extern int fsync(int __fd ) ; |
|
9004 |
extern int fsync(int __fd ) ; |
| 9005 |
extern long gethostid(void) ; |
|
9005 |
extern long gethostid(void) ; |
| 9006 |
extern __attribute__((__nothrow__)) void sync(void) ; |
|
9006 |
extern __attribute__((__nothrow__)) void sync(void) ; |
| 9007 |
extern __attribute__((__nothrow__)) int getpagesize(void) __attribute__((__const__)) ; |
|
9007 |
extern __attribute__((__nothrow__)) int getpagesize(void) __attribute__((__const__)) ; |
| 9008 |
extern __attribute__((__nothrow__)) int getdtablesize(void) ; |
|
9008 |
extern __attribute__((__nothrow__)) int getdtablesize(void) ; |
| 9009 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const *__file , |
|
9009 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const *__file , |
| 9010 |
__off_t __length ) ; |
|
9010 |
__off_t __length ) ; |
| 9011 |
extern __attribute__((__nothrow__)) int ftruncate(int __fd , __off_t __length ) ; |
|
9011 |
extern __attribute__((__nothrow__)) int ftruncate(int __fd , __off_t __length ) ; |
| 9012 |
extern __attribute__((__nothrow__)) int brk(void *__addr ) ; |
|
9012 |
extern __attribute__((__nothrow__)) int brk(void *__addr ) ; |
| 9013 |
extern __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ; |
|
9013 |
extern __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ; |
| 9014 |
extern __attribute__((__nothrow__)) long syscall(long __sysno , ...) ; |
|
9014 |
extern __attribute__((__nothrow__)) long syscall(long __sysno , ...) ; |
| 9015 |
extern int lockf(int __fd , int __cmd , __off_t __len ) ; |
|
9015 |
extern int lockf(int __fd , int __cmd , __off_t __len ) ; |
| 9016 |
extern int fdatasync(int __fildes ) ; |
|
9016 |
extern int fdatasync(int __fildes ) ; |
| 9017 |
extern void setpwent(void) ; |
|
9017 |
extern void setpwent(void) ; |
| 9018 |
extern void endpwent(void) ; |
|
9018 |
extern void endpwent(void) ; |
| 9019 |
extern struct passwd *getpwent(void) ; |
|
9019 |
extern struct passwd *getpwent(void) ; |
| 9020 |
extern struct passwd *fgetpwent(FILE *__stream ) ; |
|
9020 |
extern struct passwd *fgetpwent(FILE *__stream ) ; |
| 9021 |
extern int putpwent(struct passwd const * __restrict __p , |
|
9021 |
extern int putpwent(struct passwd const * __restrict __p , |
| 9022 |
FILE * __restrict __f ) ; |
|
9022 |
FILE * __restrict __f ) ; |
| 9023 |
extern struct passwd *getpwuid(__uid_t __uid ) ; |
|
9023 |
extern struct passwd *getpwuid(__uid_t __uid ) ; |
| 9024 |
extern struct passwd *getpwnam(char const *__name ) ; |
|
9024 |
extern struct passwd *getpwnam(char const *__name ) ; |
| 9025 |
extern int getpwent_r(struct passwd * __restrict __resultbuf , |
|
9025 |
extern int getpwent_r(struct passwd * __restrict __resultbuf , |
| 9026 |
char * __restrict __buffer , size_t __buflen , |
|
9026 |
char * __restrict __buffer , size_t __buflen , |
| 9027 |
struct passwd ** __restrict __result ) ; |
|
9027 |
struct passwd ** __restrict __result ) ; |
| 9028 |
extern int getpwuid_r(__uid_t __uid , struct passwd * __restrict __resultbuf , |
|
9028 |
extern int getpwuid_r(__uid_t __uid , struct passwd * __restrict __resultbuf , |
| 9029 |
char * __restrict __buffer , size_t __buflen , |
|
9029 |
char * __restrict __buffer , size_t __buflen , |
| 9030 |
struct passwd ** __restrict __result ) ; |
|
9030 |
struct passwd ** __restrict __result ) ; |
| 9031 |
extern int getpwnam_r(char const * __restrict __name , |
|
9031 |
extern int getpwnam_r(char const * __restrict __name , |
| 9032 |
struct passwd * __restrict __resultbuf , |
|
9032 |
struct passwd * __restrict __resultbuf , |
| 9033 |
char * __restrict __buffer , size_t __buflen , |
|
9033 |
char * __restrict __buffer , size_t __buflen , |
| 9034 |
struct passwd ** __restrict __result ) ; |
|
9034 |
struct passwd ** __restrict __result ) ; |
| 9035 |
extern int fgetpwent_r(FILE * __restrict __stream , |
|
9035 |
extern int fgetpwent_r(FILE * __restrict __stream , |
| 9036 |
struct passwd * __restrict __resultbuf , |
|
9036 |
struct passwd * __restrict __resultbuf , |
| 9037 |
char * __restrict __buffer , size_t __buflen , |
|
9037 |
char * __restrict __buffer , size_t __buflen , |
| 9038 |
struct passwd ** __restrict __result ) ; |
|
9038 |
struct passwd ** __restrict __result ) ; |
| 9039 |
extern int __attribute__((__visibility__("default"))) ap_php_slprintf(char *buf , |
|
9039 |
extern int __attribute__((__visibility__("default"))) ap_php_slprintf(char *buf , |
| 9040 |
size_t len , |
|
9040 |
size_t len , |
| 9041 |
char const *format |
|
9041 |
char const *format |
| 9042 |
, ...) ; |
|
9042 |
, ...) ; |
| 9043 |
extern int __attribute__((__visibility__("default"))) ap_php_vslprintf(char *buf , |
|
9043 |
extern int __attribute__((__visibility__("default"))) ap_php_vslprintf(char *buf , |
| 9044 |
size_t len , |
|
9044 |
size_t len , |
| 9045 |
char const *format , |
|
9045 |
char const *format , |
| 9046 |
va_list ap ) ; |
|
9046 |
va_list ap ) ; |
| 9047 |
extern int __attribute__((__visibility__("default"))) ap_php_snprintf(char * , |
|
9047 |
extern int __attribute__((__visibility__("default"))) ap_php_snprintf(char * , |
| 9048 |
size_t , |
|
9048 |
size_t , |
| 9049 |
char const * |
|
9049 |
char const * |
| 9050 |
, ...) ; |
|
9050 |
, ...) ; |
| 9051 |
extern int __attribute__((__visibility__("default"))) ap_php_vsnprintf(char * , |
|
9051 |
extern int __attribute__((__visibility__("default"))) ap_php_vsnprintf(char * , |
| 9052 |
size_t , |
|
9052 |
size_t , |
| 9053 |
char const * , |
|
9053 |
char const * , |
| 9054 |
va_list ap ) ; |
|
9054 |
va_list ap ) ; |
| 9055 |
extern int __attribute__((__visibility__("default"))) ap_php_vasprintf(char **buf , |
|
9055 |
extern int __attribute__((__visibility__("default"))) ap_php_vasprintf(char **buf , |
| 9056 |
char const *format , |
|
9056 |
char const *format , |
| 9057 |
va_list ap ) ; |
|
9057 |
va_list ap ) ; |
| 9058 |
extern int __attribute__((__visibility__("default"))) ap_php_asprintf(char **buf , |
|
9058 |
extern int __attribute__((__visibility__("default"))) ap_php_asprintf(char **buf , |
| 9059 |
char const *format |
|
9059 |
char const *format |
| 9060 |
, ...) ; |
|
9060 |
, ...) ; |
| 9061 |
extern int __attribute__((__visibility__("default"))) ( php_sprintf)(char *s , |
|
9061 |
extern int __attribute__((__visibility__("default"))) ( php_sprintf)(char *s , |
| 9062 |
char const *format |
|
9062 |
char const *format |
| 9063 |
, ...) ; |
|
9063 |
, ...) ; |
| 9064 |
extern char __attribute__((__visibility__("default"))) *php_gcvt(double value , |
|
9064 |
extern char __attribute__((__visibility__("default"))) *php_gcvt(double value , |
| 9065 |
int ndigit , |
|
9065 |
int ndigit , |
| 9066 |
char dec_point , |
|
9066 |
char dec_point , |
| 9067 |
char exponent , |
|
9067 |
char exponent , |
| 9068 |
char *buf ) ; |
|
9068 |
char *buf ) ; |
| 9069 |
extern char __attribute__((__visibility__("default"))) *php_conv_fp(char format , |
|
9069 |
extern char __attribute__((__visibility__("default"))) *php_conv_fp(char format , |
| 9070 |
double num , |
|
9070 |
double num , |
| 9071 |
boolean_e add_dp , |
|
9071 |
boolean_e add_dp , |
| 9072 |
int precision , |
|
9072 |
int precision , |
| 9073 |
char dec_point , |
|
9073 |
char dec_point , |
| 9074 |
bool_int *is_negative , |
|
9074 |
bool_int *is_negative , |
| 9075 |
char *buf , |
|
9075 |
char *buf , |
| 9076 |
int *len ) ; |
|
9076 |
int *len ) ; |
| 9077 |
extern char *ap_php_conv_10(wide_int num , bool_int is_unsigned , |
|
9077 |
extern char *ap_php_conv_10(wide_int num , bool_int is_unsigned , |
| 9078 |
bool_int *is_negative , char *buf_end , int *len ) ; |
|
9078 |
bool_int *is_negative , char *buf_end , int *len ) ; |
| 9079 |
extern char *ap_php_conv_p2(u_wide_int num , int nbits , char format , |
|
9079 |
extern char *ap_php_conv_p2(u_wide_int num , int nbits , char format , |
| 9080 |
char *buf_end , int *len ) ; |
|
9080 |
char *buf_end , int *len ) ; |
| 9081 |
extern int __attribute__((__visibility__("default"))) ( spprintf)(char **pbuf , |
|
9081 |
extern int __attribute__((__visibility__("default"))) ( spprintf)(char **pbuf , |
| 9082 |
size_t max_len , |
|
9082 |
size_t max_len , |
| 9083 |
char const *format |
|
9083 |
char const *format |
| 9084 |
, ...) ; |
|
9084 |
, ...) ; |
| 9085 |
extern int __attribute__((__visibility__("default"))) ( vspprintf)(char **pbuf , |
|
9085 |
extern int __attribute__((__visibility__("default"))) ( vspprintf)(char **pbuf , |
| 9086 |
size_t max_len , |
|
9086 |
size_t max_len , |
| 9087 |
char const *format , |
|
9087 |
char const *format , |
| 9088 |
va_list ap ) ; |
|
9088 |
va_list ap ) ; |
| 9089 |
extern char **environ ; |
|
9089 |
extern char **environ ; |
| 9090 |
extern void phperror(char *error ) ; |
|
9090 |
extern void phperror(char *error ) ; |
| 9091 |
extern int __attribute__((__visibility__("default"))) php_write(void *buf , |
|
9091 |
extern int __attribute__((__visibility__("default"))) php_write(void *buf , |
| 9092 |
uint size ) ; |
|
9092 |
uint size ) ; |
| 9093 |
extern int __attribute__((__visibility__("default"))) ( php_printf)(char const *format |
|
9093 |
extern int __attribute__((__visibility__("default"))) ( php_printf)(char const *format |
| 9094 |
, ...) ; |
|
9094 |
, ...) ; |
| 9095 |
extern void __attribute__((__visibility__("default"))) php_log_err(char *log_message ) ; |
|
9095 |
extern void __attribute__((__visibility__("default"))) php_log_err(char *log_message ) ; |
| 9096 |
extern int ( Debug)(char *format , ...) ; |
|
9096 |
extern int ( Debug)(char *format , ...) ; |
| 9097 |
extern int cfgparse(void) ; |
|
9097 |
extern int cfgparse(void) ; |
| 9098 |
__inline static void __attribute__((__deprecated__)) php_set_error_handling(zend_error_handling_t error_handling , |
|
9098 |
__inline static void __attribute__((__deprecated__)) php_set_error_handling(zend_error_handling_t error_handling , |
| 9099 |
zend_class_entry *exception_class ) |
|
9099 |
zend_class_entry *exception_class ) |
| 9100 |
{ |
|
9100 |
{ |
| 9101 |
|
|
9101 |
|
| 9102 |
|
|
9102 |
|
| 9103 |
{ |
|
9103 |
{ |
| 9104 |
zend_replace_error_handling(error_handling, exception_class, |
|
9104 |
zend_replace_error_handling(error_handling, exception_class, |
| 9105 |
(zend_error_handling *)((void *)0)); |
|
9105 |
(zend_error_handling *)((void *)0)); |
| 9106 |
return; |
|
9106 |
return; |
| 9107 |
} |
|
9107 |
} |
| 9108 |
} |
|
9108 |
} |
| 9109 |
__inline static void __attribute__((__deprecated__)) php_std_error_handling(void) |
|
9109 |
__inline static void __attribute__((__deprecated__)) php_std_error_handling(void) |
| 9110 |
{ |
|
9110 |
{ |
| 9111 |
|
|
9111 |
|
| 9112 |
|
|
9112 |
|
| 9113 |
{ |
|
9113 |
{ |
| 9114 |
return; |
|
9114 |
return; |
| 9115 |
} |
|
9115 |
} |
| 9116 |
} |
|
9116 |
} |
| 9117 |
extern void __attribute__((__visibility__("default"))) ( php_verror)(char const *docref , |
|
9117 |
extern void __attribute__((__visibility__("default"))) ( php_verror)(char const *docref , |
| 9118 |
char const *params , |
|
9118 |
char const *params , |
| 9119 |
int type , |
|
9119 |
int type , |
| 9120 |
char const *format , |
|
9120 |
char const *format , |
| 9121 |
va_list args ) ; |
|
9121 |
va_list args ) ; |
| 9122 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref0)(char const *docref , |
|
9122 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref0)(char const *docref , |
| 9123 |
int type , |
|
9123 |
int type , |
| 9124 |
char const *format |
|
9124 |
char const *format |
| 9125 |
, ...) ; |
|
9125 |
, ...) ; |
| 9126 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref1)(char const *docref , |
|
9126 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref1)(char const *docref , |
| 9127 |
char const *param1 , |
|
9127 |
char const *param1 , |
| 9128 |
int type , |
|
9128 |
int type , |
| 9129 |
char const *format |
|
9129 |
char const *format |
| 9130 |
, ...) ; |
|
9130 |
, ...) ; |
| 9131 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref2)(char const *docref , |
|
9131 |
extern void __attribute__((__visibility__("default"))) ( php_error_docref2)(char const *docref , |
| 9132 |
char const *param1 , |
|
9132 |
char const *param1 , |
| 9133 |
char const *param2 , |
|
9133 |
char const *param2 , |
| 9134 |
int type , |
|
9134 |
int type , |
| 9135 |
char const *format |
|
9135 |
char const *format |
| 9136 |
, ...) ; |
|
9136 |
, ...) ; |
| 9137 |
extern int __attribute__((__visibility__("default"))) (*php_register_internal_extensions_func)(void) ; |
|
9137 |
extern int __attribute__((__visibility__("default"))) (*php_register_internal_extensions_func)(void) ; |
| 9138 |
extern int __attribute__((__visibility__("default"))) php_register_internal_extensions(void) ; |
|
9138 |
extern int __attribute__((__visibility__("default"))) php_register_internal_extensions(void) ; |
| 9139 |
extern int __attribute__((__visibility__("default"))) php_mergesort(void *base , |
|
9139 |
extern int __attribute__((__visibility__("default"))) php_mergesort(void *base , |
| 9140 |
size_t nmemb , |
|
9140 |
size_t nmemb , |
| 9141 |
size_t size , |
|
9141 |
size_t size , |
| 9142 |
int (*cmp)(void const * , |
|
9142 |
int (*cmp)(void const * , |
| 9143 |
void const * ) ) ; |
|
9143 |
void const * ) ) ; |
| 9144 |
extern void __attribute__((__visibility__("default"))) php_register_pre_request_shutdown(void (*func)(void * ) , |
|
9144 |
extern void __attribute__((__visibility__("default"))) php_register_pre_request_shutdown(void (*func)(void * ) , |
| 9145 |
void *userdata ) ; |
|
9145 |
void *userdata ) ; |
| 9146 |
extern void __attribute__((__visibility__("default"))) php_com_initialize(void) ; |
|
9146 |
extern void __attribute__((__visibility__("default"))) php_com_initialize(void) ; |
| 9147 |
extern char __attribute__((__visibility__("default"))) *php_get_current_user(void) ; |
|
9147 |
extern char __attribute__((__visibility__("default"))) *php_get_current_user(void) ; |
| 9148 |
extern char const php_output_default_handler_name[sizeof("default output handler")] ; |
|
9148 |
extern char const php_output_default_handler_name[sizeof("default output handler")] ; |
| 9149 |
extern char const php_output_devnull_handler_name[sizeof("null output handler")] ; |
|
9149 |
extern char const php_output_devnull_handler_name[sizeof("null output handler")] ; |
| 9150 |
extern void __attribute__((__visibility__("default"))) php_output_startup(void) ; |
|
9150 |
extern void __attribute__((__visibility__("default"))) php_output_startup(void) ; |
| 9151 |
extern void __attribute__((__visibility__("default"))) php_output_shutdown(void) ; |
|
9151 |
extern void __attribute__((__visibility__("default"))) php_output_shutdown(void) ; |
| 9152 |
extern void __attribute__((__visibility__("default"))) php_output_register_constants(void) ; |
|
9152 |
extern void __attribute__((__visibility__("default"))) php_output_register_constants(void) ; |
| 9153 |
extern int __attribute__((__visibility__("default"))) php_output_activate(void) ; |
|
9153 |
extern int __attribute__((__visibility__("default"))) php_output_activate(void) ; |
| 9154 |
extern void __attribute__((__visibility__("default"))) php_output_deactivate(void) ; |
|
9154 |
extern void __attribute__((__visibility__("default"))) php_output_deactivate(void) ; |
| 9155 |
extern void __attribute__((__visibility__("default"))) php_output_set_status(int status ) ; |
|
9155 |
extern void __attribute__((__visibility__("default"))) php_output_set_status(int status ) ; |
| 9156 |
extern int __attribute__((__visibility__("default"))) php_output_get_status(void) ; |
|
9156 |
extern int __attribute__((__visibility__("default"))) php_output_get_status(void) ; |
| 9157 |
extern void __attribute__((__visibility__("default"))) php_output_set_implicit_flush(int flush ) ; |
|
9157 |
extern void __attribute__((__visibility__("default"))) php_output_set_implicit_flush(int flush ) ; |
| 9158 |
extern char __attribute__((__visibility__("default"))) *php_output_get_start_filename(void) ; |
|
9158 |
extern char __attribute__((__visibility__("default"))) *php_output_get_start_filename(void) ; |
| 9159 |
extern int __attribute__((__visibility__("default"))) php_output_get_start_lineno(void) ; |
|
9159 |
extern int __attribute__((__visibility__("default"))) php_output_get_start_lineno(void) ; |
| 9160 |
extern int __attribute__((__visibility__("default"))) php_output_write_unbuffered(char const *str , |
|
9160 |
extern int __attribute__((__visibility__("default"))) php_output_write_unbuffered(char const *str , |
| 9161 |
size_t len ) ; |
|
9161 |
size_t len ) ; |
| 9162 |
extern int __attribute__((__visibility__("default"))) php_output_write(char const *str , |
|
9162 |
extern int __attribute__((__visibility__("default"))) php_output_write(char const *str , |
| 9163 |
size_t len ) ; |
|
9163 |
size_t len ) ; |
| 9164 |
extern int __attribute__((__visibility__("default"))) php_output_flush(void) ; |
|
9164 |
extern int __attribute__((__visibility__("default"))) php_output_flush(void) ; |
| 9165 |
extern void __attribute__((__visibility__("default"))) php_output_flush_all(void) ; |
|
9165 |
extern void __attribute__((__visibility__("default"))) php_output_flush_all(void) ; |
| 9166 |
extern int __attribute__((__visibility__("default"))) php_output_clean(void) ; |
|
9166 |
extern int __attribute__((__visibility__("default"))) php_output_clean(void) ; |
| 9167 |
extern void __attribute__((__visibility__("default"))) php_output_clean_all(void) ; |
|
9167 |
extern void __attribute__((__visibility__("default"))) php_output_clean_all(void) ; |
| 9168 |
extern int __attribute__((__visibility__("default"))) php_output_end(void) ; |
|
9168 |
extern int __attribute__((__visibility__("default"))) php_output_end(void) ; |
| 9169 |
extern void __attribute__((__visibility__("default"))) php_output_end_all(void) ; |
|
9169 |
extern void __attribute__((__visibility__("default"))) php_output_end_all(void) ; |
| 9170 |
extern int __attribute__((__visibility__("default"))) php_output_discard(void) ; |
|
9170 |
extern int __attribute__((__visibility__("default"))) php_output_discard(void) ; |
| 9171 |
extern void __attribute__((__visibility__("default"))) php_output_discard_all(void) ; |
|
9171 |
extern void __attribute__((__visibility__("default"))) php_output_discard_all(void) ; |
| 9172 |
extern int __attribute__((__visibility__("default"))) php_output_get_contents(zval *p ) ; |
|
9172 |
extern int __attribute__((__visibility__("default"))) php_output_get_contents(zval *p ) ; |
| 9173 |
extern int __attribute__((__visibility__("default"))) php_output_get_length(zval *p ) ; |
|
9173 |
extern int __attribute__((__visibility__("default"))) php_output_get_length(zval *p ) ; |
| 9174 |
extern int __attribute__((__visibility__("default"))) php_output_get_level(void) ; |
|
9174 |
extern int __attribute__((__visibility__("default"))) php_output_get_level(void) ; |
| 9175 |
extern int __attribute__((__visibility__("default"))) php_output_start_default(void) ; |
|
9175 |
extern int __attribute__((__visibility__("default"))) php_output_start_default(void) ; |
| 9176 |
extern int __attribute__((__visibility__("default"))) php_output_start_devnull(void) ; |
|
9176 |
extern int __attribute__((__visibility__("default"))) php_output_start_devnull(void) ; |
| 9177 |
extern int __attribute__((__visibility__("default"))) php_output_start_user(zval *output_handler , |
|
9177 |
extern int __attribute__((__visibility__("default"))) php_output_start_user(zval *output_handler , |
| 9178 |
size_t chunk_size , |
|
9178 |
size_t chunk_size , |
| 9179 |
int flags ) ; |
|
9179 |
int flags ) ; |
| 9180 |
extern int __attribute__((__visibility__("default"))) php_output_start_internal(char const *name , |
|
9180 |
extern int __attribute__((__visibility__("default"))) php_output_start_internal(char const *name , |
| 9181 |
size_t name_len , |
|
9181 |
size_t name_len , |
| 9182 |
void (*output_handler)(char *output , |
|
9182 |
void (*output_handler)(char *output , |
| 9183 |
uint output_len , |
|
9183 |
uint output_len , |
| 9184 |
char **handled_output , |
|
9184 |
char **handled_output , |
| 9185 |
uint *handled_output_len , |
|
9185 |
uint *handled_output_len , |
| 9186 |
int mode ) , |
|
9186 |
int mode ) , |
| 9187 |
size_t chunk_size , |
|
9187 |
size_t chunk_size , |
| 9188 |
int flags ) ; |
|
9188 |
int flags ) ; |
| 9189 |
extern php_output_handler __attribute__((__visibility__("default"))) *php_output_handler_create_user(zval *handler , |
|
9189 |
extern php_output_handler __attribute__((__visibility__("default"))) *php_output_handler_create_user(zval *handler , |
| 9190 |
size_t chunk_size , |
|
9190 |
size_t chunk_size , |
| 9191 |
int flags ) ; |
|
9191 |
int flags ) ; |
| 9192 |
extern php_output_handler __attribute__((__visibility__("default"))) *php_output_handler_create_internal(char const *name , |
|
9192 |
extern php_output_handler __attribute__((__visibility__("default"))) *php_output_handler_create_internal(char const *name , |
| 9193 |
size_t name_len , |
|
9193 |
size_t name_len , |
| 9194 |
int (*handler)(void **handler_context , |
|
9194 |
int (*handler)(void **handler_context , |
| 9195 |
php_output_context *output_context ) , |
|
9195 |
php_output_context *output_context ) , |
| 9196 |
size_t chunk_size , |
|
9196 |
size_t chunk_size , |
| 9197 |
int flags ) ; |
|
9197 |
int flags ) ; |
| 9198 |
extern void __attribute__((__visibility__("default"))) php_output_handler_set_context(php_output_handler *handler , |
|
9198 |
extern void __attribute__((__visibility__("default"))) php_output_handler_set_context(php_output_handler *handler , |
| 9199 |
void *opaq , |
|
9199 |
void *opaq , |
| 9200 |
void (*dtor)(void * ) ) ; |
|
9200 |
void (*dtor)(void * ) ) ; |
| 9201 |
extern int __attribute__((__visibility__("default"))) php_output_handler_start(php_output_handler *handler ) ; |
|
9201 |
extern int __attribute__((__visibility__("default"))) php_output_handler_start(php_output_handler *handler ) ; |
| 9202 |
extern int __attribute__((__visibility__("default"))) php_output_handler_started(char const *name , |
|
9202 |
extern int __attribute__((__visibility__("default"))) php_output_handler_started(char const *name , |
| 9203 |
size_t name_len ) ; |
|
9203 |
size_t name_len ) ; |
| 9204 |
extern int __attribute__((__visibility__("default"))) php_output_handler_hook(php_output_handler_hook_t type , |
|
9204 |
extern int __attribute__((__visibility__("default"))) php_output_handler_hook(php_output_handler_hook_t type , |
| 9205 |
void *arg ) ; |
|
9205 |
void *arg ) ; |
| 9206 |
extern void __attribute__((__visibility__("default"))) php_output_handler_dtor(php_output_handler *handler ) ; |
|
9206 |
extern void __attribute__((__visibility__("default"))) php_output_handler_dtor(php_output_handler *handler ) ; |
| 9207 |
extern void __attribute__((__visibility__("default"))) php_output_handler_free(php_output_handler **handler ) ; |
|
9207 |
extern void __attribute__((__visibility__("default"))) php_output_handler_free(php_output_handler **handler ) ; |
| 9208 |
extern int __attribute__((__visibility__("default"))) php_output_handler_conflict(char const *handler_new , |
|
9208 |
extern int __attribute__((__visibility__("default"))) php_output_handler_conflict(char const *handler_new , |
| 9209 |
size_t handler_new_len , |
|
9209 |
size_t handler_new_len , |
| 9210 |
char const *handler_set , |
|
9210 |
char const *handler_set , |
| 9211 |
size_t handler_set_len ) ; |
|
9211 |
size_t handler_set_len ) ; |
| 9212 |
extern int __attribute__((__visibility__("default"))) php_output_handler_conflict_register(char const *handler_name , |
|
9212 |
extern int __attribute__((__visibility__("default"))) php_output_handler_conflict_register(char const *handler_name , |
| 9213 |
size_t handler_name_len , |
|
9213 |
size_t handler_name_len , |
| 9214 |
int (*check_func)(char const *handler_name , |
|
9214 |
int (*check_func)(char const *handler_name , |
| 9215 |
size_t handler_name_len ) ) ; |
|
9215 |
size_t handler_name_len ) ) ; |
| 9216 |
extern int __attribute__((__visibility__("default"))) php_output_handler_reverse_conflict_register(char const *handler_name , |
|
9216 |
extern int __attribute__((__visibility__("default"))) php_output_handler_reverse_conflict_register(char const *handler_name , |
| 9217 |
size_t handler_name_len , |
|
9217 |
size_t handler_name_len , |
| 9218 |
int (*check_func)(char const *handler_name , |
|
9218 |
int (*check_func)(char const *handler_name , |
| 9219 |
size_t handler_name_len ) ) ; |
|
9219 |
size_t handler_name_len ) ) ; |
| 9220 |
extern php_output_handler_alias_ctor_t __attribute__((__visibility__("default"))) *php_output_handler_alias(char const *handler_name , |
|
9220 |
extern php_output_handler_alias_ctor_t __attribute__((__visibility__("default"))) *php_output_handler_alias(char const *handler_name , |
| 9221 |
size_t handler_name_len ) ; |
|
9221 |
size_t handler_name_len ) ; |
| 9222 |
extern int __attribute__((__visibility__("default"))) php_output_handler_alias_register(char const *handler_name , |
|
9222 |
extern int __attribute__((__visibility__("default"))) php_output_handler_alias_register(char const *handler_name , |
| 9223 |
size_t handler_name_len , |
|
9223 |
size_t handler_name_len , |
| 9224 |
struct _php_output_handler *(*func)(char const *handler_name , |
|
9224 |
struct _php_output_handler *(*func)(char const *handler_name , |
| 9225 |
size_t handler_name_len , |
|
9225 |
size_t handler_name_len , |
| 9226 |
size_t chunk_size , |
|
9226 |
size_t chunk_size , |
| 9227 |
int flags ) ) ; |
|
9227 |
int flags ) ) ; |
| 9228 |
extern void zif_ob_start(int ht , zval *return_value , zval **return_value_ptr , |
|
9228 |
extern void zif_ob_start(int ht , zval *return_value , zval **return_value_ptr , |
| 9229 |
zval *this_ptr , int return_value_used ) ; |
|
9229 |
zval *this_ptr , int return_value_used ) ; |
| 9230 |
extern void zif_ob_flush(int ht , zval *return_value , zval **return_value_ptr , |
|
9230 |
extern void zif_ob_flush(int ht , zval *return_value , zval **return_value_ptr , |
| 9231 |
zval *this_ptr , int return_value_used ) ; |
|
9231 |
zval *this_ptr , int return_value_used ) ; |
| 9232 |
extern void zif_ob_clean(int ht , zval *return_value , zval **return_value_ptr , |
|
9232 |
extern void zif_ob_clean(int ht , zval *return_value , zval **return_value_ptr , |
| 9233 |
zval *this_ptr , int return_value_used ) ; |
|
9233 |
zval *this_ptr , int return_value_used ) ; |
| 9234 |
extern void zif_ob_end_flush(int ht , zval *return_value , |
|
9234 |
extern void zif_ob_end_flush(int ht , zval *return_value , |
| 9235 |
zval **return_value_ptr , zval *this_ptr , |
|
9235 |
zval **return_value_ptr , zval *this_ptr , |
| 9236 |
int return_value_used ) ; |
|
9236 |
int return_value_used ) ; |
| 9237 |
extern void zif_ob_end_clean(int ht , zval *return_value , |
|
9237 |
extern void zif_ob_end_clean(int ht , zval *return_value , |
| 9238 |
zval **return_value_ptr , zval *this_ptr , |
|
9238 |
zval **return_value_ptr , zval *this_ptr , |
| 9239 |
int return_value_used ) ; |
|
9239 |
int return_value_used ) ; |
| 9240 |
extern void zif_ob_get_flush(int ht , zval *return_value , |
|
9240 |
extern void zif_ob_get_flush(int ht , zval *return_value , |
| 9241 |
zval **return_value_ptr , zval *this_ptr , |
|
9241 |
zval **return_value_ptr , zval *this_ptr , |
| 9242 |
int return_value_used ) ; |
|
9242 |
int return_value_used ) ; |
| 9243 |
extern void zif_ob_get_clean(int ht , zval *return_value , |
|
9243 |
extern void zif_ob_get_clean(int ht , zval *return_value , |
| 9244 |
zval **return_value_ptr , zval *this_ptr , |
|
9244 |
zval **return_value_ptr , zval *this_ptr , |
| 9245 |
int return_value_used ) ; |
|
9245 |
int return_value_used ) ; |
| 9246 |
extern void zif_ob_get_contents(int ht , zval *return_value , |
|
9246 |
extern void zif_ob_get_contents(int ht , zval *return_value , |
| 9247 |
zval **return_value_ptr , zval *this_ptr , |
|
9247 |
zval **return_value_ptr , zval *this_ptr , |
| 9248 |
int return_value_used ) ; |
|
9248 |
int return_value_used ) ; |
| 9249 |
extern void zif_ob_get_length(int ht , zval *return_value , |
|
9249 |
extern void zif_ob_get_length(int ht , zval *return_value , |
| 9250 |
zval **return_value_ptr , zval *this_ptr , |
|
9250 |
zval **return_value_ptr , zval *this_ptr , |
| 9251 |
int return_value_used ) ; |
|
9251 |
int return_value_used ) ; |
| 9252 |
extern void zif_ob_get_level(int ht , zval *return_value , |
|
9252 |
extern void zif_ob_get_level(int ht , zval *return_value , |
| 9253 |
zval **return_value_ptr , zval *this_ptr , |
|
9253 |
zval **return_value_ptr , zval *this_ptr , |
| 9254 |
int return_value_used ) ; |
|
9254 |
int return_value_used ) ; |
| 9255 |
extern void zif_ob_get_status(int ht , zval *return_value , |
|
9255 |
extern void zif_ob_get_status(int ht , zval *return_value , |
| 9256 |
zval **return_value_ptr , zval *this_ptr , |
|
9256 |
zval **return_value_ptr , zval *this_ptr , |
| 9257 |
int return_value_used ) ; |
|
9257 |
int return_value_used ) ; |
| 9258 |
extern void zif_ob_implicit_flush(int ht , zval *return_value , |
|
9258 |
extern void zif_ob_implicit_flush(int ht , zval *return_value , |
| 9259 |
zval **return_value_ptr , zval *this_ptr , |
|
9259 |
zval **return_value_ptr , zval *this_ptr , |
| 9260 |
int return_value_used ) ; |
|
9260 |
int return_value_used ) ; |
| 9261 |
extern void zif_ob_list_handlers(int ht , zval *return_value , |
|
9261 |
extern void zif_ob_list_handlers(int ht , zval *return_value , |
| 9262 |
zval **return_value_ptr , zval *this_ptr , |
|
9262 |
zval **return_value_ptr , zval *this_ptr , |
| 9263 |
int return_value_used ) ; |
|
9263 |
int return_value_used ) ; |
| 9264 |
extern void zif_output_add_rewrite_var(int ht , zval *return_value , |
|
9264 |
extern void zif_output_add_rewrite_var(int ht , zval *return_value , |
| 9265 |
zval **return_value_ptr , |
|
9265 |
zval **return_value_ptr , |
| 9266 |
zval *this_ptr , int return_value_used ) ; |
|
9266 |
zval *this_ptr , int return_value_used ) ; |
| 9267 |
extern void zif_output_reset_rewrite_vars(int ht , zval *return_value , |
|
9267 |
extern void zif_output_reset_rewrite_vars(int ht , zval *return_value , |
| 9268 |
zval **return_value_ptr , |
|
9268 |
zval **return_value_ptr , |
| 9269 |
zval *this_ptr , |
|
9269 |
zval *this_ptr , |
| 9270 |
int return_value_used ) ; |
|
9270 |
int return_value_used ) ; |
| 9271 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict __tv , |
|
9271 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict __tv , |
| 9272 |
__timezone_ptr_t __tz ) ; |
|
9272 |
__timezone_ptr_t __tz ) ; |
| 9273 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval const *__tv , |
|
9273 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval const *__tv , |
| 9274 |
struct timezone const *__tz ) ; |
|
9274 |
struct timezone const *__tz ) ; |
| 9275 |
extern __attribute__((__nothrow__)) int adjtime(struct timeval const *__delta , |
|
9275 |
extern __attribute__((__nothrow__)) int adjtime(struct timeval const *__delta , |
| 9276 |
struct timeval *__olddelta ) ; |
|
9276 |
struct timeval *__olddelta ) ; |
| 9277 |
extern __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which , |
|
9277 |
extern __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which , |
| 9278 |
struct itimerval *__value ) ; |
|
9278 |
struct itimerval *__value ) ; |
| 9279 |
extern __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which , |
|
9279 |
extern __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which , |
| 9280 |
struct itimerval const * __restrict __new , |
|
9280 |
struct itimerval const * __restrict __new , |
| 9281 |
struct itimerval * __restrict __old ) ; |
|
9281 |
struct itimerval * __restrict __old ) ; |
| 9282 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const *__file , |
|
9282 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const *__file , |
| 9283 |
struct timeval const *__tvp ) ; |
|
9283 |
struct timeval const *__tvp ) ; |
| 9284 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const *__file , |
|
9284 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const *__file , |
| 9285 |
struct timeval const *__tvp ) ; |
|
9285 |
struct timeval const *__tvp ) ; |
| 9286 |
extern __attribute__((__nothrow__)) int futimes(int __fd , |
|
9286 |
extern __attribute__((__nothrow__)) int futimes(int __fd , |
| 9287 |
struct timeval const *__tvp ) ; |
|
9287 |
struct timeval const *__tvp ) ; |
| 9288 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
9288 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 9289 |
struct stat * __restrict __statbuf ) ; |
|
9289 |
struct stat * __restrict __statbuf ) ; |
| 9290 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
9290 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 9291 |
struct stat *__statbuf ) ; |
|
9291 |
struct stat *__statbuf ) ; |
| 9292 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
9292 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 9293 |
char const * __restrict __filename , |
|
9293 |
char const * __restrict __filename , |
| 9294 |
struct stat * __restrict __statbuf , |
|
9294 |
struct stat * __restrict __statbuf , |
| 9295 |
int __flag ) ; |
|
9295 |
int __flag ) ; |
| 9296 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
9296 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 9297 |
struct stat * __restrict __statbuf ) ; |
|
9297 |
struct stat * __restrict __statbuf ) ; |
| 9298 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const *__file , |
|
9298 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const *__file , |
| 9299 |
__mode_t __mode ) ; |
|
9299 |
__mode_t __mode ) ; |
| 9300 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const *__file , |
|
9300 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const *__file , |
| 9301 |
__mode_t __mode ) ; |
|
9301 |
__mode_t __mode ) ; |
| 9302 |
extern __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ; |
|
9302 |
extern __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ; |
| 9303 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd , |
|
9303 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd , |
| 9304 |
char const *__file , |
|
9304 |
char const *__file , |
| 9305 |
__mode_t __mode , |
|
9305 |
__mode_t __mode , |
| 9306 |
int __flag ) ; |
|
9306 |
int __flag ) ; |
| 9307 |
extern __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ; |
|
9307 |
extern __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ; |
| 9308 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const *__path , |
|
9308 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const *__path , |
| 9309 |
__mode_t __mode ) ; |
|
9309 |
__mode_t __mode ) ; |
| 9310 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd , |
|
9310 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd , |
| 9311 |
char const *__path , |
|
9311 |
char const *__path , |
| 9312 |
__mode_t __mode ) ; |
|
9312 |
__mode_t __mode ) ; |
| 9313 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
9313 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 9314 |
__mode_t __mode , |
|
9314 |
__mode_t __mode , |
| 9315 |
__dev_t __dev ) ; |
|
9315 |
__dev_t __dev ) ; |
| 9316 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
9316 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 9317 |
char const *__path , |
|
9317 |
char const *__path , |
| 9318 |
__mode_t __mode , |
|
9318 |
__mode_t __mode , |
| 9319 |
__dev_t __dev ) ; |
|
9319 |
__dev_t __dev ) ; |
| 9320 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const *__path , |
|
9320 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const *__path , |
| 9321 |
__mode_t __mode ) ; |
|
9321 |
__mode_t __mode ) ; |
| 9322 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd , |
|
9322 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd , |
| 9323 |
char const *__path , |
|
9323 |
char const *__path , |
| 9324 |
__mode_t __mode ) ; |
|
9324 |
__mode_t __mode ) ; |
| 9325 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd , |
|
9325 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd , |
| 9326 |
char const *__path , |
|
9326 |
char const *__path , |
| 9327 |
struct timespec const *__times , |
|
9327 |
struct timespec const *__times , |
| 9328 |
int __flags ) ; |
|
9328 |
int __flags ) ; |
| 9329 |
extern __attribute__((__nothrow__)) int futimens(int __fd , |
|
9329 |
extern __attribute__((__nothrow__)) int futimens(int __fd , |
| 9330 |
struct timespec const *__times ) ; |
|
9330 |
struct timespec const *__times ) ; |
| 9331 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver , |
|
9331 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver , |
| 9332 |
int __fildes , |
|
9332 |
int __fildes , |
| 9333 |
struct stat *__stat_buf ) ; |
|
9333 |
struct stat *__stat_buf ) ; |
| 9334 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver , |
|
9334 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver , |
| 9335 |
char const *__filename , |
|
9335 |
char const *__filename , |
| 9336 |
struct stat *__stat_buf ) ; |
|
9336 |
struct stat *__stat_buf ) ; |
| 9337 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver , |
|
9337 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver , |
| 9338 |
char const *__filename , |
|
9338 |
char const *__filename , |
| 9339 |
struct stat *__stat_buf ) ; |
|
9339 |
struct stat *__stat_buf ) ; |
| 9340 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver , |
|
9340 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver , |
| 9341 |
int __fildes , |
|
9341 |
int __fildes , |
| 9342 |
char const *__filename , |
|
9342 |
char const *__filename , |
| 9343 |
struct stat *__stat_buf , |
|
9343 |
struct stat *__stat_buf , |
| 9344 |
int __flag ) ; |
|
9344 |
int __flag ) ; |
| 9345 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver , |
|
9345 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver , |
| 9346 |
char const *__path , |
|
9346 |
char const *__path , |
| 9347 |
__mode_t __mode , |
|
9347 |
__mode_t __mode , |
| 9348 |
__dev_t *__dev ) ; |
|
9348 |
__dev_t *__dev ) ; |
| 9349 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver , |
|
9349 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver , |
| 9350 |
int __fd , |
|
9350 |
int __fd , |
| 9351 |
char const *__path , |
|
9351 |
char const *__path , |
| 9352 |
__mode_t __mode , |
|
9352 |
__mode_t __mode , |
| 9353 |
__dev_t *__dev ) ; |
|
9353 |
__dev_t *__dev ) ; |
| 9354 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
9354 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 9355 |
struct stat * __restrict __statbuf ) ; |
|
9355 |
struct stat * __restrict __statbuf ) ; |
| 9356 |
__inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
|
9356 |
__inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const * __restrict __path , |
| 9357 |
struct stat * __restrict __statbuf ) |
|
9357 |
struct stat * __restrict __statbuf ) |
| 9358 |
{ |
|
9358 |
{ |
| 9359 |
int tmp ; |
|
9359 |
int tmp ; |
| 9360 |
|
|
9360 |
|
| 9361 |
{ |
|
9361 |
{ |
| 9362 |
tmp = __xstat(3, (char const *)__path, (struct stat *)__statbuf); |
|
9362 |
tmp = __xstat(3, (char const *)__path, (struct stat *)__statbuf); |
| 9363 |
return (tmp); |
|
9363 |
return (tmp); |
| 9364 |
} |
|
9364 |
} |
| 9365 |
} |
|
9365 |
} |
| 9366 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
9366 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 9367 |
struct stat * __restrict __statbuf ) ; |
|
9367 |
struct stat * __restrict __statbuf ) ; |
| 9368 |
__inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
|
9368 |
__inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const * __restrict __path , |
| 9369 |
struct stat * __restrict __statbuf ) |
|
9369 |
struct stat * __restrict __statbuf ) |
| 9370 |
{ |
|
9370 |
{ |
| 9371 |
int tmp ; |
|
9371 |
int tmp ; |
| 9372 |
|
|
9372 |
|
| 9373 |
{ |
|
9373 |
{ |
| 9374 |
tmp = __lxstat(3, (char const *)__path, (struct stat *)__statbuf); |
|
9374 |
tmp = __lxstat(3, (char const *)__path, (struct stat *)__statbuf); |
| 9375 |
return (tmp); |
|
9375 |
return (tmp); |
| 9376 |
} |
|
9376 |
} |
| 9377 |
} |
|
9377 |
} |
| 9378 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
9378 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 9379 |
struct stat *__statbuf ) ; |
|
9379 |
struct stat *__statbuf ) ; |
| 9380 |
__inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
|
9380 |
__inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd , |
| 9381 |
struct stat *__statbuf ) |
|
9381 |
struct stat *__statbuf ) |
| 9382 |
{ |
|
9382 |
{ |
| 9383 |
int tmp ; |
|
9383 |
int tmp ; |
| 9384 |
|
|
9384 |
|
| 9385 |
{ |
|
9385 |
{ |
| 9386 |
tmp = __fxstat(3, __fd, __statbuf); |
|
9386 |
tmp = __fxstat(3, __fd, __statbuf); |
| 9387 |
return (tmp); |
|
9387 |
return (tmp); |
| 9388 |
} |
|
9388 |
} |
| 9389 |
} |
|
9389 |
} |
| 9390 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
9390 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 9391 |
char const * __restrict __filename , |
|
9391 |
char const * __restrict __filename , |
| 9392 |
struct stat * __restrict __statbuf , |
|
9392 |
struct stat * __restrict __statbuf , |
| 9393 |
int __flag ) ; |
|
9393 |
int __flag ) ; |
| 9394 |
__inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
|
9394 |
__inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd , |
| 9395 |
char const * __restrict __filename , |
|
9395 |
char const * __restrict __filename , |
| 9396 |
struct stat * __restrict __statbuf , |
|
9396 |
struct stat * __restrict __statbuf , |
| 9397 |
int __flag ) |
|
9397 |
int __flag ) |
| 9398 |
{ |
|
9398 |
{ |
| 9399 |
int tmp ; |
|
9399 |
int tmp ; |
| 9400 |
|
|
9400 |
|
| 9401 |
{ |
|
9401 |
{ |
| 9402 |
tmp = __fxstatat(3, __fd, (char const *)__filename, |
|
9402 |
tmp = __fxstatat(3, __fd, (char const *)__filename, |
| 9403 |
(struct stat *)__statbuf, __flag); |
|
9403 |
(struct stat *)__statbuf, __flag); |
| 9404 |
return (tmp); |
|
9404 |
return (tmp); |
| 9405 |
} |
|
9405 |
} |
| 9406 |
} |
|
9406 |
} |
| 9407 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
9407 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 9408 |
__mode_t __mode , |
|
9408 |
__mode_t __mode , |
| 9409 |
__dev_t __dev ) ; |
|
9409 |
__dev_t __dev ) ; |
| 9410 |
__inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
|
9410 |
__inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const *__path , |
| 9411 |
__mode_t __mode , |
|
9411 |
__mode_t __mode , |
| 9412 |
__dev_t __dev ) |
|
9412 |
__dev_t __dev ) |
| 9413 |
{ |
|
9413 |
{ |
| 9414 |
int tmp ; |
|
9414 |
int tmp ; |
| 9415 |
|
|
9415 |
|
| 9416 |
{ |
|
9416 |
{ |
| 9417 |
tmp = __xmknod(1, __path, __mode, & __dev); |
|
9417 |
tmp = __xmknod(1, __path, __mode, & __dev); |
| 9418 |
return (tmp); |
|
9418 |
return (tmp); |
| 9419 |
} |
|
9419 |
} |
| 9420 |
} |
|
9420 |
} |
| 9421 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
9421 |
__inline extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 9422 |
char const *__path , |
|
9422 |
char const *__path , |
| 9423 |
__mode_t __mode , |
|
9423 |
__mode_t __mode , |
| 9424 |
__dev_t __dev ) ; |
|
9424 |
__dev_t __dev ) ; |
| 9425 |
__inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
|
9425 |
__inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd , |
| 9426 |
char const *__path , |
|
9426 |
char const *__path , |
| 9427 |
__mode_t __mode , |
|
9427 |
__mode_t __mode , |
| 9428 |
__dev_t __dev ) |
|
9428 |
__dev_t __dev ) |
| 9429 |
{ |
|
9429 |
{ |
| 9430 |
int tmp ; |
|
9430 |
int tmp ; |
| 9431 |
|
|
9431 |
|
| 9432 |
{ |
|
9432 |
{ |
| 9433 |
tmp = __xmknodat(1, __fd, __path, __mode, & __dev); |
|
9433 |
tmp = __xmknodat(1, __fd, __path, __mode, & __dev); |
| 9434 |
return (tmp); |
|
9434 |
return (tmp); |
| 9435 |
} |
|
9435 |
} |
| 9436 |
} |
|
9436 |
} |
| 9437 |
extern int __attribute__((__visibility__("default"))) php_file_le_stream(void) ; |
|
9437 |
extern int __attribute__((__visibility__("default"))) php_file_le_stream(void) ; |
| 9438 |
extern int __attribute__((__visibility__("default"))) php_file_le_pstream(void) ; |
|
9438 |
extern int __attribute__((__visibility__("default"))) php_file_le_pstream(void) ; |
| 9439 |
extern int __attribute__((__visibility__("default"))) php_file_le_stream_filter(void) ; |
|
9439 |
extern int __attribute__((__visibility__("default"))) php_file_le_stream_filter(void) ; |
| 9440 |
extern void __attribute__((__visibility__("default"))) php_stream_context_free(php_stream_context *context ) ; |
|
9440 |
extern void __attribute__((__visibility__("default"))) php_stream_context_free(php_stream_context *context ) ; |
| 9441 |
extern php_stream_context __attribute__((__visibility__("default"))) *php_stream_context_alloc(void) ; |
|
9441 |
extern php_stream_context __attribute__((__visibility__("default"))) *php_stream_context_alloc(void) ; |
| 9442 |
extern int __attribute__((__visibility__("default"))) php_stream_context_get_option(php_stream_context *context , |
|
9442 |
extern int __attribute__((__visibility__("default"))) php_stream_context_get_option(php_stream_context *context , |
| 9443 |
char const *wrappername , |
|
9443 |
char const *wrappername , |
| 9444 |
char const *optionname , |
|
9444 |
char const *optionname , |
| 9445 |
zval ***optionvalue ) ; |
|
9445 |
zval ***optionvalue ) ; |
| 9446 |
extern int __attribute__((__visibility__("default"))) php_stream_context_set_option(php_stream_context *context , |
|
9446 |
extern int __attribute__((__visibility__("default"))) php_stream_context_set_option(php_stream_context *context , |
| 9447 |
char const *wrappername , |
|
9447 |
char const *wrappername , |
| 9448 |
char const *optionname , |
|
9448 |
char const *optionname , |
| 9449 |
zval *optionvalue ) ; |
|
9449 |
zval *optionvalue ) ; |
| 9450 |
extern int __attribute__((__visibility__("default"))) php_stream_context_get_link(php_stream_context *context , |
|
9450 |
extern int __attribute__((__visibility__("default"))) php_stream_context_get_link(php_stream_context *context , |
| 9451 |
char const *hostent , |
|
9451 |
char const *hostent , |
| 9452 |
php_stream **stream ) ; |
|
9452 |
php_stream **stream ) ; |
| 9453 |
extern int __attribute__((__visibility__("default"))) php_stream_context_set_link(php_stream_context *context , |
|
9453 |
extern int __attribute__((__visibility__("default"))) php_stream_context_set_link(php_stream_context *context , |
| 9454 |
char const *hostent , |
|
9454 |
char const *hostent , |
| 9455 |
php_stream *stream ) ; |
|
9455 |
php_stream *stream ) ; |
| 9456 |
extern int __attribute__((__visibility__("default"))) php_stream_context_del_link(php_stream_context *context , |
|
9456 |
extern int __attribute__((__visibility__("default"))) php_stream_context_del_link(php_stream_context *context , |
| 9457 |
php_stream *stream ) ; |
|
9457 |
php_stream *stream ) ; |
| 9458 |
extern php_stream_notifier __attribute__((__visibility__("default"))) *php_stream_notification_alloc(void) ; |
|
9458 |
extern php_stream_notifier __attribute__((__visibility__("default"))) *php_stream_notification_alloc(void) ; |
| 9459 |
extern void __attribute__((__visibility__("default"))) php_stream_notification_free(php_stream_notifier *notifier ) ; |
|
9459 |
extern void __attribute__((__visibility__("default"))) php_stream_notification_free(php_stream_notifier *notifier ) ; |
| 9460 |
extern void __attribute__((__visibility__("default"))) php_stream_notification_notify(php_stream_context *context , |
|
9460 |
extern void __attribute__((__visibility__("default"))) php_stream_notification_notify(php_stream_context *context , |
| 9461 |
int notifycode , |
|
9461 |
int notifycode , |
| 9462 |
int severity , |
|
9462 |
int severity , |
| 9463 |
char *xmsg , |
|
9463 |
char *xmsg , |
| 9464 |
int xcode , |
|
9464 |
int xcode , |
| 9465 |
size_t bytes_sofar , |
|
9465 |
size_t bytes_sofar , |
| 9466 |
size_t bytes_max , |
|
9466 |
size_t bytes_max , |
| 9467 |
void *ptr ) ; |
|
9467 |
void *ptr ) ; |
| 9468 |
extern php_stream_context __attribute__((__visibility__("default"))) *php_stream_context_set(php_stream *stream , |
|
9468 |
extern php_stream_context __attribute__((__visibility__("default"))) *php_stream_context_set(php_stream *stream , |
| 9469 |
php_stream_context *context ) ; |
|
9469 |
php_stream_context *context ) ; |
| 9470 |
extern php_stream_bucket __attribute__((__visibility__("default"))) *php_stream_bucket_new(php_stream *stream , |
|
9470 |
extern php_stream_bucket __attribute__((__visibility__("default"))) *php_stream_bucket_new(php_stream *stream , |
| 9471 |
char *buf , |
|
9471 |
char *buf , |
| 9472 |
size_t buflen , |
|
9472 |
size_t buflen , |
| 9473 |
int own_buf , |
|
9473 |
int own_buf , |
| 9474 |
int buf_persistent ) ; |
|
9474 |
int buf_persistent ) ; |
| 9475 |
extern int __attribute__((__visibility__("default"))) php_stream_bucket_split(php_stream_bucket *in , |
|
9475 |
extern int __attribute__((__visibility__("default"))) php_stream_bucket_split(php_stream_bucket *in , |
| 9476 |
php_stream_bucket **left , |
|
9476 |
php_stream_bucket **left , |
| 9477 |
php_stream_bucket **right , |
|
9477 |
php_stream_bucket **right , |
| 9478 |
size_t length ) ; |
|
9478 |
size_t length ) ; |
| 9479 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_delref(php_stream_bucket *bucket ) ; |
|
9479 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_delref(php_stream_bucket *bucket ) ; |
| 9480 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_prepend(php_stream_bucket_brigade *brigade , |
|
9480 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_prepend(php_stream_bucket_brigade *brigade , |
| 9481 |
php_stream_bucket *bucket ) ; |
|
9481 |
php_stream_bucket *bucket ) ; |
| 9482 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_append(php_stream_bucket_brigade *brigade , |
|
9482 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_append(php_stream_bucket_brigade *brigade , |
| 9483 |
php_stream_bucket *bucket ) ; |
|
9483 |
php_stream_bucket *bucket ) ; |
| 9484 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_unlink(php_stream_bucket *bucket ) ; |
|
9484 |
extern void __attribute__((__visibility__("default"))) php_stream_bucket_unlink(php_stream_bucket *bucket ) ; |
| 9485 |
extern php_stream_bucket __attribute__((__visibility__("default"))) *php_stream_bucket_make_writeable(php_stream_bucket *bucket ) ; |
|
9485 |
extern php_stream_bucket __attribute__((__visibility__("default"))) *php_stream_bucket_make_writeable(php_stream_bucket *bucket ) ; |
| 9486 |
extern void __attribute__((__visibility__("default"))) _php_stream_filter_prepend(php_stream_filter_chain *chain , |
|
9486 |
extern void __attribute__((__visibility__("default"))) _php_stream_filter_prepend(php_stream_filter_chain *chain , |
| 9487 |
php_stream_filter *filter ) ; |
|
9487 |
php_stream_filter *filter ) ; |
| 9488 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_prepend_ex(php_stream_filter_chain *chain , |
|
9488 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_prepend_ex(php_stream_filter_chain *chain , |
| 9489 |
php_stream_filter *filter ) ; |
|
9489 |
php_stream_filter *filter ) ; |
| 9490 |
extern void __attribute__((__visibility__("default"))) _php_stream_filter_append(php_stream_filter_chain *chain , |
|
9490 |
extern void __attribute__((__visibility__("default"))) _php_stream_filter_append(php_stream_filter_chain *chain , |
| 9491 |
php_stream_filter *filter ) ; |
|
9491 |
php_stream_filter *filter ) ; |
| 9492 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_append_ex(php_stream_filter_chain *chain , |
|
9492 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_append_ex(php_stream_filter_chain *chain , |
| 9493 |
php_stream_filter *filter ) ; |
|
9493 |
php_stream_filter *filter ) ; |
| 9494 |
extern int __attribute__((__visibility__("default"))) _php_stream_filter_flush(php_stream_filter *filter , |
|
9494 |
extern int __attribute__((__visibility__("default"))) _php_stream_filter_flush(php_stream_filter *filter , |
| 9495 |
int finish ) ; |
|
9495 |
int finish ) ; |
| 9496 |
extern php_stream_filter __attribute__((__visibility__("default"))) *php_stream_filter_remove(php_stream_filter *filter , |
|
9496 |
extern php_stream_filter __attribute__((__visibility__("default"))) *php_stream_filter_remove(php_stream_filter *filter , |
| 9497 |
int call_dtor ) ; |
|
9497 |
int call_dtor ) ; |
| 9498 |
extern void __attribute__((__visibility__("default"))) php_stream_filter_free(php_stream_filter *filter ) ; |
|
9498 |
extern void __attribute__((__visibility__("default"))) php_stream_filter_free(php_stream_filter *filter ) ; |
| 9499 |
extern php_stream_filter __attribute__((__visibility__("default"))) *_php_stream_filter_alloc(php_stream_filter_ops *fops , |
|
9499 |
extern php_stream_filter __attribute__((__visibility__("default"))) *_php_stream_filter_alloc(php_stream_filter_ops *fops , |
| 9500 |
void *abstract , |
|
9500 |
void *abstract , |
| 9501 |
int persistent ) ; |
|
9501 |
int persistent ) ; |
| 9502 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_register_factory(char const *filterpattern , |
|
9502 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_register_factory(char const *filterpattern , |
| 9503 |
php_stream_filter_factory *factory ) ; |
|
9503 |
php_stream_filter_factory *factory ) ; |
| 9504 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_unregister_factory(char const *filterpattern ) ; |
|
9504 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_unregister_factory(char const *filterpattern ) ; |
| 9505 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_register_factory_volatile(char const *filterpattern , |
|
9505 |
extern int __attribute__((__visibility__("default"))) php_stream_filter_register_factory_volatile(char const *filterpattern , |
| 9506 |
php_stream_filter_factory *factory ) ; |
|
9506 |
php_stream_filter_factory *factory ) ; |
| 9507 |
extern php_stream_filter __attribute__((__visibility__("default"))) *php_stream_filter_create(char const *filtername , |
|
9507 |
extern php_stream_filter __attribute__((__visibility__("default"))) *php_stream_filter_create(char const *filtername , |
| 9508 |
zval *filterparams , |
|
9508 |
zval *filterparams , |
| 9509 |
int persistent ) ; |
|
9509 |
int persistent ) ; |
| 9510 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_alloc(php_stream_ops *ops , |
|
9510 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_alloc(php_stream_ops *ops , |
| 9511 |
void *abstract , |
|
9511 |
void *abstract , |
| 9512 |
char const *persistent_id , |
|
9512 |
char const *persistent_id , |
| 9513 |
char const *mode ) ; |
|
9513 |
char const *mode ) ; |
| 9514 |
extern php_stream __attribute__((__visibility__("default"))) *php_stream_encloses(php_stream *enclosing , |
|
9514 |
extern php_stream __attribute__((__visibility__("default"))) *php_stream_encloses(php_stream *enclosing , |
| 9515 |
php_stream *enclosed ) ; |
|
9515 |
php_stream *enclosed ) ; |
| 9516 |
extern int __attribute__((__visibility__("default"))) _php_stream_free_enclosed(php_stream *stream_enclosed , |
|
9516 |
extern int __attribute__((__visibility__("default"))) _php_stream_free_enclosed(php_stream *stream_enclosed , |
| 9517 |
int close_options ) ; |
|
9517 |
int close_options ) ; |
| 9518 |
extern int __attribute__((__visibility__("default"))) php_stream_from_persistent_id(char const *persistent_id , |
|
9518 |
extern int __attribute__((__visibility__("default"))) php_stream_from_persistent_id(char const *persistent_id , |
| 9519 |
php_stream **stream ) ; |
|
9519 |
php_stream **stream ) ; |
| 9520 |
extern int __attribute__((__visibility__("default"))) _php_stream_free(php_stream *stream , |
|
9520 |
extern int __attribute__((__visibility__("default"))) _php_stream_free(php_stream *stream , |
| 9521 |
int close_options ) ; |
|
9521 |
int close_options ) ; |
| 9522 |
extern int __attribute__((__visibility__("default"))) _php_stream_seek(php_stream *stream , |
|
9522 |
extern int __attribute__((__visibility__("default"))) _php_stream_seek(php_stream *stream , |
| 9523 |
off_t offset , |
|
9523 |
off_t offset , |
| 9524 |
int whence ) ; |
|
9524 |
int whence ) ; |
| 9525 |
extern off_t __attribute__((__visibility__("default"))) _php_stream_tell(php_stream *stream ) ; |
|
9525 |
extern off_t __attribute__((__visibility__("default"))) _php_stream_tell(php_stream *stream ) ; |
| 9526 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_read(php_stream *stream , |
|
9526 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_read(php_stream *stream , |
| 9527 |
char *buf , |
|
9527 |
char *buf , |
| 9528 |
size_t count ) ; |
|
9528 |
size_t count ) ; |
| 9529 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_write(php_stream *stream , |
|
9529 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_write(php_stream *stream , |
| 9530 |
char const *buf , |
|
9530 |
char const *buf , |
| 9531 |
size_t count ) ; |
|
9531 |
size_t count ) ; |
| 9532 |
extern size_t __attribute__((__visibility__("default"))) ( _php_stream_printf)(php_stream *stream , |
|
9532 |
extern size_t __attribute__((__visibility__("default"))) ( _php_stream_printf)(php_stream *stream , |
| 9533 |
char const *fmt |
|
9533 |
char const *fmt |
| 9534 |
, ...) ; |
|
9534 |
, ...) ; |
| 9535 |
extern int __attribute__((__visibility__("default"))) _php_stream_eof(php_stream *stream ) ; |
|
9535 |
extern int __attribute__((__visibility__("default"))) _php_stream_eof(php_stream *stream ) ; |
| 9536 |
extern int __attribute__((__visibility__("default"))) _php_stream_getc(php_stream *stream ) ; |
|
9536 |
extern int __attribute__((__visibility__("default"))) _php_stream_getc(php_stream *stream ) ; |
| 9537 |
extern int __attribute__((__visibility__("default"))) _php_stream_putc(php_stream *stream , |
|
9537 |
extern int __attribute__((__visibility__("default"))) _php_stream_putc(php_stream *stream , |
| 9538 |
int c ) ; |
|
9538 |
int c ) ; |
| 9539 |
extern int __attribute__((__visibility__("default"))) _php_stream_flush(php_stream *stream , |
|
9539 |
extern int __attribute__((__visibility__("default"))) _php_stream_flush(php_stream *stream , |
| 9540 |
int closing ) ; |
|
9540 |
int closing ) ; |
| 9541 |
extern char __attribute__((__visibility__("default"))) *_php_stream_get_line(php_stream *stream , |
|
9541 |
extern char __attribute__((__visibility__("default"))) *_php_stream_get_line(php_stream *stream , |
| 9542 |
char *buf , |
|
9542 |
char *buf , |
| 9543 |
size_t maxlen , |
|
9543 |
size_t maxlen , |
| 9544 |
size_t *returned_len ) ; |
|
9544 |
size_t *returned_len ) ; |
| 9545 |
extern char __attribute__((__visibility__("default"))) *php_stream_get_record(php_stream *stream , |
|
9545 |
extern char __attribute__((__visibility__("default"))) *php_stream_get_record(php_stream *stream , |
| 9546 |
size_t maxlen , |
|
9546 |
size_t maxlen , |
| 9547 |
size_t *returned_len , |
|
9547 |
size_t *returned_len , |
| 9548 |
char *delim , |
|
9548 |
char *delim , |
| 9549 |
size_t delim_len ) ; |
|
9549 |
size_t delim_len ) ; |
| 9550 |
extern int __attribute__((__visibility__("default"))) _php_stream_puts(php_stream *stream , |
|
9550 |
extern int __attribute__((__visibility__("default"))) _php_stream_puts(php_stream *stream , |
| 9551 |
char *buf ) ; |
|
9551 |
char *buf ) ; |
| 9552 |
extern int __attribute__((__visibility__("default"))) _php_stream_stat(php_stream *stream , |
|
9552 |
extern int __attribute__((__visibility__("default"))) _php_stream_stat(php_stream *stream , |
| 9553 |
php_stream_statbuf *ssb ) ; |
|
9553 |
php_stream_statbuf *ssb ) ; |
| 9554 |
extern int __attribute__((__visibility__("default"))) _php_stream_stat_path(char *path , |
|
9554 |
extern int __attribute__((__visibility__("default"))) _php_stream_stat_path(char *path , |
| 9555 |
int flags , |
|
9555 |
int flags , |
| 9556 |
php_stream_statbuf *ssb , |
|
9556 |
php_stream_statbuf *ssb , |
| 9557 |
php_stream_context *context ) ; |
|
9557 |
php_stream_context *context ) ; |
| 9558 |
extern int __attribute__((__visibility__("default"))) _php_stream_mkdir(char *path , |
|
9558 |
extern int __attribute__((__visibility__("default"))) _php_stream_mkdir(char *path , |
| 9559 |
int mode , |
|
9559 |
int mode , |
| 9560 |
int options , |
|
9560 |
int options , |
| 9561 |
php_stream_context *context ) ; |
|
9561 |
php_stream_context *context ) ; |
| 9562 |
extern int __attribute__((__visibility__("default"))) _php_stream_rmdir(char *path , |
|
9562 |
extern int __attribute__((__visibility__("default"))) _php_stream_rmdir(char *path , |
| 9563 |
int options , |
|
9563 |
int options , |
| 9564 |
php_stream_context *context ) ; |
|
9564 |
php_stream_context *context ) ; |
| 9565 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_opendir(char *path , |
|
9565 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_opendir(char *path , |
| 9566 |
int options , |
|
9566 |
int options , |
| 9567 |
php_stream_context *context ) ; |
|
9567 |
php_stream_context *context ) ; |
| 9568 |
extern php_stream_dirent __attribute__((__visibility__("default"))) *_php_stream_readdir(php_stream *dirstream , |
|
9568 |
extern php_stream_dirent __attribute__((__visibility__("default"))) *_php_stream_readdir(php_stream *dirstream , |
| 9569 |
php_stream_dirent *ent ) ; |
|
9569 |
php_stream_dirent *ent ) ; |
| 9570 |
extern int __attribute__((__visibility__("default"))) php_stream_dirent_alphasort(char const **a , |
|
9570 |
extern int __attribute__((__visibility__("default"))) php_stream_dirent_alphasort(char const **a , |
| 9571 |
char const **b ) ; |
|
9571 |
char const **b ) ; |
| 9572 |
extern int __attribute__((__visibility__("default"))) php_stream_dirent_alphasortr(char const **a , |
|
9572 |
extern int __attribute__((__visibility__("default"))) php_stream_dirent_alphasortr(char const **a , |
| 9573 |
char const **b ) ; |
|
9573 |
char const **b ) ; |
| 9574 |
extern int __attribute__((__visibility__("default"))) _php_stream_scandir(char *dirname , |
|
9574 |
extern int __attribute__((__visibility__("default"))) _php_stream_scandir(char *dirname , |
| 9575 |
char ***namelist , |
|
9575 |
char ***namelist , |
| 9576 |
int flags , |
|
9576 |
int flags , |
| 9577 |
php_stream_context *context , |
|
9577 |
php_stream_context *context , |
| 9578 |
int (*compare)(char const **a , |
|
9578 |
int (*compare)(char const **a , |
| 9579 |
char const **b ) ) ; |
|
9579 |
char const **b ) ) ; |
| 9580 |
extern int __attribute__((__visibility__("default"))) _php_stream_set_option(php_stream *stream , |
|
9580 |
extern int __attribute__((__visibility__("default"))) _php_stream_set_option(php_stream *stream , |
| 9581 |
int option , |
|
9581 |
int option , |
| 9582 |
int value , |
|
9582 |
int value , |
| 9583 |
void *ptrparam ) ; |
|
9583 |
void *ptrparam ) ; |
| 9584 |
extern int __attribute__((__visibility__("default"))) _php_stream_truncate_set_size(php_stream *stream , |
|
9584 |
extern int __attribute__((__visibility__("default"))) _php_stream_truncate_set_size(php_stream *stream , |
| 9585 |
size_t newsize ) ; |
|
9585 |
size_t newsize ) ; |
| 9586 |
extern size_t __attribute__((__visibility__("default"), |
|
9586 |
extern size_t __attribute__((__visibility__("default"), |
| 9587 |
__deprecated__)) _php_stream_copy_to_stream(php_stream *src , |
|
9587 |
__deprecated__)) _php_stream_copy_to_stream(php_stream *src , |
| 9588 |
php_stream *dest , size_t maxlen ) ; |
|
9588 |
php_stream *dest , size_t maxlen ) ; |
| 9589 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_copy_to_stream_ex(php_stream *src , |
|
9589 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_copy_to_stream_ex(php_stream *src , |
| 9590 |
php_stream *dest , |
|
9590 |
php_stream *dest , |
| 9591 |
size_t maxlen , |
|
9591 |
size_t maxlen , |
| 9592 |
size_t *len ) ; |
|
9592 |
size_t *len ) ; |
| 9593 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_copy_to_mem(php_stream *src , |
|
9593 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_copy_to_mem(php_stream *src , |
| 9594 |
char **buf , |
|
9594 |
char **buf , |
| 9595 |
size_t maxlen , |
|
9595 |
size_t maxlen , |
| 9596 |
int persistent ) ; |
|
9596 |
int persistent ) ; |
| 9597 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_passthru(php_stream *src ) ; |
|
9597 |
extern size_t __attribute__((__visibility__("default"))) _php_stream_passthru(php_stream *src ) ; |
| 9598 |
extern ssize_t readv(int __fd , struct iovec const *__iovec , int __count ) ; |
|
9598 |
extern ssize_t readv(int __fd , struct iovec const *__iovec , int __count ) ; |
| 9599 |
extern ssize_t writev(int __fd , struct iovec const *__iovec , int __count ) ; |
|
9599 |
extern ssize_t writev(int __fd , struct iovec const *__iovec , int __count ) ; |
| 9600 |
extern ssize_t preadv(int __fd , struct iovec const *__iovec , int __count , |
|
9600 |
extern ssize_t preadv(int __fd , struct iovec const *__iovec , int __count , |
| 9601 |
__off_t __offset ) ; |
|
9601 |
__off_t __offset ) ; |
| 9602 |
extern ssize_t pwritev(int __fd , struct iovec const *__iovec , int __count , |
|
9602 |
extern ssize_t pwritev(int __fd , struct iovec const *__iovec , int __count , |
| 9603 |
__off_t __offset ) ; |
|
9603 |
__off_t __offset ) ; |
| 9604 |
__inline extern __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
|
9604 |
__inline extern __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
| 9605 |
struct cmsghdr *__cmsg ) ; |
|
9605 |
struct cmsghdr *__cmsg ) ; |
| 9606 |
__inline extern __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
|
9606 |
__inline extern __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
| 9607 |
struct cmsghdr *__cmsg ) ; |
|
9607 |
struct cmsghdr *__cmsg ) ; |
| 9608 |
__inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
|
9608 |
__inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr , |
| 9609 |
struct cmsghdr *__cmsg ) |
|
9609 |
struct cmsghdr *__cmsg ) |
| 9610 |
{ |
|
9610 |
{ |
| 9611 |
|
|
9611 |
|
| 9612 |
|
|
9612 |
|
| 9613 |
{ |
|
9613 |
{ |
| 9614 |
if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) { |
|
9614 |
if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) { |
| 9615 |
return ((struct cmsghdr *)0); |
|
9615 |
return ((struct cmsghdr *)0); |
| 9616 |
} else { |
|
9616 |
} else { |
| 9617 |
|
|
9617 |
|
| 9618 |
} |
|
9618 |
} |
| 9619 |
__cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))); |
|
9619 |
__cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))); |
| 9620 |
if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) { |
|
9620 |
if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) { |
| 9621 |
return ((struct cmsghdr *)0); |
|
9621 |
return ((struct cmsghdr *)0); |
| 9622 |
} else |
|
9622 |
} else |
| 9623 |
if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) { |
|
9623 |
if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) { |
| 9624 |
return ((struct cmsghdr *)0); |
|
9624 |
return ((struct cmsghdr *)0); |
| 9625 |
} else { |
|
9625 |
} else { |
| 9626 |
|
|
9626 |
|
| 9627 |
} |
|
9627 |
} |
| 9628 |
return (__cmsg); |
|
9628 |
return (__cmsg); |
| 9629 |
} |
|
9629 |
} |
| 9630 |
} |
|
9630 |
} |
| 9631 |
extern int recvmmsg(int __fd , struct mmsghdr *__vmessages , |
|
9631 |
extern int recvmmsg(int __fd , struct mmsghdr *__vmessages , |
| 9632 |
unsigned int __vlen , int __flags , |
|
9632 |
unsigned int __vlen , int __flags , |
| 9633 |
struct timespec const *__tmo ) ; |
|
9633 |
struct timespec const *__tmo ) ; |
| 9634 |
extern __attribute__((__nothrow__)) int socket(int __domain , int __type , |
|
9634 |
extern __attribute__((__nothrow__)) int socket(int __domain , int __type , |
| 9635 |
int __protocol ) ; |
|
9635 |
int __protocol ) ; |
| 9636 |
extern __attribute__((__nothrow__)) int socketpair(int __domain , int __type , |
|
9636 |
extern __attribute__((__nothrow__)) int socketpair(int __domain , int __type , |
| 9637 |
int __protocol , int *__fds ) ; |
|
9637 |
int __protocol , int *__fds ) ; |
| 9638 |
extern __attribute__((__nothrow__)) int bind(int __fd , |
|
9638 |
extern __attribute__((__nothrow__)) int bind(int __fd , |
| 9639 |
struct sockaddr const *__addr , |
|
9639 |
struct sockaddr const *__addr , |
| 9640 |
socklen_t __len ) ; |
|
9640 |
socklen_t __len ) ; |
| 9641 |
extern __attribute__((__nothrow__)) int getsockname(int __fd , |
|
9641 |
extern __attribute__((__nothrow__)) int getsockname(int __fd , |
| 9642 |
struct sockaddr * __restrict __addr , |
|
9642 |
struct sockaddr * __restrict __addr , |
| 9643 |
socklen_t * __restrict __len ) ; |
|
9643 |
socklen_t * __restrict __len ) ; |
| 9644 |
extern int connect(int __fd , struct sockaddr const *__addr , socklen_t __len ) ; |
|
9644 |
extern int connect(int __fd , struct sockaddr const *__addr , socklen_t __len ) ; |
| 9645 |
extern __attribute__((__nothrow__)) int getpeername(int __fd , |
|
9645 |
extern __attribute__((__nothrow__)) int getpeername(int __fd , |
| 9646 |
struct sockaddr * __restrict __addr , |
|
9646 |
struct sockaddr * __restrict __addr , |
| 9647 |
socklen_t * __restrict __len ) ; |
|
9647 |
socklen_t * __restrict __len ) ; |
| 9648 |
extern ssize_t send(int __fd , void const *__buf , size_t __n , int __flags ) ; |
|
9648 |
extern ssize_t send(int __fd , void const *__buf , size_t __n , int __flags ) ; |
| 9649 |
extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ; |
|
9649 |
extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ; |
| 9650 |
extern ssize_t sendto(int __fd , void const *__buf , size_t __n , |
|
9650 |
extern ssize_t sendto(int __fd , void const *__buf , size_t __n , |
| 9651 |
int __flags , struct sockaddr const *__addr , |
|
9651 |
int __flags , struct sockaddr const *__addr , |
| 9652 |
socklen_t __addr_len ) ; |
|
9652 |
socklen_t __addr_len ) ; |
| 9653 |
extern ssize_t recvfrom(int __fd , void * __restrict __buf , size_t __n , |
|
9653 |
extern ssize_t recvfrom(int __fd , void * __restrict __buf , size_t __n , |
| 9654 |
int __flags , struct sockaddr * __restrict __addr , |
|
9654 |
int __flags , struct sockaddr * __restrict __addr , |
| 9655 |
socklen_t * __restrict __addr_len ) ; |
|
9655 |
socklen_t * __restrict __addr_len ) ; |
| 9656 |
extern ssize_t sendmsg(int __fd , struct msghdr const *__message , |
|
9656 |
extern ssize_t sendmsg(int __fd , struct msghdr const *__message , |
| 9657 |
int __flags ) ; |
|
9657 |
int __flags ) ; |
| 9658 |
extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ; |
|
9658 |
extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ; |
| 9659 |
extern __attribute__((__nothrow__)) int getsockopt(int __fd , int __level , |
|
9659 |
extern __attribute__((__nothrow__)) int getsockopt(int __fd , int __level , |
| 9660 |
int __optname , |
|
9660 |
int __optname , |
| 9661 |
void * __restrict __optval , |
|
9661 |
void * __restrict __optval , |
| 9662 |
socklen_t * __restrict __optlen ) ; |
|
9662 |
socklen_t * __restrict __optlen ) ; |
| 9663 |
extern __attribute__((__nothrow__)) int setsockopt(int __fd , int __level , |
|
9663 |
extern __attribute__((__nothrow__)) int setsockopt(int __fd , int __level , |
| 9664 |
int __optname , |
|
9664 |
int __optname , |
| 9665 |
void const *__optval , |
|
9665 |
void const *__optval , |
| 9666 |
socklen_t __optlen ) ; |
|
9666 |
socklen_t __optlen ) ; |
| 9667 |
extern __attribute__((__nothrow__)) int listen(int __fd , int __n ) ; |
|
9667 |
extern __attribute__((__nothrow__)) int listen(int __fd , int __n ) ; |
| 9668 |
extern int accept(int __fd , struct sockaddr * __restrict __addr , |
|
9668 |
extern int accept(int __fd , struct sockaddr * __restrict __addr , |
| 9669 |
socklen_t * __restrict __addr_len ) ; |
|
9669 |
socklen_t * __restrict __addr_len ) ; |
| 9670 |
extern __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ; |
|
9670 |
extern __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ; |
| 9671 |
extern __attribute__((__nothrow__)) int sockatmark(int __fd ) ; |
|
9671 |
extern __attribute__((__nothrow__)) int sockatmark(int __fd ) ; |
| 9672 |
extern __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ; |
|
9672 |
extern __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ; |
| 9673 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_register(char *protocol , |
|
9673 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_register(char *protocol , |
| 9674 |
php_stream_transport_factory factory ) ; |
|
9674 |
php_stream_transport_factory factory ) ; |
| 9675 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_unregister(char *protocol ) ; |
|
9675 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_unregister(char *protocol ) ; |
| 9676 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_xport_create(char const *name , |
|
9676 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_xport_create(char const *name , |
| 9677 |
long namelen , |
|
9677 |
long namelen , |
| 9678 |
int options , |
|
9678 |
int options , |
| 9679 |
int flags , |
|
9679 |
int flags , |
| 9680 |
char const *persistent_id , |
|
9680 |
char const *persistent_id , |
| 9681 |
struct timeval *timeout , |
|
9681 |
struct timeval *timeout , |
| 9682 |
php_stream_context *context , |
|
9682 |
php_stream_context *context , |
| 9683 |
char **error_string , |
|
9683 |
char **error_string , |
| 9684 |
int *error_code ) ; |
|
9684 |
int *error_code ) ; |
| 9685 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_bind(php_stream *stream , |
|
9685 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_bind(php_stream *stream , |
| 9686 |
char const *name , |
|
9686 |
char const *name , |
| 9687 |
long namelen , |
|
9687 |
long namelen , |
| 9688 |
char **error_text ) ; |
|
9688 |
char **error_text ) ; |
| 9689 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_connect(php_stream *stream , |
|
9689 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_connect(php_stream *stream , |
| 9690 |
char const *name , |
|
9690 |
char const *name , |
| 9691 |
long namelen , |
|
9691 |
long namelen , |
| 9692 |
int asynchronous , |
|
9692 |
int asynchronous , |
| 9693 |
struct timeval *timeout , |
|
9693 |
struct timeval *timeout , |
| 9694 |
char **error_text , |
|
9694 |
char **error_text , |
| 9695 |
int *error_code ) ; |
|
9695 |
int *error_code ) ; |
| 9696 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_listen(php_stream *stream , |
|
9696 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_listen(php_stream *stream , |
| 9697 |
int backlog , |
|
9697 |
int backlog , |
| 9698 |
char **error_text ) ; |
|
9698 |
char **error_text ) ; |
| 9699 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_accept(php_stream *stream , |
|
9699 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_accept(php_stream *stream , |
| 9700 |
php_stream **client , |
|
9700 |
php_stream **client , |
| 9701 |
char **textaddr , |
|
9701 |
char **textaddr , |
| 9702 |
int *textaddrlen , |
|
9702 |
int *textaddrlen , |
| 9703 |
void **addr , |
|
9703 |
void **addr , |
| 9704 |
socklen_t *addrlen , |
|
9704 |
socklen_t *addrlen , |
| 9705 |
struct timeval *timeout , |
|
9705 |
struct timeval *timeout , |
| 9706 |
char **error_text ) ; |
|
9706 |
char **error_text ) ; |
| 9707 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_get_name(php_stream *stream , |
|
9707 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_get_name(php_stream *stream , |
| 9708 |
int want_peer , |
|
9708 |
int want_peer , |
| 9709 |
char **textaddr , |
|
9709 |
char **textaddr , |
| 9710 |
int *textaddrlen , |
|
9710 |
int *textaddrlen , |
| 9711 |
void **addr , |
|
9711 |
void **addr , |
| 9712 |
socklen_t *addrlen ) ; |
|
9712 |
socklen_t *addrlen ) ; |
| 9713 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_recvfrom(php_stream *stream , |
|
9713 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_recvfrom(php_stream *stream , |
| 9714 |
char *buf , |
|
9714 |
char *buf , |
| 9715 |
size_t buflen , |
|
9715 |
size_t buflen , |
| 9716 |
long flags , |
|
9716 |
long flags , |
| 9717 |
void **addr , |
|
9717 |
void **addr , |
| 9718 |
socklen_t *addrlen , |
|
9718 |
socklen_t *addrlen , |
| 9719 |
char **textaddr , |
|
9719 |
char **textaddr , |
| 9720 |
int *textaddrlen ) ; |
|
9720 |
int *textaddrlen ) ; |
| 9721 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_sendto(php_stream *stream , |
|
9721 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_sendto(php_stream *stream , |
| 9722 |
char const *buf , |
|
9722 |
char const *buf , |
| 9723 |
size_t buflen , |
|
9723 |
size_t buflen , |
| 9724 |
long flags , |
|
9724 |
long flags , |
| 9725 |
void *addr , |
|
9725 |
void *addr , |
| 9726 |
socklen_t addrlen ) ; |
|
9726 |
socklen_t addrlen ) ; |
| 9727 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_shutdown(php_stream *stream , |
|
9727 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_shutdown(php_stream *stream , |
| 9728 |
stream_shutdown_t how ) ; |
|
9728 |
stream_shutdown_t how ) ; |
| 9729 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_crypto_setup(php_stream *stream , |
|
9729 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_crypto_setup(php_stream *stream , |
| 9730 |
php_stream_xport_crypt_method_t crypto_method , |
|
9730 |
php_stream_xport_crypt_method_t crypto_method , |
| 9731 |
php_stream *session_stream ) ; |
|
9731 |
php_stream *session_stream ) ; |
| 9732 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_crypto_enable(php_stream *stream , |
|
9732 |
extern int __attribute__((__visibility__("default"))) php_stream_xport_crypto_enable(php_stream *stream , |
| 9733 |
int activate ) ; |
|
9733 |
int activate ) ; |
| 9734 |
extern HashTable __attribute__((__visibility__("default"))) *php_stream_xport_get_hash(void) ; |
|
9734 |
extern HashTable __attribute__((__visibility__("default"))) *php_stream_xport_get_hash(void) ; |
| 9735 |
extern php_stream_transport_factory_func __attribute__((__visibility__("default"))) php_stream_generic_socket_factory ; |
|
9735 |
extern php_stream_transport_factory_func __attribute__((__visibility__("default"))) php_stream_generic_socket_factory ; |
| 9736 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_stdio_ops ; |
|
9736 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_stdio_ops ; |
| 9737 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_plain_files_wrapper ; |
|
9737 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_plain_files_wrapper ; |
| 9738 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen(char const *filename , |
|
9738 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen(char const *filename , |
| 9739 |
char const *mode , |
|
9739 |
char const *mode , |
| 9740 |
char **opened_path , |
|
9740 |
char **opened_path , |
| 9741 |
int options ) ; |
|
9741 |
int options ) ; |
| 9742 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_with_path(char *filename , |
|
9742 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_with_path(char *filename , |
| 9743 |
char *mode , |
|
9743 |
char *mode , |
| 9744 |
char *path , |
|
9744 |
char *path , |
| 9745 |
char **opened_path , |
|
9745 |
char **opened_path , |
| 9746 |
int options ) ; |
|
9746 |
int options ) ; |
| 9747 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_file(FILE *file , |
|
9747 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_file(FILE *file , |
| 9748 |
char const *mode ) ; |
|
9748 |
char const *mode ) ; |
| 9749 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_fd(int fd , |
|
9749 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_fd(int fd , |
| 9750 |
char const *mode , |
|
9750 |
char const *mode , |
| 9751 |
char const *persistent_id ) ; |
|
9751 |
char const *persistent_id ) ; |
| 9752 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_pipe(FILE *file , |
|
9752 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_from_pipe(FILE *file , |
| 9753 |
char const *mode ) ; |
|
9753 |
char const *mode ) ; |
| 9754 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_tmpfile(int dummy ) ; |
|
9754 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_tmpfile(int dummy ) ; |
| 9755 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_temporary_file(char const *dir , |
|
9755 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_fopen_temporary_file(char const *dir , |
| 9756 |
char const *pfx , |
|
9756 |
char const *pfx , |
| 9757 |
char **opened_path ) ; |
|
9757 |
char **opened_path ) ; |
| 9758 |
extern FILE __attribute__((__visibility__("default"))) *_php_stream_open_wrapper_as_file(char *path , |
|
9758 |
extern FILE __attribute__((__visibility__("default"))) *_php_stream_open_wrapper_as_file(char *path , |
| 9759 |
char *mode , |
|
9759 |
char *mode , |
| 9760 |
int options , |
|
9760 |
int options , |
| 9761 |
char **opened_path ) ; |
|
9761 |
char **opened_path ) ; |
| 9762 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_glob_stream_wrapper ; |
|
9762 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_glob_stream_wrapper ; |
| 9763 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_glob_stream_ops ; |
|
9763 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_glob_stream_ops ; |
| 9764 |
extern char __attribute__((__visibility__("default"))) *_php_glob_stream_get_path(php_stream *stream , |
|
9764 |
extern char __attribute__((__visibility__("default"))) *_php_glob_stream_get_path(php_stream *stream , |
| 9765 |
int copy , |
|
9765 |
int copy , |
| 9766 |
int *plen ) ; |
|
9766 |
int *plen ) ; |
| 9767 |
extern char __attribute__((__visibility__("default"))) *_php_glob_stream_get_pattern(php_stream *stream , |
|
9767 |
extern char __attribute__((__visibility__("default"))) *_php_glob_stream_get_pattern(php_stream *stream , |
| 9768 |
int copy , |
|
9768 |
int copy , |
| 9769 |
int *plen ) ; |
|
9769 |
int *plen ) ; |
| 9770 |
extern int __attribute__((__visibility__("default"))) _php_glob_stream_get_count(php_stream *stream , |
|
9770 |
extern int __attribute__((__visibility__("default"))) _php_glob_stream_get_count(php_stream *stream , |
| 9771 |
int *pflags ) ; |
|
9771 |
int *pflags ) ; |
| 9772 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_userspace_ops ; |
|
9772 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_userspace_ops ; |
| 9773 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_userspace_dir_ops ; |
|
9773 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_userspace_dir_ops ; |
| 9774 |
extern char __attribute__((__visibility__("default"))) *_php_stream_mmap_range(php_stream *stream , |
|
9774 |
extern char __attribute__((__visibility__("default"))) *_php_stream_mmap_range(php_stream *stream , |
| 9775 |
size_t offset , |
|
9775 |
size_t offset , |
| 9776 |
size_t length , |
|
9776 |
size_t length , |
| 9777 |
php_stream_mmap_operation_t mode , |
|
9777 |
php_stream_mmap_operation_t mode , |
| 9778 |
size_t *mapped_len ) ; |
|
9778 |
size_t *mapped_len ) ; |
| 9779 |
extern int __attribute__((__visibility__("default"))) _php_stream_mmap_unmap(php_stream *stream ) ; |
|
9779 |
extern int __attribute__((__visibility__("default"))) _php_stream_mmap_unmap(php_stream *stream ) ; |
| 9780 |
extern int __attribute__((__visibility__("default"))) _php_stream_mmap_unmap_ex(php_stream *stream , |
|
9780 |
extern int __attribute__((__visibility__("default"))) _php_stream_mmap_unmap_ex(php_stream *stream , |
| 9781 |
off_t readden ) ; |
|
9781 |
off_t readden ) ; |
| 9782 |
extern int __attribute__((__visibility__("default"))) _php_stream_cast(php_stream *stream , |
|
9782 |
extern int __attribute__((__visibility__("default"))) _php_stream_cast(php_stream *stream , |
| 9783 |
int castas , |
|
9783 |
int castas , |
| 9784 |
void **ret , |
|
9784 |
void **ret , |
| 9785 |
int show_err ) ; |
|
9785 |
int show_err ) ; |
| 9786 |
extern int php_init_stream_wrappers(int module_number ) ; |
|
9786 |
extern int php_init_stream_wrappers(int module_number ) ; |
| 9787 |
extern int php_shutdown_stream_wrappers(int module_number ) ; |
|
9787 |
extern int php_shutdown_stream_wrappers(int module_number ) ; |
| 9788 |
extern void php_shutdown_stream_hashes(void) ; |
|
9788 |
extern void php_shutdown_stream_hashes(void) ; |
| 9789 |
extern int zm_deactivate_streams(int type , int module_number ) ; |
|
9789 |
extern int zm_deactivate_streams(int type , int module_number ) ; |
| 9790 |
extern int __attribute__((__visibility__("default"))) php_register_url_stream_wrapper(char *protocol , |
|
9790 |
extern int __attribute__((__visibility__("default"))) php_register_url_stream_wrapper(char *protocol , |
| 9791 |
php_stream_wrapper *wrapper ) ; |
|
9791 |
php_stream_wrapper *wrapper ) ; |
| 9792 |
extern int __attribute__((__visibility__("default"))) php_unregister_url_stream_wrapper(char *protocol ) ; |
|
9792 |
extern int __attribute__((__visibility__("default"))) php_unregister_url_stream_wrapper(char *protocol ) ; |
| 9793 |
extern int __attribute__((__visibility__("default"))) php_register_url_stream_wrapper_volatile(char *protocol , |
|
9793 |
extern int __attribute__((__visibility__("default"))) php_register_url_stream_wrapper_volatile(char *protocol , |
| 9794 |
php_stream_wrapper *wrapper ) ; |
|
9794 |
php_stream_wrapper *wrapper ) ; |
| 9795 |
extern int __attribute__((__visibility__("default"))) php_unregister_url_stream_wrapper_volatile(char *protocol ) ; |
|
9795 |
extern int __attribute__((__visibility__("default"))) php_unregister_url_stream_wrapper_volatile(char *protocol ) ; |
| 9796 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_open_wrapper_ex(char *path , |
|
9796 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_open_wrapper_ex(char *path , |
| 9797 |
char *mode , |
|
9797 |
char *mode , |
| 9798 |
int options , |
|
9798 |
int options , |
| 9799 |
char **opened_path , |
|
9799 |
char **opened_path , |
| 9800 |
php_stream_context *context ) ; |
|
9800 |
php_stream_context *context ) ; |
| 9801 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) *php_stream_locate_url_wrapper(char const *path , |
|
9801 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) *php_stream_locate_url_wrapper(char const *path , |
| 9802 |
char **path_for_open , |
|
9802 |
char **path_for_open , |
| 9803 |
int options ) ; |
|
9803 |
int options ) ; |
| 9804 |
extern char __attribute__((__visibility__("default"))) *php_stream_locate_eol(php_stream *stream , |
|
9804 |
extern char __attribute__((__visibility__("default"))) *php_stream_locate_eol(php_stream *stream , |
| 9805 |
char *buf , |
|
9805 |
char *buf , |
| 9806 |
size_t buf_len ) ; |
|
9806 |
size_t buf_len ) ; |
| 9807 |
extern void __attribute__((__visibility__("default"))) ( php_stream_wrapper_log_error)(php_stream_wrapper *wrapper , |
|
9807 |
extern void __attribute__((__visibility__("default"))) ( php_stream_wrapper_log_error)(php_stream_wrapper *wrapper , |
| 9808 |
int options , |
|
9808 |
int options , |
| 9809 |
char const *fmt |
|
9809 |
char const *fmt |
| 9810 |
, ...) ; |
|
9810 |
, ...) ; |
| 9811 |
extern int __attribute__((__visibility__("default"))) _php_stream_make_seekable(php_stream *origstream , |
|
9811 |
extern int __attribute__((__visibility__("default"))) _php_stream_make_seekable(php_stream *origstream , |
| 9812 |
php_stream **newstream , |
|
9812 |
php_stream **newstream , |
| 9813 |
int flags ) ; |
|
9813 |
int flags ) ; |
| 9814 |
extern HashTable __attribute__((__visibility__("default"))) *_php_stream_get_url_stream_wrappers_hash(void) ; |
|
9814 |
extern HashTable __attribute__((__visibility__("default"))) *_php_stream_get_url_stream_wrappers_hash(void) ; |
| 9815 |
extern HashTable __attribute__((__visibility__("default"))) *php_stream_get_url_stream_wrappers_hash_global(void) ; |
|
9815 |
extern HashTable __attribute__((__visibility__("default"))) *php_stream_get_url_stream_wrappers_hash_global(void) ; |
| 9816 |
extern HashTable __attribute__((__visibility__("default"))) *_php_get_stream_filters_hash(void) ; |
|
9816 |
extern HashTable __attribute__((__visibility__("default"))) *_php_get_stream_filters_hash(void) ; |
| 9817 |
extern HashTable __attribute__((__visibility__("default"))) *php_get_stream_filters_hash_global(void) ; |
|
9817 |
extern HashTable __attribute__((__visibility__("default"))) *php_get_stream_filters_hash_global(void) ; |
| 9818 |
extern php_stream_wrapper_ops *php_stream_user_wrapper_ops ; |
|
9818 |
extern php_stream_wrapper_ops *php_stream_user_wrapper_ops ; |
| 9819 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_memory_create(int mode ) ; |
|
9819 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_memory_create(int mode ) ; |
| 9820 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_memory_open(int mode , |
|
9820 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_memory_open(int mode , |
| 9821 |
char *buf , |
|
9821 |
char *buf , |
| 9822 |
size_t length ) ; |
|
9822 |
size_t length ) ; |
| 9823 |
extern char __attribute__((__visibility__("default"))) *_php_stream_memory_get_buffer(php_stream *stream , |
|
9823 |
extern char __attribute__((__visibility__("default"))) *_php_stream_memory_get_buffer(php_stream *stream , |
| 9824 |
size_t *length ) ; |
|
9824 |
size_t *length ) ; |
| 9825 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_temp_create(int mode , |
|
9825 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_temp_create(int mode , |
| 9826 |
size_t max_memory_usage ) ; |
|
9826 |
size_t max_memory_usage ) ; |
| 9827 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_temp_open(int mode , |
|
9827 |
extern php_stream __attribute__((__visibility__("default"))) *_php_stream_temp_open(int mode , |
| 9828 |
size_t max_memory_usage , |
|
9828 |
size_t max_memory_usage , |
| 9829 |
char *buf , |
|
9829 |
char *buf , |
| 9830 |
size_t length ) ; |
|
9830 |
size_t length ) ; |
| 9831 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_memory_ops ; |
|
9831 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_memory_ops ; |
| 9832 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_temp_ops ; |
|
9832 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_temp_ops ; |
| 9833 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_rfc2397_ops ; |
|
9833 |
extern php_stream_ops __attribute__((__visibility__("default"))) php_stream_rfc2397_ops ; |
| 9834 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_stream_rfc2397_wrapper ; |
|
9834 |
extern php_stream_wrapper __attribute__((__visibility__("default"))) php_stream_rfc2397_wrapper ; |
| 9835 |
extern struct _php_core_globals __attribute__((__visibility__("default"))) core_globals ; |
|
9835 |
extern struct _php_core_globals __attribute__((__visibility__("default"))) core_globals ; |
| 9836 |
extern int __attribute__((__visibility__("default"))) zend_ini_startup(void) ; |
|
9836 |
extern int __attribute__((__visibility__("default"))) zend_ini_startup(void) ; |
| 9837 |
extern int __attribute__((__visibility__("default"))) zend_ini_shutdown(void) ; |
|
9837 |
extern int __attribute__((__visibility__("default"))) zend_ini_shutdown(void) ; |
| 9838 |
extern int __attribute__((__visibility__("default"))) zend_ini_global_shutdown(void) ; |
|
9838 |
extern int __attribute__((__visibility__("default"))) zend_ini_global_shutdown(void) ; |
| 9839 |
extern int __attribute__((__visibility__("default"))) zend_ini_deactivate(void) ; |
|
9839 |
extern int __attribute__((__visibility__("default"))) zend_ini_deactivate(void) ; |
| 9840 |
extern int __attribute__((__visibility__("default"))) zend_copy_ini_directives(void) ; |
|
9840 |
extern int __attribute__((__visibility__("default"))) zend_copy_ini_directives(void) ; |
| 9841 |
extern void __attribute__((__visibility__("default"))) zend_ini_sort_entries(void) ; |
|
9841 |
extern void __attribute__((__visibility__("default"))) zend_ini_sort_entries(void) ; |
| 9842 |
extern int __attribute__((__visibility__("default"))) zend_register_ini_entries(zend_ini_entry const *ini_entry , |
|
9842 |
extern int __attribute__((__visibility__("default"))) zend_register_ini_entries(zend_ini_entry const *ini_entry , |
| 9843 |
int module_number ) ; |
|
9843 |
int module_number ) ; |
| 9844 |
extern void __attribute__((__visibility__("default"))) zend_unregister_ini_entries(int module_number ) ; |
|
9844 |
extern void __attribute__((__visibility__("default"))) zend_unregister_ini_entries(int module_number ) ; |
| 9845 |
extern void __attribute__((__visibility__("default"))) zend_ini_refresh_caches(int stage ) ; |
|
9845 |
extern void __attribute__((__visibility__("default"))) zend_ini_refresh_caches(int stage ) ; |
| 9846 |
extern int __attribute__((__visibility__("default"))) zend_alter_ini_entry(char *name , |
|
9846 |
extern int __attribute__((__visibility__("default"))) zend_alter_ini_entry(char *name , |
| 9847 |
uint name_length , |
|
9847 |
uint name_length , |
| 9848 |
char *new_value , |
|
9848 |
char *new_value , |
| 9849 |
uint new_value_length , |
|
9849 |
uint new_value_length , |
| 9850 |
int modify_type , |
|
9850 |
int modify_type , |
| 9851 |
int stage ) ; |
|
9851 |
int stage ) ; |
| 9852 |
extern int __attribute__((__visibility__("default"))) zend_alter_ini_entry_ex(char *name , |
|
9852 |
extern int __attribute__((__visibility__("default"))) zend_alter_ini_entry_ex(char *name , |
| 9853 |
uint name_length , |
|
9853 |
uint name_length , |
| 9854 |
char *new_value , |
|
9854 |
char *new_value , |
| 9855 |
uint new_value_length , |
|
9855 |
uint new_value_length , |
| 9856 |
int modify_type , |
|
9856 |
int modify_type , |
| 9857 |
int stage , |
|
9857 |
int stage , |
| 9858 |
int force_change ) ; |
|
9858 |
int force_change ) ; |
| 9859 |
extern int __attribute__((__visibility__("default"))) zend_restore_ini_entry(char *name , |
|
9859 |
extern int __attribute__((__visibility__("default"))) zend_restore_ini_entry(char *name , |
| 9860 |
uint name_length , |
|
9860 |
uint name_length , |
| 9861 |
int stage ) ; |
|
9861 |
int stage ) ; |
| 9862 |
extern void __attribute__((__visibility__("default"))) display_ini_entries(zend_module_entry *module ) ; |
|
9862 |
extern void __attribute__((__visibility__("default"))) display_ini_entries(zend_module_entry *module ) ; |
| 9863 |
extern long __attribute__((__visibility__("default"))) zend_ini_long(char *name , |
|
9863 |
extern long __attribute__((__visibility__("default"))) zend_ini_long(char *name , |
| 9864 |
uint name_length , |
|
9864 |
uint name_length , |
| 9865 |
int orig ) ; |
|
9865 |
int orig ) ; |
| 9866 |
extern double __attribute__((__visibility__("default"))) zend_ini_double(char *name , |
|
9866 |
extern double __attribute__((__visibility__("default"))) zend_ini_double(char *name , |
| 9867 |
uint name_length , |
|
9867 |
uint name_length , |
| 9868 |
int orig ) ; |
|
9868 |
int orig ) ; |
| 9869 |
extern char __attribute__((__visibility__("default"))) *zend_ini_string(char *name , |
|
9869 |
extern char __attribute__((__visibility__("default"))) *zend_ini_string(char *name , |
| 9870 |
uint name_length , |
|
9870 |
uint name_length , |
| 9871 |
int orig ) ; |
|
9871 |
int orig ) ; |
| 9872 |
extern char __attribute__((__visibility__("default"))) *zend_ini_string_ex(char *name , |
|
9872 |
extern char __attribute__((__visibility__("default"))) *zend_ini_string_ex(char *name , |
| 9873 |
uint name_length , |
|
9873 |
uint name_length , |
| 9874 |
int orig , |
|
9874 |
int orig , |
| 9875 |
zend_bool *exists ) ; |
|
9875 |
zend_bool *exists ) ; |
| 9876 |
extern int __attribute__((__visibility__("default"))) zend_ini_register_displayer(char *name , |
|
9876 |
extern int __attribute__((__visibility__("default"))) zend_ini_register_displayer(char *name , |
| 9877 |
uint name_length , |
|
9877 |
uint name_length , |
| 9878 |
void (*displayer)(zend_ini_entry *ini_entry , |
|
9878 |
void (*displayer)(zend_ini_entry *ini_entry , |
| 9879 |
int type ) ) ; |
|
9879 |
int type ) ) ; |
| 9880 |
extern void __attribute__((__visibility__("default"))) zend_ini_boolean_displayer_cb(zend_ini_entry *ini_entry , |
|
9880 |
extern void __attribute__((__visibility__("default"))) zend_ini_boolean_displayer_cb(zend_ini_entry *ini_entry , |
| 9881 |
int type ) ; |
|
9881 |
int type ) ; |
| 9882 |
extern void __attribute__((__visibility__("default"))) zend_ini_color_displayer_cb(zend_ini_entry *ini_entry , |
|
9882 |
extern void __attribute__((__visibility__("default"))) zend_ini_color_displayer_cb(zend_ini_entry *ini_entry , |
| 9883 |
int type ) ; |
|
9883 |
int type ) ; |
| 9884 |
extern void __attribute__((__visibility__("default"))) display_link_numbers(zend_ini_entry *ini_entry , |
|
9884 |
extern void __attribute__((__visibility__("default"))) display_link_numbers(zend_ini_entry *ini_entry , |
| 9885 |
int type ) ; |
|
9885 |
int type ) ; |
| 9886 |
extern int __attribute__((__visibility__("default"))) OnUpdateBool(zend_ini_entry *entry , |
|
9886 |
extern int __attribute__((__visibility__("default"))) OnUpdateBool(zend_ini_entry *entry , |
| 9887 |
char *new_value , |
|
9887 |
char *new_value , |
| 9888 |
uint new_value_length , |
|
9888 |
uint new_value_length , |
| 9889 |
void *mh_arg1 , |
|
9889 |
void *mh_arg1 , |
| 9890 |
void *mh_arg2 , |
|
9890 |
void *mh_arg2 , |
| 9891 |
void *mh_arg3 , |
|
9891 |
void *mh_arg3 , |
| 9892 |
int stage ) ; |
|
9892 |
int stage ) ; |
| 9893 |
extern int __attribute__((__visibility__("default"))) OnUpdateLong(zend_ini_entry *entry , |
|
9893 |
extern int __attribute__((__visibility__("default"))) OnUpdateLong(zend_ini_entry *entry , |
| 9894 |
char *new_value , |
|
9894 |
char *new_value , |
| 9895 |
uint new_value_length , |
|
9895 |
uint new_value_length , |
| 9896 |
void *mh_arg1 , |
|
9896 |
void *mh_arg1 , |
| 9897 |
void *mh_arg2 , |
|
9897 |
void *mh_arg2 , |
| 9898 |
void *mh_arg3 , |
|
9898 |
void *mh_arg3 , |
| 9899 |
int stage ) ; |
|
9899 |
int stage ) ; |
| 9900 |
extern int __attribute__((__visibility__("default"))) OnUpdateLongGEZero(zend_ini_entry *entry , |
|
9900 |
extern int __attribute__((__visibility__("default"))) OnUpdateLongGEZero(zend_ini_entry *entry , |
| 9901 |
char *new_value , |
|
9901 |
char *new_value , |
| 9902 |
uint new_value_length , |
|
9902 |
uint new_value_length , |
| 9903 |
void *mh_arg1 , |
|
9903 |
void *mh_arg1 , |
| 9904 |
void *mh_arg2 , |
|
9904 |
void *mh_arg2 , |
| 9905 |
void *mh_arg3 , |
|
9905 |
void *mh_arg3 , |
| 9906 |
int stage ) ; |
|
9906 |
int stage ) ; |
| 9907 |
extern int __attribute__((__visibility__("default"))) OnUpdateReal(zend_ini_entry *entry , |
|
9907 |
extern int __attribute__((__visibility__("default"))) OnUpdateReal(zend_ini_entry *entry , |
| 9908 |
char *new_value , |
|
9908 |
char *new_value , |
| 9909 |
uint new_value_length , |
|
9909 |
uint new_value_length , |
| 9910 |
void *mh_arg1 , |
|
9910 |
void *mh_arg1 , |
| 9911 |
void *mh_arg2 , |
|
9911 |
void *mh_arg2 , |
| 9912 |
void *mh_arg3 , |
|
9912 |
void *mh_arg3 , |
| 9913 |
int stage ) ; |
|
9913 |
int stage ) ; |
| 9914 |
extern int __attribute__((__visibility__("default"))) OnUpdateString(zend_ini_entry *entry , |
|
9914 |
extern int __attribute__((__visibility__("default"))) OnUpdateString(zend_ini_entry *entry , |
| 9915 |
char *new_value , |
|
9915 |
char *new_value , |
| 9916 |
uint new_value_length , |
|
9916 |
uint new_value_length , |
| 9917 |
void *mh_arg1 , |
|
9917 |
void *mh_arg1 , |
| 9918 |
void *mh_arg2 , |
|
9918 |
void *mh_arg2 , |
| 9919 |
void *mh_arg3 , |
|
9919 |
void *mh_arg3 , |
| 9920 |
int stage ) ; |
|
9920 |
int stage ) ; |
| 9921 |
extern int __attribute__((__visibility__("default"))) OnUpdateStringUnempty(zend_ini_entry *entry , |
|
9921 |
extern int __attribute__((__visibility__("default"))) OnUpdateStringUnempty(zend_ini_entry *entry , |
| 9922 |
char *new_value , |
|
9922 |
char *new_value , |
| 9923 |
uint new_value_length , |
|
9923 |
uint new_value_length , |
| 9924 |
void *mh_arg1 , |
|
9924 |
void *mh_arg1 , |
| 9925 |
void *mh_arg2 , |
|
9925 |
void *mh_arg2 , |
| 9926 |
void *mh_arg3 , |
|
9926 |
void *mh_arg3 , |
| 9927 |
int stage ) ; |
|
9927 |
int stage ) ; |
| 9928 |
extern int __attribute__((__visibility__("default"))) zend_parse_ini_file(zend_file_handle *fh , |
|
9928 |
extern int __attribute__((__visibility__("default"))) zend_parse_ini_file(zend_file_handle *fh , |
| 9929 |
zend_bool unbuffered_errors , |
|
9929 |
zend_bool unbuffered_errors , |
| 9930 |
int scanner_mode , |
|
9930 |
int scanner_mode , |
| 9931 |
void (*ini_parser_cb)(zval *arg1 , |
|
9931 |
void (*ini_parser_cb)(zval *arg1 , |
| 9932 |
zval *arg2 , |
|
9932 |
zval *arg2 , |
| 9933 |
zval *arg3 , |
|
9933 |
zval *arg3 , |
| 9934 |
int callback_type , |
|
9934 |
int callback_type , |
| 9935 |
void *arg ) , |
|
9935 |
void *arg ) , |
| 9936 |
void *arg ) ; |
|
9936 |
void *arg ) ; |
| 9937 |
extern int __attribute__((__visibility__("default"))) zend_parse_ini_string(char *str , |
|
9937 |
extern int __attribute__((__visibility__("default"))) zend_parse_ini_string(char *str , |
| 9938 |
zend_bool unbuffered_errors , |
|
9938 |
zend_bool unbuffered_errors , |
| 9939 |
int scanner_mode , |
|
9939 |
int scanner_mode , |
| 9940 |
void (*ini_parser_cb)(zval *arg1 , |
|
9940 |
void (*ini_parser_cb)(zval *arg1 , |
| 9941 |
zval *arg2 , |
|
9941 |
zval *arg2 , |
| 9942 |
zval *arg3 , |
|
9942 |
zval *arg3 , |
| 9943 |
int callback_type , |
|
9943 |
int callback_type , |
| 9944 |
void *arg ) , |
|
9944 |
void *arg ) , |
| 9945 |
void *arg ) ; |
|
9945 |
void *arg ) ; |
| 9946 |
extern void __attribute__((__visibility__("default"))) config_zval_dtor(zval *zvalue ) ; |
|
9946 |
extern void __attribute__((__visibility__("default"))) config_zval_dtor(zval *zvalue ) ; |
| 9947 |
extern int php_init_config(void) ; |
|
9947 |
extern int php_init_config(void) ; |
| 9948 |
extern int php_shutdown_config(void) ; |
|
9948 |
extern int php_shutdown_config(void) ; |
| 9949 |
extern void php_ini_register_extensions(void) ; |
|
9949 |
extern void php_ini_register_extensions(void) ; |
| 9950 |
extern zval __attribute__((__visibility__("default"))) *cfg_get_entry(char const *name , |
|
9950 |
extern zval __attribute__((__visibility__("default"))) *cfg_get_entry(char const *name , |
| 9951 |
uint name_length ) ; |
|
9951 |
uint name_length ) ; |
| 9952 |
extern int __attribute__((__visibility__("default"))) cfg_get_long(char const *varname , |
|
9952 |
extern int __attribute__((__visibility__("default"))) cfg_get_long(char const *varname , |
| 9953 |
long *result ) ; |
|
9953 |
long *result ) ; |
| 9954 |
extern int __attribute__((__visibility__("default"))) cfg_get_double(char const *varname , |
|
9954 |
extern int __attribute__((__visibility__("default"))) cfg_get_double(char const *varname , |
| 9955 |
double *result ) ; |
|
9955 |
double *result ) ; |
| 9956 |
extern int __attribute__((__visibility__("default"))) cfg_get_string(char const *varname , |
|
9956 |
extern int __attribute__((__visibility__("default"))) cfg_get_string(char const *varname , |
| 9957 |
char **result ) ; |
|
9957 |
char **result ) ; |
| 9958 |
extern int __attribute__((__visibility__("default"))) php_parse_user_ini_file(char const *dirname , |
|
9958 |
extern int __attribute__((__visibility__("default"))) php_parse_user_ini_file(char const *dirname , |
| 9959 |
char *ini_filename , |
|
9959 |
char *ini_filename , |
| 9960 |
HashTable *target_hash ) ; |
|
9960 |
HashTable *target_hash ) ; |
| 9961 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_config(HashTable *source_hash , |
|
9961 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_config(HashTable *source_hash , |
| 9962 |
int modify_type , |
|
9962 |
int modify_type , |
| 9963 |
int stage ) ; |
|
9963 |
int stage ) ; |
| 9964 |
extern int __attribute__((__visibility__("default"))) php_ini_has_per_dir_config(void) ; |
|
9964 |
extern int __attribute__((__visibility__("default"))) php_ini_has_per_dir_config(void) ; |
| 9965 |
extern int __attribute__((__visibility__("default"))) php_ini_has_per_host_config(void) ; |
|
9965 |
extern int __attribute__((__visibility__("default"))) php_ini_has_per_host_config(void) ; |
| 9966 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_per_dir_config(char *path , |
|
9966 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_per_dir_config(char *path , |
| 9967 |
uint path_len ) ; |
|
9967 |
uint path_len ) ; |
| 9968 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_per_host_config(char const *host , |
|
9968 |
extern void __attribute__((__visibility__("default"))) php_ini_activate_per_host_config(char const *host , |
| 9969 |
uint host_len ) ; |
|
9969 |
uint host_len ) ; |
| 9970 |
extern HashTable __attribute__((__visibility__("default"))) *php_ini_get_configuration_hash(void) ; |
|
9970 |
extern HashTable __attribute__((__visibility__("default"))) *php_ini_get_configuration_hash(void) ; |
| 9971 |
extern int __attribute__((__visibility__("default"))) php_fopen_primary_script(zend_file_handle *file_handle ) ; |
|
9971 |
extern int __attribute__((__visibility__("default"))) php_fopen_primary_script(zend_file_handle *file_handle ) ; |
| 9972 |
extern char __attribute__((__visibility__("default"))) *expand_filepath(char const *filepath , |
|
9972 |
extern char __attribute__((__visibility__("default"))) *expand_filepath(char const *filepath , |
| 9973 |
char *real_path ) ; |
|
9973 |
char *real_path ) ; |
| 9974 |
extern char __attribute__((__visibility__("default"))) *expand_filepath_ex(char const *filepath , |
|
9974 |
extern char __attribute__((__visibility__("default"))) *expand_filepath_ex(char const *filepath , |
| 9975 |
char *real_path , |
|
9975 |
char *real_path , |
| 9976 |
char const *relative_to , |
|
9976 |
char const *relative_to , |
| 9977 |
size_t relative_to_len ) ; |
|
9977 |
size_t relative_to_len ) ; |
| 9978 |
extern int __attribute__((__visibility__("default"))) php_check_open_basedir(char const *path ) ; |
|
9978 |
extern int __attribute__((__visibility__("default"))) php_check_open_basedir(char const *path ) ; |
| 9979 |
extern int __attribute__((__visibility__("default"))) php_check_open_basedir_ex(char const *path , |
|
9979 |
extern int __attribute__((__visibility__("default"))) php_check_open_basedir_ex(char const *path , |
| 9980 |
int warn ) ; |
|
9980 |
int warn ) ; |
| 9981 |
extern int __attribute__((__visibility__("default"))) php_check_specific_open_basedir(char const *basedir , |
|
9981 |
extern int __attribute__((__visibility__("default"))) php_check_specific_open_basedir(char const *basedir , |
| 9982 |
char const *path ) ; |
|
9982 |
char const *path ) ; |
| 9983 |
extern int __attribute__((__visibility__("default"))) php_check_safe_mode_include_dir(char const *path ) ; |
|
9983 |
extern int __attribute__((__visibility__("default"))) php_check_safe_mode_include_dir(char const *path ) ; |
| 9984 |
extern char __attribute__((__visibility__("default"))) *php_resolve_path(char const *filename , |
|
9984 |
extern char __attribute__((__visibility__("default"))) *php_resolve_path(char const *filename , |
| 9985 |
int filename_len , |
|
9985 |
int filename_len , |
| 9986 |
char const *path ) ; |
|
9986 |
char const *path ) ; |
| 9987 |
extern FILE __attribute__((__visibility__("default"))) *php_fopen_with_path(char const *filename , |
|
9987 |
extern FILE __attribute__((__visibility__("default"))) *php_fopen_with_path(char const *filename , |
| 9988 |
char const *mode , |
|
9988 |
char const *mode , |
| 9989 |
char const *path , |
|
9989 |
char const *path , |
| 9990 |
char **opened_path ) ; |
|
9990 |
char **opened_path ) ; |
| 9991 |
extern char __attribute__((__visibility__("default"))) *php_strip_url_passwd(char *path ) ; |
|
9991 |
extern char __attribute__((__visibility__("default"))) *php_strip_url_passwd(char *path ) ; |
| 9992 |
extern int __attribute__((__visibility__("default"))) OnUpdateBaseDir(zend_ini_entry *entry , |
|
9992 |
extern int __attribute__((__visibility__("default"))) OnUpdateBaseDir(zend_ini_entry *entry , |
| 9993 |
char *new_value , |
|
9993 |
char *new_value , |
| 9994 |
uint new_value_length , |
|
9994 |
uint new_value_length , |
| 9995 |
void *mh_arg1 , |
|
9995 |
void *mh_arg1 , |
| 9996 |
void *mh_arg2 , |
|
9996 |
void *mh_arg2 , |
| 9997 |
void *mh_arg3 , |
|
9997 |
void *mh_arg3 , |
| 9998 |
int stage ) ; |
|
9998 |
int stage ) ; |
| 9999 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utime)(char const *__file , |
|
9999 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utime)(char const *__file , |
| 10000 |
struct utimbuf const *__file_times ) ; |
|
10000 |
struct utimbuf const *__file_times ) ; |
| 10001 |
extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const *__name ) ; |
|
10001 |
extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const *__name ) ; |
| 10002 |
extern DIR *fdopendir(int __fd ) ; |
|
10002 |
extern DIR *fdopendir(int __fd ) ; |
| 10003 |
extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ; |
|
10003 |
extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ; |
| 10004 |
extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp ) ; |
|
10004 |
extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp ) ; |
| 10005 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict __dirp , |
|
10005 |
extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict __dirp , |
| 10006 |
struct dirent * __restrict __entry , |
|
10006 |
struct dirent * __restrict __entry , |
| 10007 |
struct dirent ** __restrict __result ) ; |
|
10007 |
struct dirent ** __restrict __result ) ; |
| 10008 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ; |
|
10008 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ; |
| 10009 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp , |
|
10009 |
extern __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp , |
| 10010 |
long __pos ) ; |
|
10010 |
long __pos ) ; |
| 10011 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ; |
|
10011 |
extern __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ; |
| 10012 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ; |
|
10012 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ; |
| 10013 |
extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const * __restrict __dir , |
|
10013 |
extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const * __restrict __dir , |
| 10014 |
struct dirent *** __restrict __namelist , |
|
10014 |
struct dirent *** __restrict __namelist , |
| 10015 |
int (*__selector)(struct dirent const * ) , |
|
10015 |
int (*__selector)(struct dirent const * ) , |
| 10016 |
int (*__cmp)(struct dirent const ** , |
|
10016 |
int (*__cmp)(struct dirent const ** , |
| 10017 |
struct dirent const ** ) ) ; |
|
10017 |
struct dirent const ** ) ) ; |
| 10018 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent const **__e1 , |
|
10018 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent const **__e1 , |
| 10019 |
struct dirent const **__e2 ) __attribute__((__pure__)) ; |
|
10019 |
struct dirent const **__e2 ) __attribute__((__pure__)) ; |
| 10020 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd , |
|
10020 |
extern __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd , |
| 10021 |
char * __restrict __buf , |
|
10021 |
char * __restrict __buf , |
| 10022 |
size_t __nbytes , |
|
10022 |
size_t __nbytes , |
| 10023 |
__off_t * __restrict __basep ) ; |
|
10023 |
__off_t * __restrict __basep ) ; |
| 10024 |
extern void __attribute__((__visibility__("default"))) virtual_cwd_startup(void) ; |
|
10024 |
extern void __attribute__((__visibility__("default"))) virtual_cwd_startup(void) ; |
| 10025 |
extern void __attribute__((__visibility__("default"))) virtual_cwd_shutdown(void) ; |
|
10025 |
extern void __attribute__((__visibility__("default"))) virtual_cwd_shutdown(void) ; |
| 10026 |
extern char __attribute__((__visibility__("default"))) *virtual_getcwd_ex(size_t *length ) ; |
|
10026 |
extern char __attribute__((__visibility__("default"))) *virtual_getcwd_ex(size_t *length ) ; |
| 10027 |
extern char __attribute__((__visibility__("default"))) *virtual_getcwd(char *buf , |
|
10027 |
extern char __attribute__((__visibility__("default"))) *virtual_getcwd(char *buf , |
| 10028 |
size_t size ) ; |
|
10028 |
size_t size ) ; |
| 10029 |
extern int __attribute__((__visibility__("default"))) virtual_chdir(char const *path ) ; |
|
10029 |
extern int __attribute__((__visibility__("default"))) virtual_chdir(char const *path ) ; |
| 10030 |
extern int __attribute__((__visibility__("default"))) virtual_chdir_file(char const *path , |
|
10030 |
extern int __attribute__((__visibility__("default"))) virtual_chdir_file(char const *path , |
| 10031 |
int (*p_chdir)(char const *path ) ) ; |
|
10031 |
int (*p_chdir)(char const *path ) ) ; |
| 10032 |
extern int __attribute__((__visibility__("default"))) virtual_filepath(char const *path , |
|
10032 |
extern int __attribute__((__visibility__("default"))) virtual_filepath(char const *path , |
| 10033 |
char **filepath ) ; |
|
10033 |
char **filepath ) ; |
| 10034 |
extern int __attribute__((__visibility__("default"))) virtual_filepath_ex(char const *path , |
|
10034 |
extern int __attribute__((__visibility__("default"))) virtual_filepath_ex(char const *path , |
| 10035 |
char **filepath , |
|
10035 |
char **filepath , |
| 10036 |
int (*verify_path)(cwd_state const * ) ) ; |
|
10036 |
int (*verify_path)(cwd_state const * ) ) ; |
| 10037 |
extern char __attribute__((__visibility__("default"))) *virtual_realpath(char const *path , |
|
10037 |
extern char __attribute__((__visibility__("default"))) *virtual_realpath(char const *path , |
| 10038 |
char *real_path ) ; |
|
10038 |
char *real_path ) ; |
| 10039 |
extern FILE __attribute__((__visibility__("default"))) *virtual_fopen(char const *path , |
|
10039 |
extern FILE __attribute__((__visibility__("default"))) *virtual_fopen(char const *path , |
| 10040 |
char const *mode ) ; |
|
10040 |
char const *mode ) ; |
| 10041 |
extern int __attribute__((__visibility__("default"))) virtual_open(char const *path , |
|
10041 |
extern int __attribute__((__visibility__("default"))) virtual_open(char const *path , |
| 10042 |
int flags |
|
10042 |
int flags |
| 10043 |
, ...) ; |
|
10043 |
, ...) ; |
| 10044 |
extern int __attribute__((__visibility__("default"))) virtual_creat(char const *path , |
|
10044 |
extern int __attribute__((__visibility__("default"))) virtual_creat(char const *path , |
| 10045 |
mode_t mode ) ; |
|
10045 |
mode_t mode ) ; |
| 10046 |
extern int __attribute__((__visibility__("default"))) virtual_rename(char *oldname , |
|
10046 |
extern int __attribute__((__visibility__("default"))) virtual_rename(char *oldname , |
| 10047 |
char *newname ) ; |
|
10047 |
char *newname ) ; |
| 10048 |
extern int __attribute__((__visibility__("default"))) virtual_stat(char const *path , |
|
10048 |
extern int __attribute__((__visibility__("default"))) virtual_stat(char const *path , |
| 10049 |
struct stat *buf ) ; |
|
10049 |
struct stat *buf ) ; |
| 10050 |
extern int __attribute__((__visibility__("default"))) virtual_lstat(char const *path , |
|
10050 |
extern int __attribute__((__visibility__("default"))) virtual_lstat(char const *path , |
| 10051 |
struct stat *buf ) ; |
|
10051 |
struct stat *buf ) ; |
| 10052 |
extern int __attribute__((__visibility__("default"))) virtual_unlink(char const *path ) ; |
|
10052 |
extern int __attribute__((__visibility__("default"))) virtual_unlink(char const *path ) ; |
| 10053 |
extern int __attribute__((__visibility__("default"))) virtual_mkdir(char const *pathname , |
|
10053 |
extern int __attribute__((__visibility__("default"))) virtual_mkdir(char const *pathname , |
| 10054 |
mode_t mode ) ; |
|
10054 |
mode_t mode ) ; |
| 10055 |
extern int __attribute__((__visibility__("default"))) virtual_rmdir(char const *pathname ) ; |
|
10055 |
extern int __attribute__((__visibility__("default"))) virtual_rmdir(char const *pathname ) ; |
| 10056 |
extern DIR __attribute__((__visibility__("default"))) *virtual_opendir(char const *pathname ) ; |
|
10056 |
extern DIR __attribute__((__visibility__("default"))) *virtual_opendir(char const *pathname ) ; |
| 10057 |
extern FILE __attribute__((__visibility__("default"))) *virtual_popen(char const *command , |
|
10057 |
extern FILE __attribute__((__visibility__("default"))) *virtual_popen(char const *command , |
| 10058 |
char const *type ) ; |
|
10058 |
char const *type ) ; |
| 10059 |
extern int __attribute__((__visibility__("default"))) virtual_access(char const *pathname , |
|
10059 |
extern int __attribute__((__visibility__("default"))) virtual_access(char const *pathname , |
| 10060 |
int mode ) ; |
|
10060 |
int mode ) ; |
| 10061 |
extern int __attribute__((__visibility__("default"))) virtual_utime(char const *filename , |
|
10061 |
extern int __attribute__((__visibility__("default"))) virtual_utime(char const *filename , |
| 10062 |
struct utimbuf *buf ) ; |
|
10062 |
struct utimbuf *buf ) ; |
| 10063 |
extern int __attribute__((__visibility__("default"))) virtual_chmod(char const *filename , |
|
10063 |
extern int __attribute__((__visibility__("default"))) virtual_chmod(char const *filename , |
| 10064 |
mode_t mode ) ; |
|
10064 |
mode_t mode ) ; |
| 10065 |
extern int __attribute__((__visibility__("default"))) virtual_chown(char const *filename , |
|
10065 |
extern int __attribute__((__visibility__("default"))) virtual_chown(char const *filename , |
| 10066 |
uid_t owner , |
|
10066 |
uid_t owner , |
| 10067 |
gid_t group , |
|
10067 |
gid_t group , |
| 10068 |
int link ) ; |
|
10068 |
int link ) ; |
| 10069 |
extern int __attribute__((__visibility__("default"))) virtual_file_ex(cwd_state *state , |
|
10069 |
extern int __attribute__((__visibility__("default"))) virtual_file_ex(cwd_state *state , |
| 10070 |
char const *path , |
|
10070 |
char const *path , |
| 10071 |
int (*verify_path)(cwd_state const * ) , |
|
10071 |
int (*verify_path)(cwd_state const * ) , |
| 10072 |
int use_realpath ) ; |
|
10072 |
int use_realpath ) ; |
| 10073 |
extern char __attribute__((__visibility__("default"))) *tsrm_realpath(char const *path , |
|
10073 |
extern char __attribute__((__visibility__("default"))) *tsrm_realpath(char const *path , |
| 10074 |
char *real_path ) ; |
|
10074 |
char *real_path ) ; |
| 10075 |
extern virtual_cwd_globals cwd_globals ; |
|
10075 |
extern virtual_cwd_globals cwd_globals ; |
| 10076 |
extern void __attribute__((__visibility__("default"))) realpath_cache_clean(void) ; |
|
10076 |
extern void __attribute__((__visibility__("default"))) realpath_cache_clean(void) ; |
| 10077 |
extern void __attribute__((__visibility__("default"))) realpath_cache_del(char const *path , |
|
10077 |
extern void __attribute__((__visibility__("default"))) realpath_cache_del(char const *path , |
| 10078 |
int path_len ) ; |
|
10078 |
int path_len ) ; |
| 10079 |
extern realpath_cache_bucket __attribute__((__visibility__("default"))) *realpath_cache_lookup(char const *path , |
|
10079 |
extern realpath_cache_bucket __attribute__((__visibility__("default"))) *realpath_cache_lookup(char const *path , |
| 10080 |
int path_len , |
|
10080 |
int path_len , |
| 10081 |
time_t t ) ; |
|
10081 |
time_t t ) ; |
| 10082 |
extern int __attribute__((__visibility__("default"))) realpath_cache_size(void) ; |
|
10082 |
extern int __attribute__((__visibility__("default"))) realpath_cache_size(void) ; |
| 10083 |
extern int __attribute__((__visibility__("default"))) realpath_cache_max_buckets(void) ; |
|
10083 |
extern int __attribute__((__visibility__("default"))) realpath_cache_max_buckets(void) ; |
| 10084 |
extern realpath_cache_bucket __attribute__((__visibility__("default"))) **realpath_cache_get_buckets(void) ; |
|
10084 |
extern realpath_cache_bucket __attribute__((__visibility__("default"))) **realpath_cache_get_buckets(void) ; |
| 10085 |
extern void clean_module_constants(int module_number ) ; |
|
10085 |
extern void clean_module_constants(int module_number ) ; |
| 10086 |
extern void free_zend_constant(zend_constant *c ) ; |
|
10086 |
extern void free_zend_constant(zend_constant *c ) ; |
| 10087 |
extern int zend_startup_constants(void) ; |
|
10087 |
extern int zend_startup_constants(void) ; |
| 10088 |
extern int zend_shutdown_constants(void) ; |
|
10088 |
extern int zend_shutdown_constants(void) ; |
| 10089 |
extern void zend_register_standard_constants(void) ; |
|
10089 |
extern void zend_register_standard_constants(void) ; |
| 10090 |
extern void clean_non_persistent_constants(void) ; |
|
10090 |
extern void clean_non_persistent_constants(void) ; |
| 10091 |
extern int __attribute__((__visibility__("default"))) zend_get_constant(char const *name , |
|
10091 |
extern int __attribute__((__visibility__("default"))) zend_get_constant(char const *name , |
| 10092 |
uint name_len , |
|
10092 |
uint name_len , |
| 10093 |
zval *result ) ; |
|
10093 |
zval *result ) ; |
| 10094 |
extern int __attribute__((__visibility__("default"))) zend_get_constant_ex(char const *name , |
|
10094 |
extern int __attribute__((__visibility__("default"))) zend_get_constant_ex(char const *name , |
| 10095 |
uint name_len , |
|
10095 |
uint name_len , |
| 10096 |
zval *result , |
|
10096 |
zval *result , |
| 10097 |
zend_class_entry *scope , |
|
10097 |
zend_class_entry *scope , |
| 10098 |
ulong flags ) ; |
|
10098 |
ulong flags ) ; |
| 10099 |
extern void __attribute__((__visibility__("default"))) zend_register_long_constant(char const *name , |
|
10099 |
extern void __attribute__((__visibility__("default"))) zend_register_long_constant(char const *name , |
| 10100 |
uint name_len , |
|
10100 |
uint name_len , |
| 10101 |
long lval , |
|
10101 |
long lval , |
| 10102 |
int flags , |
|
10102 |
int flags , |
| 10103 |
int module_number ) ; |
|
10103 |
int module_number ) ; |
| 10104 |
extern void __attribute__((__visibility__("default"))) zend_register_double_constant(char const *name , |
|
10104 |
extern void __attribute__((__visibility__("default"))) zend_register_double_constant(char const *name , |
| 10105 |
uint name_len , |
|
10105 |
uint name_len , |
| 10106 |
double dval , |
|
10106 |
double dval , |
| 10107 |
int flags , |
|
10107 |
int flags , |
| 10108 |
int module_number ) ; |
|
10108 |
int module_number ) ; |
| 10109 |
extern void __attribute__((__visibility__("default"))) zend_register_string_constant(char const *name , |
|
10109 |
extern void __attribute__((__visibility__("default"))) zend_register_string_constant(char const *name , |
| 10110 |
uint name_len , |
|
10110 |
uint name_len , |
| 10111 |
char *strval , |
|
10111 |
char *strval , |
| 10112 |
int flags , |
|
10112 |
int flags , |
| 10113 |
int module_number ) ; |
|
10113 |
int module_number ) ; |
| 10114 |
extern void __attribute__((__visibility__("default"))) zend_register_stringl_constant(char const *name , |
|
10114 |
extern void __attribute__((__visibility__("default"))) zend_register_stringl_constant(char const *name , |
| 10115 |
uint name_len , |
|
10115 |
uint name_len , |
| 10116 |
char *strval , |
|
10116 |
char *strval , |
| 10117 |
uint strlen , |
|
10117 |
uint strlen , |
| 10118 |
int flags , |
|
10118 |
int flags , |
| 10119 |
int module_number ) ; |
|
10119 |
int module_number ) ; |
| 10120 |
extern int __attribute__((__visibility__("default"))) zend_register_constant(zend_constant *c ) ; |
|
10120 |
extern int __attribute__((__visibility__("default"))) zend_register_constant(zend_constant *c ) ; |
| 10121 |
extern void zend_copy_constants(HashTable *target , HashTable *sourc ) ; |
|
10121 |
extern void zend_copy_constants(HashTable *target , HashTable *sourc ) ; |
| 10122 |
extern void copy_zend_constant(zend_constant *c ) ; |
|
10122 |
extern void copy_zend_constant(zend_constant *c ) ; |
| 10123 |
extern zend_constant *zend_quick_get_constant(zend_literal const *key , |
|
10123 |
extern zend_constant *zend_quick_get_constant(zend_literal const *key , |
| 10124 |
ulong flags ) ; |
|
10124 |
ulong flags ) ; |
| 10125 |
extern __attribute__((__nothrow__)) clock_t clock(void) ; |
|
10125 |
extern __attribute__((__nothrow__)) clock_t clock(void) ; |
| 10126 |
extern __attribute__((__nothrow__)) time_t time(time_t *__timer ) ; |
|
10126 |
extern __attribute__((__nothrow__)) time_t time(time_t *__timer ) ; |
| 10127 |
extern __attribute__((__nothrow__)) double difftime(time_t __time1 , |
|
10127 |
extern __attribute__((__nothrow__)) double difftime(time_t __time1 , |
| 10128 |
time_t __time0 ) __attribute__((__const__)) ; |
|
10128 |
time_t __time0 ) __attribute__((__const__)) ; |
| 10129 |
extern __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ; |
|
10129 |
extern __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ; |
| 10130 |
extern __attribute__((__nothrow__)) size_t strftime(char * __restrict __s , |
|
10130 |
extern __attribute__((__nothrow__)) size_t strftime(char * __restrict __s , |
| 10131 |
size_t __maxsize , |
|
10131 |
size_t __maxsize , |
| 10132 |
char const * __restrict __format , |
|
10132 |
char const * __restrict __format , |
| 10133 |
struct tm const * __restrict __tp ) ; |
|
10133 |
struct tm const * __restrict __tp ) ; |
| 10134 |
extern __attribute__((__nothrow__)) size_t strftime_l(char * __restrict __s , |
|
10134 |
extern __attribute__((__nothrow__)) size_t strftime_l(char * __restrict __s , |
| 10135 |
size_t __maxsize , |
|
10135 |
size_t __maxsize , |
| 10136 |
char const * __restrict __format , |
|
10136 |
char const * __restrict __format , |
| 10137 |
struct tm const * __restrict __tp , |
|
10137 |
struct tm const * __restrict __tp , |
| 10138 |
__locale_t __loc ) ; |
|
10138 |
__locale_t __loc ) ; |
| 10139 |
extern __attribute__((__nothrow__)) struct tm *gmtime(time_t const *__timer ) ; |
|
10139 |
extern __attribute__((__nothrow__)) struct tm *gmtime(time_t const *__timer ) ; |
| 10140 |
extern __attribute__((__nothrow__)) struct tm *localtime(time_t const *__timer ) ; |
|
10140 |
extern __attribute__((__nothrow__)) struct tm *localtime(time_t const *__timer ) ; |
| 10141 |
extern __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const * __restrict __timer , |
|
10141 |
extern __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const * __restrict __timer , |
| 10142 |
struct tm * __restrict __tp ) ; |
|
10142 |
struct tm * __restrict __tp ) ; |
| 10143 |
extern __attribute__((__nothrow__)) struct tm *localtime_r(time_t const * __restrict __timer , |
|
10143 |
extern __attribute__((__nothrow__)) struct tm *localtime_r(time_t const * __restrict __timer , |
| 10144 |
struct tm * __restrict __tp ) ; |
|
10144 |
struct tm * __restrict __tp ) ; |
| 10145 |
extern __attribute__((__nothrow__)) char *asctime(struct tm const *__tp ) ; |
|
10145 |
extern __attribute__((__nothrow__)) char *asctime(struct tm const *__tp ) ; |
| 10146 |
extern __attribute__((__nothrow__)) char *ctime(time_t const *__timer ) ; |
|
10146 |
extern __attribute__((__nothrow__)) char *ctime(time_t const *__timer ) ; |
| 10147 |
extern __attribute__((__nothrow__)) char *asctime_r(struct tm const * __restrict __tp , |
|
10147 |
extern __attribute__((__nothrow__)) char *asctime_r(struct tm const * __restrict __tp , |
| 10148 |
char * __restrict __buf ) ; |
|
10148 |
char * __restrict __buf ) ; |
| 10149 |
extern __attribute__((__nothrow__)) char *ctime_r(time_t const * __restrict __timer , |
|
10149 |
extern __attribute__((__nothrow__)) char *ctime_r(time_t const * __restrict __timer , |
| 10150 |
char * __restrict __buf ) ; |
|
10150 |
char * __restrict __buf ) ; |
| 10151 |
extern char *__tzname[2] ; |
|
10151 |
extern char *__tzname[2] ; |
| 10152 |
extern int __daylight ; |
|
10152 |
extern int __daylight ; |
| 10153 |
extern long __timezone ; |
|
10153 |
extern long __timezone ; |
| 10154 |
extern char *tzname[2] ; |
|
10154 |
extern char *tzname[2] ; |
| 10155 |
extern __attribute__((__nothrow__)) void tzset(void) ; |
|
10155 |
extern __attribute__((__nothrow__)) void tzset(void) ; |
| 10156 |
extern int daylight ; |
|
10156 |
extern int daylight ; |
| 10157 |
extern long timezone ; |
|
10157 |
extern long timezone ; |
| 10158 |
extern __attribute__((__nothrow__)) int stime(time_t const *__when ) ; |
|
10158 |
extern __attribute__((__nothrow__)) int stime(time_t const *__when ) ; |
| 10159 |
extern __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ; |
|
10159 |
extern __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ; |
| 10160 |
extern __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ; |
|
10160 |
extern __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ; |
| 10161 |
extern __attribute__((__nothrow__)) int dysize(int __year ) __attribute__((__const__)) ; |
|
10161 |
extern __attribute__((__nothrow__)) int dysize(int __year ) __attribute__((__const__)) ; |
| 10162 |
extern int nanosleep(struct timespec const *__requested_time , |
|
10162 |
extern int nanosleep(struct timespec const *__requested_time , |
| 10163 |
struct timespec *__remaining ) ; |
|
10163 |
struct timespec *__remaining ) ; |
| 10164 |
extern __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id , |
|
10164 |
extern __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id , |
| 10165 |
struct timespec *__res ) ; |
|
10165 |
struct timespec *__res ) ; |
| 10166 |
extern __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id , |
|
10166 |
extern __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id , |
| 10167 |
struct timespec *__tp ) ; |
|
10167 |
struct timespec *__tp ) ; |
| 10168 |
extern __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id , |
|
10168 |
extern __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id , |
| 10169 |
struct timespec const *__tp ) ; |
|
10169 |
struct timespec const *__tp ) ; |
| 10170 |
extern int clock_nanosleep(clockid_t __clock_id , int __flags , |
|
10170 |
extern int clock_nanosleep(clockid_t __clock_id , int __flags , |
| 10171 |
struct timespec const *__req , |
|
10171 |
struct timespec const *__req , |
| 10172 |
struct timespec *__rem ) ; |
|
10172 |
struct timespec *__rem ) ; |
| 10173 |
extern __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid , |
|
10173 |
extern __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid , |
| 10174 |
clockid_t *__clock_id ) ; |
|
10174 |
clockid_t *__clock_id ) ; |
| 10175 |
extern __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id , |
|
10175 |
extern __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id , |
| 10176 |
struct sigevent * __restrict __evp , |
|
10176 |
struct sigevent * __restrict __evp , |
| 10177 |
timer_t * __restrict __timerid ) ; |
|
10177 |
timer_t * __restrict __timerid ) ; |
| 10178 |
extern __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ; |
|
10178 |
extern __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ; |
| 10179 |
extern __attribute__((__nothrow__)) int timer_settime(timer_t __timerid , |
|
10179 |
extern __attribute__((__nothrow__)) int timer_settime(timer_t __timerid , |
| 10180 |
int __flags , |
|
10180 |
int __flags , |
| 10181 |
struct itimerspec const * __restrict __value , |
|
10181 |
struct itimerspec const * __restrict __value , |
| 10182 |
struct itimerspec * __restrict __ovalue ) ; |
|
10182 |
struct itimerspec * __restrict __ovalue ) ; |
| 10183 |
extern __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid , |
|
10183 |
extern __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid , |
| 10184 |
struct itimerspec *__value ) ; |
|
10184 |
struct itimerspec *__value ) ; |
| 10185 |
extern __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ; |
|
10185 |
extern __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ; |
| 10186 |
extern __attribute__((__nothrow__)) wchar_t *wcscpy(wchar_t * __restrict __dest , |
|
10186 |
extern __attribute__((__nothrow__)) wchar_t *wcscpy(wchar_t * __restrict __dest , |
| 10187 |
wchar_t const * __restrict __src ) ; |
|
10187 |
wchar_t const * __restrict __src ) ; |
| 10188 |
extern __attribute__((__nothrow__)) wchar_t *wcsncpy(wchar_t * __restrict __dest , |
|
10188 |
extern __attribute__((__nothrow__)) wchar_t *wcsncpy(wchar_t * __restrict __dest , |
| 10189 |
wchar_t const * __restrict __src , |
|
10189 |
wchar_t const * __restrict __src , |
| 10190 |
size_t __n ) ; |
|
10190 |
size_t __n ) ; |
| 10191 |
extern __attribute__((__nothrow__)) wchar_t *wcscat(wchar_t * __restrict __dest , |
|
10191 |
extern __attribute__((__nothrow__)) wchar_t *wcscat(wchar_t * __restrict __dest , |
| 10192 |
wchar_t const * __restrict __src ) ; |
|
10192 |
wchar_t const * __restrict __src ) ; |
| 10193 |
extern __attribute__((__nothrow__)) wchar_t *wcsncat(wchar_t * __restrict __dest , |
|
10193 |
extern __attribute__((__nothrow__)) wchar_t *wcsncat(wchar_t * __restrict __dest , |
| 10194 |
wchar_t const * __restrict __src , |
|
10194 |
wchar_t const * __restrict __src , |
| 10195 |
size_t __n ) ; |
|
10195 |
size_t __n ) ; |
| 10196 |
extern __attribute__((__nothrow__)) int wcscmp(wchar_t const *__s1 , |
|
10196 |
extern __attribute__((__nothrow__)) int wcscmp(wchar_t const *__s1 , |
| 10197 |
wchar_t const *__s2 ) __attribute__((__pure__)) ; |
|
10197 |
wchar_t const *__s2 ) __attribute__((__pure__)) ; |
| 10198 |
extern __attribute__((__nothrow__)) int wcsncmp(wchar_t const *__s1 , |
|
10198 |
extern __attribute__((__nothrow__)) int wcsncmp(wchar_t const *__s1 , |
| 10199 |
wchar_t const *__s2 , |
|
10199 |
wchar_t const *__s2 , |
| 10200 |
size_t __n ) __attribute__((__pure__)) ; |
|
10200 |
size_t __n ) __attribute__((__pure__)) ; |
| 10201 |
extern __attribute__((__nothrow__)) int wcscasecmp(wchar_t const *__s1 , |
|
10201 |
extern __attribute__((__nothrow__)) int wcscasecmp(wchar_t const *__s1 , |
| 10202 |
wchar_t const *__s2 ) ; |
|
10202 |
wchar_t const *__s2 ) ; |
| 10203 |
extern __attribute__((__nothrow__)) int wcsncasecmp(wchar_t const *__s1 , |
|
10203 |
extern __attribute__((__nothrow__)) int wcsncasecmp(wchar_t const *__s1 , |
| 10204 |
wchar_t const *__s2 , |
|
10204 |
wchar_t const *__s2 , |
| 10205 |
size_t __n ) ; |
|
10205 |
size_t __n ) ; |
| 10206 |
extern __attribute__((__nothrow__)) int wcscasecmp_l(wchar_t const *__s1 , |
|
10206 |
extern __attribute__((__nothrow__)) int wcscasecmp_l(wchar_t const *__s1 , |
| 10207 |
wchar_t const *__s2 , |
|
10207 |
wchar_t const *__s2 , |
| 10208 |
__locale_t __loc ) ; |
|
10208 |
__locale_t __loc ) ; |
| 10209 |
extern __attribute__((__nothrow__)) int wcsncasecmp_l(wchar_t const *__s1 , |
|
10209 |
extern __attribute__((__nothrow__)) int wcsncasecmp_l(wchar_t const *__s1 , |
| 10210 |
wchar_t const *__s2 , |
|
10210 |
wchar_t const *__s2 , |
| 10211 |
size_t __n , |
|
10211 |
size_t __n , |
| 10212 |
__locale_t __loc ) ; |
|
10212 |
__locale_t __loc ) ; |
| 10213 |
extern __attribute__((__nothrow__)) int wcscoll(wchar_t const *__s1 , |
|
10213 |
extern __attribute__((__nothrow__)) int wcscoll(wchar_t const *__s1 , |
| 10214 |
wchar_t const *__s2 ) ; |
|
10214 |
wchar_t const *__s2 ) ; |
| 10215 |
extern __attribute__((__nothrow__)) size_t wcsxfrm(wchar_t * __restrict __s1 , |
|
10215 |
extern __attribute__((__nothrow__)) size_t wcsxfrm(wchar_t * __restrict __s1 , |
| 10216 |
wchar_t const * __restrict __s2 , |
|
10216 |
wchar_t const * __restrict __s2 , |
| 10217 |
size_t __n ) ; |
|
10217 |
size_t __n ) ; |
| 10218 |
extern __attribute__((__nothrow__)) int wcscoll_l(wchar_t const *__s1 , |
|
10218 |
extern __attribute__((__nothrow__)) int wcscoll_l(wchar_t const *__s1 , |
| 10219 |
wchar_t const *__s2 , |
|
10219 |
wchar_t const *__s2 , |
| 10220 |
__locale_t __loc ) ; |
|
10220 |
__locale_t __loc ) ; |
| 10221 |
extern __attribute__((__nothrow__)) size_t wcsxfrm_l(wchar_t *__s1 , |
|
10221 |
extern __attribute__((__nothrow__)) size_t wcsxfrm_l(wchar_t *__s1 , |
| 10222 |
wchar_t const *__s2 , |
|
10222 |
wchar_t const *__s2 , |
| 10223 |
size_t __n , |
|
10223 |
size_t __n , |
| 10224 |
__locale_t __loc ) ; |
|
10224 |
__locale_t __loc ) ; |
| 10225 |
extern __attribute__((__nothrow__)) wchar_t *wcsdup(wchar_t const *__s ) __attribute__((__malloc__)) ; |
|
10225 |
extern __attribute__((__nothrow__)) wchar_t *wcsdup(wchar_t const *__s ) __attribute__((__malloc__)) ; |
| 10226 |
extern __attribute__((__nothrow__)) wchar_t *wcschr(wchar_t const *__wcs , |
|
10226 |
extern __attribute__((__nothrow__)) wchar_t *wcschr(wchar_t const *__wcs , |
| 10227 |
wchar_t __wc ) __attribute__((__pure__)) ; |
|
10227 |
wchar_t __wc ) __attribute__((__pure__)) ; |
| 10228 |
extern __attribute__((__nothrow__)) wchar_t *wcsrchr(wchar_t const *__wcs , |
|
10228 |
extern __attribute__((__nothrow__)) wchar_t *wcsrchr(wchar_t const *__wcs , |
| 10229 |
wchar_t __wc ) __attribute__((__pure__)) ; |
|
10229 |
wchar_t __wc ) __attribute__((__pure__)) ; |
| 10230 |
extern __attribute__((__nothrow__)) size_t wcscspn(wchar_t const *__wcs , |
|
10230 |
extern __attribute__((__nothrow__)) size_t wcscspn(wchar_t const *__wcs , |
| 10231 |
wchar_t const *__reject ) __attribute__((__pure__)) ; |
|
10231 |
wchar_t const *__reject ) __attribute__((__pure__)) ; |
| 10232 |
extern __attribute__((__nothrow__)) size_t wcsspn(wchar_t const *__wcs , |
|
10232 |
extern __attribute__((__nothrow__)) size_t wcsspn(wchar_t const *__wcs , |
| 10233 |
wchar_t const *__accept ) __attribute__((__pure__)) ; |
|
10233 |
wchar_t const *__accept ) __attribute__((__pure__)) ; |
| 10234 |
extern __attribute__((__nothrow__)) wchar_t *wcspbrk(wchar_t const *__wcs , |
|
10234 |
extern __attribute__((__nothrow__)) wchar_t *wcspbrk(wchar_t const *__wcs , |
| 10235 |
wchar_t const *__accept ) __attribute__((__pure__)) ; |
|
10235 |
wchar_t const *__accept ) __attribute__((__pure__)) ; |
| 10236 |
extern __attribute__((__nothrow__)) wchar_t *wcsstr(wchar_t const *__haystack , |
|
10236 |
extern __attribute__((__nothrow__)) wchar_t *wcsstr(wchar_t const *__haystack , |
| 10237 |
wchar_t const *__needle ) __attribute__((__pure__)) ; |
|
10237 |
wchar_t const *__needle ) __attribute__((__pure__)) ; |
| 10238 |
extern __attribute__((__nothrow__)) wchar_t *wcstok(wchar_t * __restrict __s , |
|
10238 |
extern __attribute__((__nothrow__)) wchar_t *wcstok(wchar_t * __restrict __s , |
| 10239 |
wchar_t const * __restrict __delim , |
|
10239 |
wchar_t const * __restrict __delim , |
| 10240 |
wchar_t ** __restrict __ptr ) ; |
|
10240 |
wchar_t ** __restrict __ptr ) ; |
| 10241 |
extern __attribute__((__nothrow__)) size_t wcslen(wchar_t const *__s ) __attribute__((__pure__)) ; |
|
10241 |
extern __attribute__((__nothrow__)) size_t wcslen(wchar_t const *__s ) __attribute__((__pure__)) ; |
| 10242 |
extern __attribute__((__nothrow__)) size_t wcsnlen(wchar_t const *__s , |
|
10242 |
extern __attribute__((__nothrow__)) size_t wcsnlen(wchar_t const *__s , |
| 10243 |
size_t __maxlen ) __attribute__((__pure__)) ; |
|
10243 |
size_t __maxlen ) __attribute__((__pure__)) ; |
| 10244 |
extern __attribute__((__nothrow__)) wchar_t *wmemchr(wchar_t const *__s , |
|
10244 |
extern __attribute__((__nothrow__)) wchar_t *wmemchr(wchar_t const *__s , |
| 10245 |
wchar_t __c , size_t __n ) __attribute__((__pure__)) ; |
|
10245 |
wchar_t __c , size_t __n ) __attribute__((__pure__)) ; |
| 10246 |
extern __attribute__((__nothrow__)) int wmemcmp(wchar_t const * __restrict __s1 , |
|
10246 |
extern __attribute__((__nothrow__)) int wmemcmp(wchar_t const * __restrict __s1 , |
| 10247 |
wchar_t const * __restrict __s2 , |
|
10247 |
wchar_t const * __restrict __s2 , |
| 10248 |
size_t __n ) __attribute__((__pure__)) ; |
|
10248 |
size_t __n ) __attribute__((__pure__)) ; |
| 10249 |
extern __attribute__((__nothrow__)) wchar_t *wmemcpy(wchar_t * __restrict __s1 , |
|
10249 |
extern __attribute__((__nothrow__)) wchar_t *wmemcpy(wchar_t * __restrict __s1 , |
| 10250 |
wchar_t const * __restrict __s2 , |
|
10250 |
wchar_t const * __restrict __s2 , |
| 10251 |
size_t __n ) ; |
|
10251 |
size_t __n ) ; |
| 10252 |
extern __attribute__((__nothrow__)) wchar_t *wmemmove(wchar_t *__s1 , |
|
10252 |
extern __attribute__((__nothrow__)) wchar_t *wmemmove(wchar_t *__s1 , |
| 10253 |
wchar_t const *__s2 , |
|
10253 |
wchar_t const *__s2 , |
| 10254 |
size_t __n ) ; |
|
10254 |
size_t __n ) ; |
| 10255 |
extern __attribute__((__nothrow__)) wchar_t *wmemset(wchar_t *__s , |
|
10255 |
extern __attribute__((__nothrow__)) wchar_t *wmemset(wchar_t *__s , |
| 10256 |
wchar_t __c , size_t __n ) ; |
|
10256 |
wchar_t __c , size_t __n ) ; |
| 10257 |
__inline extern __attribute__((__nothrow__)) wint_t btowc(int __c ) ; |
|
10257 |
__inline extern __attribute__((__nothrow__)) wint_t btowc(int __c ) ; |
| 10258 |
__inline extern __attribute__((__nothrow__)) int wctob(wint_t __wc ) ; |
|
10258 |
__inline extern __attribute__((__nothrow__)) int wctob(wint_t __wc ) ; |
| 10259 |
extern __attribute__((__nothrow__)) int mbsinit(mbstate_t const *__ps ) __attribute__((__pure__)) ; |
|
10259 |
extern __attribute__((__nothrow__)) int mbsinit(mbstate_t const *__ps ) __attribute__((__pure__)) ; |
| 10260 |
extern __attribute__((__nothrow__)) size_t mbrtowc(wchar_t * __restrict __pwc , |
|
10260 |
extern __attribute__((__nothrow__)) size_t mbrtowc(wchar_t * __restrict __pwc , |
| 10261 |
char const * __restrict __s , |
|
10261 |
char const * __restrict __s , |
| 10262 |
size_t __n , mbstate_t *__p ) ; |
|
10262 |
size_t __n , mbstate_t *__p ) ; |
| 10263 |
extern __attribute__((__nothrow__)) size_t wcrtomb(char * __restrict __s , |
|
10263 |
extern __attribute__((__nothrow__)) size_t wcrtomb(char * __restrict __s , |
| 10264 |
wchar_t __wc , |
|
10264 |
wchar_t __wc , |
| 10265 |
mbstate_t * __restrict __ps ) ; |
|
10265 |
mbstate_t * __restrict __ps ) ; |
| 10266 |
extern __attribute__((__nothrow__)) size_t __mbrlen(char const * __restrict __s , |
|
10266 |
extern __attribute__((__nothrow__)) size_t __mbrlen(char const * __restrict __s , |
| 10267 |
size_t __n , |
|
10267 |
size_t __n , |
| 10268 |
mbstate_t * __restrict __ps ) ; |
|
10268 |
mbstate_t * __restrict __ps ) ; |
| 10269 |
__inline extern __attribute__((__nothrow__)) size_t mbrlen(char const * __restrict __s , |
|
10269 |
__inline extern __attribute__((__nothrow__)) size_t mbrlen(char const * __restrict __s , |
| 10270 |
size_t __n , |
|
10270 |
size_t __n , |
| 10271 |
mbstate_t * __restrict __ps ) ; |
|
10271 |
mbstate_t * __restrict __ps ) ; |
| 10272 |
extern wint_t __btowc_alias(int __c ) __asm__("btowc") ; |
|
10272 |
extern wint_t __btowc_alias(int __c ) __asm__("btowc") ; |
| 10273 |
__inline extern __attribute__((__nothrow__)) wint_t btowc(int __c ) ; |
|
10273 |
__inline extern __attribute__((__nothrow__)) wint_t btowc(int __c ) ; |
| 10274 |
__inline extern wint_t btowc(int __c ) |
|
10274 |
__inline extern wint_t btowc(int __c ) |
| 10275 |
{ |
|
10275 |
{ |
| 10276 |
wint_t tmp ; |
|
10276 |
wint_t tmp ; |
| 10277 |
|
|
10277 |
|
| 10278 |
{ |
|
10278 |
{ |
| 10279 |
tmp = __btowc_alias(__c); |
|
10279 |
tmp = __btowc_alias(__c); |
| 10280 |
return (tmp); |
|
10280 |
return (tmp); |
| 10281 |
} |
|
10281 |
} |
| 10282 |
} |
|
10282 |
} |
| 10283 |
extern int __wctob_alias(wint_t __c ) __asm__("wctob") ; |
|
10283 |
extern int __wctob_alias(wint_t __c ) __asm__("wctob") ; |
| 10284 |
__inline extern __attribute__((__nothrow__)) int wctob(wint_t __wc ) ; |
|
10284 |
__inline extern __attribute__((__nothrow__)) int wctob(wint_t __wc ) ; |
| 10285 |
__inline extern int wctob(wint_t __wc ) |
|
10285 |
__inline extern int wctob(wint_t __wc ) |
| 10286 |
{ |
|
10286 |
{ |
| 10287 |
int tmp ; |
|
10287 |
int tmp ; |
| 10288 |
|
|
10288 |
|
| 10289 |
{ |
|
10289 |
{ |
| 10290 |
tmp = __wctob_alias(__wc); |
|
10290 |
tmp = __wctob_alias(__wc); |
| 10291 |
return (tmp); |
|
10291 |
return (tmp); |
| 10292 |
} |
|
10292 |
} |
| 10293 |
} |
|
10293 |
} |
| 10294 |
__inline extern __attribute__((__nothrow__)) size_t mbrlen(char const * __restrict __s , |
|
10294 |
__inline extern __attribute__((__nothrow__)) size_t mbrlen(char const * __restrict __s , |
| 10295 |
size_t __n , |
|
10295 |
size_t __n , |
| 10296 |
mbstate_t * __restrict __ps ) ; |
|
10296 |
mbstate_t * __restrict __ps ) ; |
| 10297 |
__inline extern size_t mbrlen(char const * __restrict __s , size_t __n , |
|
10297 |
__inline extern size_t mbrlen(char const * __restrict __s , size_t __n , |
| 10298 |
mbstate_t * __restrict __ps ) |
|
10298 |
mbstate_t * __restrict __ps ) |
| 10299 |
{ |
|
10299 |
{ |
| 10300 |
size_t tmp ; |
|
10300 |
size_t tmp ; |
| 10301 |
size_t tmp___0 ; |
|
10301 |
size_t tmp___0 ; |
| 10302 |
size_t tmp___1 ; |
|
10302 |
size_t tmp___1 ; |
| 10303 |
|
|
10303 |
|
| 10304 |
{ |
|
10304 |
{ |
| 10305 |
if ((unsigned int )__ps != (unsigned int )((void *)0)) { |
|
10305 |
if ((unsigned int )__ps != (unsigned int )((void *)0)) { |
| 10306 |
tmp = mbrtowc((wchar_t *)((void *)0), __s, __n, |
|
10306 |
tmp = mbrtowc((wchar_t *)((void *)0), __s, __n, |
| 10307 |
(mbstate_t *)__ps); |
|
10307 |
(mbstate_t *)__ps); |
| 10308 |
tmp___1 = tmp; |
|
10308 |
tmp___1 = tmp; |
| 10309 |
} else { |
|
10309 |
} else { |
| 10310 |
tmp___0 = __mbrlen(__s, __n, (mbstate_t *)((void *)0)); |
|
10310 |
tmp___0 = __mbrlen(__s, __n, (mbstate_t *)((void *)0)); |
| 10311 |
tmp___1 = tmp___0; |
|
10311 |
tmp___1 = tmp___0; |
| 10312 |
} |
|
10312 |
} |
| 10313 |
return (tmp___1); |
|
10313 |
return (tmp___1); |
| 10314 |
} |
|
10314 |
} |
| 10315 |
} |
|
10315 |
} |
| 10316 |
extern __attribute__((__nothrow__)) size_t mbsrtowcs(wchar_t * __restrict __dst , |
|
10316 |
extern __attribute__((__nothrow__)) size_t mbsrtowcs(wchar_t * __restrict __dst , |
| 10317 |
char const ** __restrict __src , |
|
10317 |
char const ** __restrict __src , |
| 10318 |
size_t __len , |
|
10318 |
size_t __len , |
| 10319 |
mbstate_t * __restrict __ps ) ; |
|
10319 |
mbstate_t * __restrict __ps ) ; |
| 10320 |
extern __attribute__((__nothrow__)) size_t wcsrtombs(char * __restrict __dst , |
|
10320 |
extern __attribute__((__nothrow__)) size_t wcsrtombs(char * __restrict __dst , |
| 10321 |
wchar_t const ** __restrict __src , |
|
10321 |
wchar_t const ** __restrict __src , |
| 10322 |
size_t __len , |
|
10322 |
size_t __len , |
| 10323 |
mbstate_t * __restrict __ps ) ; |
|
10323 |
mbstate_t * __restrict __ps ) ; |
| 10324 |
extern __attribute__((__nothrow__)) size_t mbsnrtowcs(wchar_t * __restrict __dst , |
|
10324 |
extern __attribute__((__nothrow__)) size_t mbsnrtowcs(wchar_t * __restrict __dst , |
| 10325 |
char const ** __restrict __src , |
|
10325 |
char const ** __restrict __src , |
| 10326 |
size_t __nmc , |
|
10326 |
size_t __nmc , |
| 10327 |
size_t __len , |
|
10327 |
size_t __len , |
| 10328 |
mbstate_t * __restrict __ps ) ; |
|
10328 |
mbstate_t * __restrict __ps ) ; |
| 10329 |
extern __attribute__((__nothrow__)) size_t wcsnrtombs(char * __restrict __dst , |
|
10329 |
extern __attribute__((__nothrow__)) size_t wcsnrtombs(char * __restrict __dst , |
| 10330 |
wchar_t const ** __restrict __src , |
|
10330 |
wchar_t const ** __restrict __src , |
| 10331 |
size_t __nwc , |
|
10331 |
size_t __nwc , |
| 10332 |
size_t __len , |
|
10332 |
size_t __len , |
| 10333 |
mbstate_t * __restrict __ps ) ; |
|
10333 |
mbstate_t * __restrict __ps ) ; |
| 10334 |
extern __attribute__((__nothrow__)) double wcstod(wchar_t const * __restrict __nptr , |
|
10334 |
extern __attribute__((__nothrow__)) double wcstod(wchar_t const * __restrict __nptr , |
| 10335 |
wchar_t ** __restrict __endptr ) ; |
|
10335 |
wchar_t ** __restrict __endptr ) ; |
| 10336 |
extern __attribute__((__nothrow__)) float wcstof(wchar_t const * __restrict __nptr , |
|
10336 |
extern __attribute__((__nothrow__)) float wcstof(wchar_t const * __restrict __nptr , |
| 10337 |
wchar_t ** __restrict __endptr ) ; |
|
10337 |
wchar_t ** __restrict __endptr ) ; |
| 10338 |
extern __attribute__((__nothrow__)) long double wcstold(wchar_t const * __restrict __nptr , |
|
10338 |
extern __attribute__((__nothrow__)) long double wcstold(wchar_t const * __restrict __nptr , |
| 10339 |
wchar_t ** __restrict __endptr ) ; |
|
10339 |
wchar_t ** __restrict __endptr ) ; |
| 10340 |
extern __attribute__((__nothrow__)) long wcstol(wchar_t const * __restrict __nptr , |
|
10340 |
extern __attribute__((__nothrow__)) long wcstol(wchar_t const * __restrict __nptr , |
| 10341 |
wchar_t ** __restrict __endptr , |
|
10341 |
wchar_t ** __restrict __endptr , |
| 10342 |
int __base ) ; |
|
10342 |
int __base ) ; |
| 10343 |
extern __attribute__((__nothrow__)) unsigned long wcstoul(wchar_t const * __restrict __nptr , |
|
10343 |
extern __attribute__((__nothrow__)) unsigned long wcstoul(wchar_t const * __restrict __nptr , |
| 10344 |
wchar_t ** __restrict __endptr , |
|
10344 |
wchar_t ** __restrict __endptr , |
| 10345 |
int __base ) ; |
|
10345 |
int __base ) ; |
| 10346 |
extern __attribute__((__nothrow__)) long long wcstoll(wchar_t const * __restrict __nptr , |
|
10346 |
extern __attribute__((__nothrow__)) long long wcstoll(wchar_t const * __restrict __nptr , |
| 10347 |
wchar_t ** __restrict __endptr , |
|
10347 |
wchar_t ** __restrict __endptr , |
| 10348 |
int __base ) ; |
|
10348 |
int __base ) ; |
| 10349 |
extern __attribute__((__nothrow__)) unsigned long long wcstoull(wchar_t const * __restrict __nptr , |
|
10349 |
extern __attribute__((__nothrow__)) unsigned long long wcstoull(wchar_t const * __restrict __nptr , |
| 10350 |
wchar_t ** __restrict __endptr , |
|
10350 |
wchar_t ** __restrict __endptr , |
| 10351 |
int __base ) ; |
|
10351 |
int __base ) ; |
| 10352 |
extern __attribute__((__nothrow__)) __FILE *open_wmemstream(wchar_t **__bufloc , |
|
10352 |
extern __attribute__((__nothrow__)) __FILE *open_wmemstream(wchar_t **__bufloc , |
| 10353 |
size_t *__sizeloc ) ; |
|
10353 |
size_t *__sizeloc ) ; |
| 10354 |
extern __attribute__((__nothrow__)) int fwide(__FILE *__fp , int __mode ) ; |
|
10354 |
extern __attribute__((__nothrow__)) int fwide(__FILE *__fp , int __mode ) ; |
| 10355 |
extern int fwprintf(__FILE * __restrict __stream , |
|
10355 |
extern int fwprintf(__FILE * __restrict __stream , |
| 10356 |
wchar_t const * __restrict __format , ...) ; |
|
10356 |
wchar_t const * __restrict __format , ...) ; |
| 10357 |
extern int wprintf(wchar_t const * __restrict __format , ...) ; |
|
10357 |
extern int wprintf(wchar_t const * __restrict __format , ...) ; |
| 10358 |
extern __attribute__((__nothrow__)) int swprintf(wchar_t * __restrict __s , |
|
10358 |
extern __attribute__((__nothrow__)) int swprintf(wchar_t * __restrict __s , |
| 10359 |
size_t __n , |
|
10359 |
size_t __n , |
| 10360 |
wchar_t const * __restrict __format |
|
10360 |
wchar_t const * __restrict __format |
| 10361 |
, ...) ; |
|
10361 |
, ...) ; |
| 10362 |
extern int vfwprintf(__FILE * __restrict __s , |
|
10362 |
extern int vfwprintf(__FILE * __restrict __s , |
| 10363 |
wchar_t const * __restrict __format , |
|
10363 |
wchar_t const * __restrict __format , |
| 10364 |
__gnuc_va_list __arg ) ; |
|
10364 |
__gnuc_va_list __arg ) ; |
| 10365 |
extern int vwprintf(wchar_t const * __restrict __format , |
|
10365 |
extern int vwprintf(wchar_t const * __restrict __format , |
| 10366 |
__gnuc_va_list __arg ) ; |
|
10366 |
__gnuc_va_list __arg ) ; |
| 10367 |
extern __attribute__((__nothrow__)) int vswprintf(wchar_t * __restrict __s , |
|
10367 |
extern __attribute__((__nothrow__)) int vswprintf(wchar_t * __restrict __s , |
| 10368 |
size_t __n , |
|
10368 |
size_t __n , |
| 10369 |
wchar_t const * __restrict __format , |
|
10369 |
wchar_t const * __restrict __format , |
| 10370 |
__gnuc_va_list __arg ) ; |
|
10370 |
__gnuc_va_list __arg ) ; |
| 10371 |
extern int fwscanf(__FILE * __restrict __stream , |
|
10371 |
extern int fwscanf(__FILE * __restrict __stream , |
| 10372 |
wchar_t const * __restrict __format , ...) __asm__("__isoc99_fwscanf") ; |
|
10372 |
wchar_t const * __restrict __format , ...) __asm__("__isoc99_fwscanf") ; |
| 10373 |
extern int wscanf(wchar_t const * __restrict __format , ...) __asm__("__isoc99_wscanf") ; |
|
10373 |
extern int wscanf(wchar_t const * __restrict __format , ...) __asm__("__isoc99_wscanf") ; |
| 10374 |
extern __attribute__((__nothrow__)) int swscanf(wchar_t const * __restrict __s , |
|
10374 |
extern __attribute__((__nothrow__)) int swscanf(wchar_t const * __restrict __s , |
| 10375 |
wchar_t const * __restrict __format |
|
10375 |
wchar_t const * __restrict __format |
| 10376 |
, ...) __asm__("__isoc99_swscanf") ; |
|
10376 |
, ...) __asm__("__isoc99_swscanf") ; |
| 10377 |
extern int vfwscanf(__FILE * __restrict __s , |
|
10377 |
extern int vfwscanf(__FILE * __restrict __s , |
| 10378 |
wchar_t const * __restrict __format , |
|
10378 |
wchar_t const * __restrict __format , |
| 10379 |
__gnuc_va_list __arg ) __asm__("__isoc99_vfwscanf") ; |
|
10379 |
__gnuc_va_list __arg ) __asm__("__isoc99_vfwscanf") ; |
| 10380 |
extern int vwscanf(wchar_t const * __restrict __format , |
|
10380 |
extern int vwscanf(wchar_t const * __restrict __format , |
| 10381 |
__gnuc_va_list __arg ) __asm__("__isoc99_vwscanf") ; |
|
10381 |
__gnuc_va_list __arg ) __asm__("__isoc99_vwscanf") ; |
| 10382 |
extern __attribute__((__nothrow__)) int vswscanf(wchar_t const * __restrict __s , |
|
10382 |
extern __attribute__((__nothrow__)) int vswscanf(wchar_t const * __restrict __s , |
| 10383 |
wchar_t const * __restrict __format , |
|
10383 |
wchar_t const * __restrict __format , |
| 10384 |
__gnuc_va_list __arg ) __asm__("__isoc99_vswscanf") ; |
|
10384 |
__gnuc_va_list __arg ) __asm__("__isoc99_vswscanf") ; |
| 10385 |
extern wint_t fgetwc(__FILE *__stream ) ; |
|
10385 |
extern wint_t fgetwc(__FILE *__stream ) ; |
| 10386 |
extern wint_t getwc(__FILE *__stream ) ; |
|
10386 |
extern wint_t getwc(__FILE *__stream ) ; |
| 10387 |
extern wint_t getwchar(void) ; |
|
10387 |
extern wint_t getwchar(void) ; |
| 10388 |
extern wint_t fputwc(wchar_t __wc , __FILE *__stream ) ; |
|
10388 |
extern wint_t fputwc(wchar_t __wc , __FILE *__stream ) ; |
| 10389 |
extern wint_t putwc(wchar_t __wc , __FILE *__stream ) ; |
|
10389 |
extern wint_t putwc(wchar_t __wc , __FILE *__stream ) ; |
| 10390 |
extern wint_t putwchar(wchar_t __wc ) ; |
|
10390 |
extern wint_t putwchar(wchar_t __wc ) ; |
| 10391 |
extern wchar_t *fgetws(wchar_t * __restrict __ws , int __n , |
|
10391 |
extern wchar_t *fgetws(wchar_t * __restrict __ws , int __n , |
| 10392 |
__FILE * __restrict __stream ) ; |
|
10392 |
__FILE * __restrict __stream ) ; |
| 10393 |
extern int fputws(wchar_t const * __restrict __ws , |
|
10393 |
extern int fputws(wchar_t const * __restrict __ws , |
| 10394 |
__FILE * __restrict __stream ) ; |
|
10394 |
__FILE * __restrict __stream ) ; |
| 10395 |
extern wint_t ungetwc(wint_t __wc , __FILE *__stream ) ; |
|
10395 |
extern wint_t ungetwc(wint_t __wc , __FILE *__stream ) ; |
| 10396 |
extern __attribute__((__nothrow__)) size_t wcsftime(wchar_t * __restrict __s , |
|
10396 |
extern __attribute__((__nothrow__)) size_t wcsftime(wchar_t * __restrict __s , |
| 10397 |
size_t __maxsize , |
|
10397 |
size_t __maxsize , |
| 10398 |
wchar_t const * __restrict __format , |
|
10398 |
wchar_t const * __restrict __format , |
| 10399 |
struct tm const * __restrict __tp ) ; |
|
10399 |
struct tm const * __restrict __tp ) ; |
| 10400 |
extern int zm_activate_filestat(int type , int module_number ) ; |
|
10400 |
extern int zm_activate_filestat(int type , int module_number ) ; |
| 10401 |
extern int zm_deactivate_filestat(int type , int module_number ) ; |
|
10401 |
extern int zm_deactivate_filestat(int type , int module_number ) ; |
| 10402 |
extern void zif_realpath_cache_size(int ht , zval *return_value , |
|
10402 |
extern void zif_realpath_cache_size(int ht , zval *return_value , |
| 10403 |
zval **return_value_ptr , zval *this_ptr , |
|
10403 |
zval **return_value_ptr , zval *this_ptr , |
| 10404 |
int return_value_used ) ; |
|
10404 |
int return_value_used ) ; |
| 10405 |
extern void zif_realpath_cache_get(int ht , zval *return_value , |
|
10405 |
extern void zif_realpath_cache_get(int ht , zval *return_value , |
| 10406 |
zval **return_value_ptr , zval *this_ptr , |
|
10406 |
zval **return_value_ptr , zval *this_ptr , |
| 10407 |
int return_value_used ) ; |
|
10407 |
int return_value_used ) ; |
| 10408 |
extern void zif_clearstatcache(int ht , zval *return_value , |
|
10408 |
extern void zif_clearstatcache(int ht , zval *return_value , |
| 10409 |
zval **return_value_ptr , zval *this_ptr , |
|
10409 |
zval **return_value_ptr , zval *this_ptr , |
| 10410 |
int return_value_used ) ; |
|
10410 |
int return_value_used ) ; |
| 10411 |
extern void zif_fileatime(int ht , zval *return_value , |
|
10411 |
extern void zif_fileatime(int ht , zval *return_value , |
| 10412 |
zval **return_value_ptr , zval *this_ptr , |
|
10412 |
zval **return_value_ptr , zval *this_ptr , |
| 10413 |
int return_value_used ) ; |
|
10413 |
int return_value_used ) ; |
| 10414 |
extern void zif_filectime(int ht , zval *return_value , |
|
10414 |
extern void zif_filectime(int ht , zval *return_value , |
| 10415 |
zval **return_value_ptr , zval *this_ptr , |
|
10415 |
zval **return_value_ptr , zval *this_ptr , |
| 10416 |
int return_value_used ) ; |
|
10416 |
int return_value_used ) ; |
| 10417 |
extern void zif_filegroup(int ht , zval *return_value , |
|
10417 |
extern void zif_filegroup(int ht , zval *return_value , |
| 10418 |
zval **return_value_ptr , zval *this_ptr , |
|
10418 |
zval **return_value_ptr , zval *this_ptr , |
| 10419 |
int return_value_used ) ; |
|
10419 |
int return_value_used ) ; |
| 10420 |
extern void zif_fileinode(int ht , zval *return_value , |
|
10420 |
extern void zif_fileinode(int ht , zval *return_value , |
| 10421 |
zval **return_value_ptr , zval *this_ptr , |
|
10421 |
zval **return_value_ptr , zval *this_ptr , |
| 10422 |
int return_value_used ) ; |
|
10422 |
int return_value_used ) ; |
| 10423 |
extern void zif_filemtime(int ht , zval *return_value , |
|
10423 |
extern void zif_filemtime(int ht , zval *return_value , |
| 10424 |
zval **return_value_ptr , zval *this_ptr , |
|
10424 |
zval **return_value_ptr , zval *this_ptr , |
| 10425 |
int return_value_used ) ; |
|
10425 |
int return_value_used ) ; |
| 10426 |
extern void zif_fileowner(int ht , zval *return_value , |
|
10426 |
extern void zif_fileowner(int ht , zval *return_value , |
| 10427 |
zval **return_value_ptr , zval *this_ptr , |
|
10427 |
zval **return_value_ptr , zval *this_ptr , |
| 10428 |
int return_value_used ) ; |
|
10428 |
int return_value_used ) ; |
| 10429 |
extern void zif_fileperms(int ht , zval *return_value , |
|
10429 |
extern void zif_fileperms(int ht , zval *return_value , |
| 10430 |
zval **return_value_ptr , zval *this_ptr , |
|
10430 |
zval **return_value_ptr , zval *this_ptr , |
| 10431 |
int return_value_used ) ; |
|
10431 |
int return_value_used ) ; |
| 10432 |
extern void zif_filesize(int ht , zval *return_value , zval **return_value_ptr , |
|
10432 |
extern void zif_filesize(int ht , zval *return_value , zval **return_value_ptr , |
| 10433 |
zval *this_ptr , int return_value_used ) ; |
|
10433 |
zval *this_ptr , int return_value_used ) ; |
| 10434 |
extern void zif_filetype(int ht , zval *return_value , zval **return_value_ptr , |
|
10434 |
extern void zif_filetype(int ht , zval *return_value , zval **return_value_ptr , |
| 10435 |
zval *this_ptr , int return_value_used ) ; |
|
10435 |
zval *this_ptr , int return_value_used ) ; |
| 10436 |
extern void zif_is_writable(int ht , zval *return_value , |
|
10436 |
extern void zif_is_writable(int ht , zval *return_value , |
| 10437 |
zval **return_value_ptr , zval *this_ptr , |
|
10437 |
zval **return_value_ptr , zval *this_ptr , |
| 10438 |
int return_value_used ) ; |
|
10438 |
int return_value_used ) ; |
| 10439 |
extern void zif_is_readable(int ht , zval *return_value , |
|
10439 |
extern void zif_is_readable(int ht , zval *return_value , |
| 10440 |
zval **return_value_ptr , zval *this_ptr , |
|
10440 |
zval **return_value_ptr , zval *this_ptr , |
| 10441 |
int return_value_used ) ; |
|
10441 |
int return_value_used ) ; |
| 10442 |
extern void zif_is_executable(int ht , zval *return_value , |
|
10442 |
extern void zif_is_executable(int ht , zval *return_value , |
| 10443 |
zval **return_value_ptr , zval *this_ptr , |
|
10443 |
zval **return_value_ptr , zval *this_ptr , |
| 10444 |
int return_value_used ) ; |
|
10444 |
int return_value_used ) ; |
| 10445 |
extern void zif_is_file(int ht , zval *return_value , zval **return_value_ptr , |
|
10445 |
extern void zif_is_file(int ht , zval *return_value , zval **return_value_ptr , |
| 10446 |
zval *this_ptr , int return_value_used ) ; |
|
10446 |
zval *this_ptr , int return_value_used ) ; |
| 10447 |
extern void zif_is_dir(int ht , zval *return_value , zval **return_value_ptr , |
|
10447 |
extern void zif_is_dir(int ht , zval *return_value , zval **return_value_ptr , |
| 10448 |
zval *this_ptr , int return_value_used ) ; |
|
10448 |
zval *this_ptr , int return_value_used ) ; |
| 10449 |
extern void zif_is_link(int ht , zval *return_value , zval **return_value_ptr , |
|
10449 |
extern void zif_is_link(int ht , zval *return_value , zval **return_value_ptr , |
| 10450 |
zval *this_ptr , int return_value_used ) ; |
|
10450 |
zval *this_ptr , int return_value_used ) ; |
| 10451 |
extern void zif_file_exists(int ht , zval *return_value , |
|
10451 |
extern void zif_file_exists(int ht , zval *return_value , |
| 10452 |
zval **return_value_ptr , zval *this_ptr , |
|
10452 |
zval **return_value_ptr , zval *this_ptr , |
| 10453 |
int return_value_used ) ; |
|
10453 |
int return_value_used ) ; |
| 10454 |
extern void php_if_stat(int ht , zval *return_value , zval **return_value_ptr , |
|
10454 |
extern void php_if_stat(int ht , zval *return_value , zval **return_value_ptr , |
| 10455 |
zval *this_ptr , int return_value_used ) ; |
|
10455 |
zval *this_ptr , int return_value_used ) ; |
| 10456 |
extern void php_if_lstat(int ht , zval *return_value , zval **return_value_ptr , |
|
10456 |
extern void php_if_lstat(int ht , zval *return_value , zval **return_value_ptr , |
| 10457 |
zval *this_ptr , int return_value_used ) ; |
|
10457 |
zval *this_ptr , int return_value_used ) ; |
| 10458 |
extern void zif_disk_total_space(int ht , zval *return_value , |
|
10458 |
extern void zif_disk_total_space(int ht , zval *return_value , |
| 10459 |
zval **return_value_ptr , zval *this_ptr , |
|
10459 |
zval **return_value_ptr , zval *this_ptr , |
| 10460 |
int return_value_used ) ; |
|
10460 |
int return_value_used ) ; |
| 10461 |
extern void zif_disk_free_space(int ht , zval *return_value , |
|
10461 |
extern void zif_disk_free_space(int ht , zval *return_value , |
| 10462 |
zval **return_value_ptr , zval *this_ptr , |
|
10462 |
zval **return_value_ptr , zval *this_ptr , |
| 10463 |
int return_value_used ) ; |
|
10463 |
int return_value_used ) ; |
| 10464 |
extern void zif_chown(int ht , zval *return_value , zval **return_value_ptr , |
|
10464 |
extern void zif_chown(int ht , zval *return_value , zval **return_value_ptr , |
| 10465 |
zval *this_ptr , int return_value_used ) ; |
|
10465 |
zval *this_ptr , int return_value_used ) ; |
| 10466 |
extern void zif_chgrp(int ht , zval *return_value , zval **return_value_ptr , |
|
10466 |
extern void zif_chgrp(int ht , zval *return_value , zval **return_value_ptr , |
| 10467 |
zval *this_ptr , int return_value_used ) ; |
|
10467 |
zval *this_ptr , int return_value_used ) ; |
| 10468 |
extern void zif_lchown(int ht , zval *return_value , zval **return_value_ptr , |
|
10468 |
extern void zif_lchown(int ht , zval *return_value , zval **return_value_ptr , |
| 10469 |
zval *this_ptr , int return_value_used ) ; |
|
10469 |
zval *this_ptr , int return_value_used ) ; |
| 10470 |
extern void zif_lchgrp(int ht , zval *return_value , zval **return_value_ptr , |
|
10470 |
extern void zif_lchgrp(int ht , zval *return_value , zval **return_value_ptr , |
| 10471 |
zval *this_ptr , int return_value_used ) ; |
|
10471 |
zval *this_ptr , int return_value_used ) ; |
| 10472 |
extern void zif_chmod(int ht , zval *return_value , zval **return_value_ptr , |
|
10472 |
extern void zif_chmod(int ht , zval *return_value , zval **return_value_ptr , |
| 10473 |
zval *this_ptr , int return_value_used ) ; |
|
10473 |
zval *this_ptr , int return_value_used ) ; |
| 10474 |
extern void zif_touch(int ht , zval *return_value , zval **return_value_ptr , |
|
10474 |
extern void zif_touch(int ht , zval *return_value , zval **return_value_ptr , |
| 10475 |
zval *this_ptr , int return_value_used ) ; |
|
10475 |
zval *this_ptr , int return_value_used ) ; |
| 10476 |
extern void __attribute__((__visibility__("default"))) php_clear_stat_cache(zend_bool clear_realpath_cache , |
|
10476 |
extern void __attribute__((__visibility__("default"))) php_clear_stat_cache(zend_bool clear_realpath_cache , |
| 10477 |
char const *filename , |
|
10477 |
char const *filename , |
| 10478 |
int filename_len ) ; |
|
10478 |
int filename_len ) ; |
| 10479 |
extern void __attribute__((__visibility__("default"))) php_stat(char const *filename , |
|
10479 |
extern void __attribute__((__visibility__("default"))) php_stat(char const *filename , |
| 10480 |
php_stat_len filename_length , |
|
10480 |
php_stat_len filename_length , |
| 10481 |
int type , |
|
10481 |
int type , |
| 10482 |
zval *return_value ) ; |
|
10482 |
zval *return_value ) ; |
| 10483 |
extern void __attribute__((__visibility__("default"))) zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
|
10483 |
extern void __attribute__((__visibility__("default"))) zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
| 10484 |
extern void __attribute__((__visibility__("default"))) zend_strip(void) ; |
|
10484 |
extern void __attribute__((__visibility__("default"))) zend_strip(void) ; |
| 10485 |
extern int __attribute__((__visibility__("default"))) highlight_file(char *filename , |
|
10485 |
extern int __attribute__((__visibility__("default"))) highlight_file(char *filename , |
| 10486 |
zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
|
10486 |
zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
| 10487 |
extern int __attribute__((__visibility__("default"))) highlight_string(zval *str , |
|
10487 |
extern int __attribute__((__visibility__("default"))) highlight_string(zval *str , |
| 10488 |
zend_syntax_highlighter_ini *syntax_highlighter_ini , |
|
10488 |
zend_syntax_highlighter_ini *syntax_highlighter_ini , |
| 10489 |
char *str_name ) ; |
|
10489 |
char *str_name ) ; |
| 10490 |
extern void __attribute__((__visibility__("default"))) zend_html_putc(char c ) ; |
|
10490 |
extern void __attribute__((__visibility__("default"))) zend_html_putc(char c ) ; |
| 10491 |
extern void __attribute__((__visibility__("default"))) zend_html_puts(char const *s , |
|
10491 |
extern void __attribute__((__visibility__("default"))) zend_html_puts(char const *s , |
| 10492 |
uint len ) ; |
|
10492 |
uint len ) ; |
| 10493 |
extern zend_syntax_highlighter_ini syntax_highlighter_ini ; |
|
10493 |
extern zend_syntax_highlighter_ini syntax_highlighter_ini ; |
| 10494 |
extern int zm_startup_url_scanner_ex(int type , int module_number ) ; |
|
10494 |
extern int zm_startup_url_scanner_ex(int type , int module_number ) ; |
| 10495 |
extern int zm_shutdown_url_scanner_ex(int type , int module_number ) ; |
|
10495 |
extern int zm_shutdown_url_scanner_ex(int type , int module_number ) ; |
| 10496 |
extern int zm_activate_url_scanner_ex(int type , int module_number ) ; |
|
10496 |
extern int zm_activate_url_scanner_ex(int type , int module_number ) ; |
| 10497 |
extern int zm_deactivate_url_scanner_ex(int type , int module_number ) ; |
|
10497 |
extern int zm_deactivate_url_scanner_ex(int type , int module_number ) ; |
| 10498 |
extern char __attribute__((__visibility__("default"))) *php_url_scanner_adapt_single_url(char const *url , |
|
10498 |
extern char __attribute__((__visibility__("default"))) *php_url_scanner_adapt_single_url(char const *url , |
| 10499 |
size_t urllen , |
|
10499 |
size_t urllen , |
| 10500 |
char const *name , |
|
10500 |
char const *name , |
| 10501 |
char const *value , |
|
10501 |
char const *value , |
| 10502 |
size_t *newlen ) ; |
|
10502 |
size_t *newlen ) ; |
| 10503 |
extern int __attribute__((__visibility__("default"))) php_url_scanner_add_var(char *name , |
|
10503 |
extern int __attribute__((__visibility__("default"))) php_url_scanner_add_var(char *name , |
| 10504 |
int name_len , |
|
10504 |
int name_len , |
| 10505 |
char *value , |
|
10505 |
char *value , |
| 10506 |
int value_len , |
|
10506 |
int value_len , |
| 10507 |
int urlencode ) ; |
|
10507 |
int urlencode ) ; |
| 10508 |
extern int __attribute__((__visibility__("default"))) php_url_scanner_reset_vars(void) ; |
|
10508 |
extern int __attribute__((__visibility__("default"))) php_url_scanner_reset_vars(void) ; |
| 10509 |
extern zend_module_entry basic_functions_module ; |
|
10509 |
extern zend_module_entry basic_functions_module ; |
| 10510 |
extern int zm_startup_basic(int type , int module_number ) ; |
|
10510 |
extern int zm_startup_basic(int type , int module_number ) ; |
| 10511 |
extern int zm_shutdown_basic(int type , int module_number ) ; |
|
10511 |
extern int zm_shutdown_basic(int type , int module_number ) ; |
| 10512 |
extern int zm_activate_basic(int type , int module_number ) ; |
|
10512 |
extern int zm_activate_basic(int type , int module_number ) ; |
| 10513 |
extern int zm_deactivate_basic(int type , int module_number ) ; |
|
10513 |
extern int zm_deactivate_basic(int type , int module_number ) ; |
| 10514 |
extern void zm_info_basic(zend_module_entry *zend_module ) ; |
|
10514 |
extern void zm_info_basic(zend_module_entry *zend_module ) ; |
| 10515 |
extern void zif_constant(int ht , zval *return_value , zval **return_value_ptr , |
|
10515 |
extern void zif_constant(int ht , zval *return_value , zval **return_value_ptr , |
| 10516 |
zval *this_ptr , int return_value_used ) ; |
|
10516 |
zval *this_ptr , int return_value_used ) ; |
| 10517 |
extern void zif_sleep(int ht , zval *return_value , zval **return_value_ptr , |
|
10517 |
extern void zif_sleep(int ht , zval *return_value , zval **return_value_ptr , |
| 10518 |
zval *this_ptr , int return_value_used ) ; |
|
10518 |
zval *this_ptr , int return_value_used ) ; |
| 10519 |
extern void zif_usleep(int ht , zval *return_value , zval **return_value_ptr , |
|
10519 |
extern void zif_usleep(int ht , zval *return_value , zval **return_value_ptr , |
| 10520 |
zval *this_ptr , int return_value_used ) ; |
|
10520 |
zval *this_ptr , int return_value_used ) ; |
| 10521 |
extern void zif_time_nanosleep(int ht , zval *return_value , |
|
10521 |
extern void zif_time_nanosleep(int ht , zval *return_value , |
| 10522 |
zval **return_value_ptr , zval *this_ptr , |
|
10522 |
zval **return_value_ptr , zval *this_ptr , |
| 10523 |
int return_value_used ) ; |
|
10523 |
int return_value_used ) ; |
| 10524 |
extern void zif_time_sleep_until(int ht , zval *return_value , |
|
10524 |
extern void zif_time_sleep_until(int ht , zval *return_value , |
| 10525 |
zval **return_value_ptr , zval *this_ptr , |
|
10525 |
zval **return_value_ptr , zval *this_ptr , |
| 10526 |
int return_value_used ) ; |
|
10526 |
int return_value_used ) ; |
| 10527 |
extern void zif_flush(int ht , zval *return_value , zval **return_value_ptr , |
|
10527 |
extern void zif_flush(int ht , zval *return_value , zval **return_value_ptr , |
| 10528 |
zval *this_ptr , int return_value_used ) ; |
|
10528 |
zval *this_ptr , int return_value_used ) ; |
| 10529 |
extern void php_inet_ntop(int ht , zval *return_value , |
|
10529 |
extern void php_inet_ntop(int ht , zval *return_value , |
| 10530 |
zval **return_value_ptr , zval *this_ptr , |
|
10530 |
zval **return_value_ptr , zval *this_ptr , |
| 10531 |
int return_value_used ) ; |
|
10531 |
int return_value_used ) ; |
| 10532 |
extern void php_inet_pton(int ht , zval *return_value , |
|
10532 |
extern void php_inet_pton(int ht , zval *return_value , |
| 10533 |
zval **return_value_ptr , zval *this_ptr , |
|
10533 |
zval **return_value_ptr , zval *this_ptr , |
| 10534 |
int return_value_used ) ; |
|
10534 |
int return_value_used ) ; |
| 10535 |
extern void zif_ip2long(int ht , zval *return_value , zval **return_value_ptr , |
|
10535 |
extern void zif_ip2long(int ht , zval *return_value , zval **return_value_ptr , |
| 10536 |
zval *this_ptr , int return_value_used ) ; |
|
10536 |
zval *this_ptr , int return_value_used ) ; |
| 10537 |
extern void zif_long2ip(int ht , zval *return_value , zval **return_value_ptr , |
|
10537 |
extern void zif_long2ip(int ht , zval *return_value , zval **return_value_ptr , |
| 10538 |
zval *this_ptr , int return_value_used ) ; |
|
10538 |
zval *this_ptr , int return_value_used ) ; |
| 10539 |
extern void zif_getenv(int ht , zval *return_value , zval **return_value_ptr , |
|
10539 |
extern void zif_getenv(int ht , zval *return_value , zval **return_value_ptr , |
| 10540 |
zval *this_ptr , int return_value_used ) ; |
|
10540 |
zval *this_ptr , int return_value_used ) ; |
| 10541 |
extern void zif_putenv(int ht , zval *return_value , zval **return_value_ptr , |
|
10541 |
extern void zif_putenv(int ht , zval *return_value , zval **return_value_ptr , |
| 10542 |
zval *this_ptr , int return_value_used ) ; |
|
10542 |
zval *this_ptr , int return_value_used ) ; |
| 10543 |
extern void zif_getopt(int ht , zval *return_value , zval **return_value_ptr , |
|
10543 |
extern void zif_getopt(int ht , zval *return_value , zval **return_value_ptr , |
| 10544 |
zval *this_ptr , int return_value_used ) ; |
|
10544 |
zval *this_ptr , int return_value_used ) ; |
| 10545 |
extern void zif_get_current_user(int ht , zval *return_value , |
|
10545 |
extern void zif_get_current_user(int ht , zval *return_value , |
| 10546 |
zval **return_value_ptr , zval *this_ptr , |
|
10546 |
zval **return_value_ptr , zval *this_ptr , |
| 10547 |
int return_value_used ) ; |
|
10547 |
int return_value_used ) ; |
| 10548 |
extern void zif_set_time_limit(int ht , zval *return_value , |
|
10548 |
extern void zif_set_time_limit(int ht , zval *return_value , |
| 10549 |
zval **return_value_ptr , zval *this_ptr , |
|
10549 |
zval **return_value_ptr , zval *this_ptr , |
| 10550 |
int return_value_used ) ; |
|
10550 |
int return_value_used ) ; |
| 10551 |
extern void zif_header_register_callback(int ht , zval *return_value , |
|
10551 |
extern void zif_header_register_callback(int ht , zval *return_value , |
| 10552 |
zval **return_value_ptr , |
|
10552 |
zval **return_value_ptr , |
| 10553 |
zval *this_ptr , int return_value_used ) ; |
|
10553 |
zval *this_ptr , int return_value_used ) ; |
| 10554 |
extern void zif_get_cfg_var(int ht , zval *return_value , |
|
10554 |
extern void zif_get_cfg_var(int ht , zval *return_value , |
| 10555 |
zval **return_value_ptr , zval *this_ptr , |
|
10555 |
zval **return_value_ptr , zval *this_ptr , |
| 10556 |
int return_value_used ) ; |
|
10556 |
int return_value_used ) ; |
| 10557 |
extern void zif_set_magic_quotes_runtime(int ht , zval *return_value , |
|
10557 |
extern void zif_set_magic_quotes_runtime(int ht , zval *return_value , |
| 10558 |
zval **return_value_ptr , |
|
10558 |
zval **return_value_ptr , |
| 10559 |
zval *this_ptr , int return_value_used ) ; |
|
10559 |
zval *this_ptr , int return_value_used ) ; |
| 10560 |
extern void zif_get_magic_quotes_runtime(int ht , zval *return_value , |
|
10560 |
extern void zif_get_magic_quotes_runtime(int ht , zval *return_value , |
| 10561 |
zval **return_value_ptr , |
|
10561 |
zval **return_value_ptr , |
| 10562 |
zval *this_ptr , int return_value_used ) ; |
|
10562 |
zval *this_ptr , int return_value_used ) ; |
| 10563 |
extern void zif_get_magic_quotes_gpc(int ht , zval *return_value , |
|
10563 |
extern void zif_get_magic_quotes_gpc(int ht , zval *return_value , |
| 10564 |
zval **return_value_ptr , zval *this_ptr , |
|
10564 |
zval **return_value_ptr , zval *this_ptr , |
| 10565 |
int return_value_used ) ; |
|
10565 |
int return_value_used ) ; |
| 10566 |
extern void zif_error_log(int ht , zval *return_value , |
|
10566 |
extern void zif_error_log(int ht , zval *return_value , |
| 10567 |
zval **return_value_ptr , zval *this_ptr , |
|
10567 |
zval **return_value_ptr , zval *this_ptr , |
| 10568 |
int return_value_used ) ; |
|
10568 |
int return_value_used ) ; |
| 10569 |
extern void zif_error_get_last(int ht , zval *return_value , |
|
10569 |
extern void zif_error_get_last(int ht , zval *return_value , |
| 10570 |
zval **return_value_ptr , zval *this_ptr , |
|
10570 |
zval **return_value_ptr , zval *this_ptr , |
| 10571 |
int return_value_used ) ; |
|
10571 |
int return_value_used ) ; |
| 10572 |
extern void zif_call_user_func(int ht , zval *return_value , |
|
10572 |
extern void zif_call_user_func(int ht , zval *return_value , |
| 10573 |
zval **return_value_ptr , zval *this_ptr , |
|
10573 |
zval **return_value_ptr , zval *this_ptr , |
| 10574 |
int return_value_used ) ; |
|
10574 |
int return_value_used ) ; |
| 10575 |
extern void zif_call_user_func_array(int ht , zval *return_value , |
|
10575 |
extern void zif_call_user_func_array(int ht , zval *return_value , |
| 10576 |
zval **return_value_ptr , zval *this_ptr , |
|
10576 |
zval **return_value_ptr , zval *this_ptr , |
| 10577 |
int return_value_used ) ; |
|
10577 |
int return_value_used ) ; |
| 10578 |
extern void zif_call_user_method(int ht , zval *return_value , |
|
10578 |
extern void zif_call_user_method(int ht , zval *return_value , |
| 10579 |
zval **return_value_ptr , zval *this_ptr , |
|
10579 |
zval **return_value_ptr , zval *this_ptr , |
| 10580 |
int return_value_used ) ; |
|
10580 |
int return_value_used ) ; |
| 10581 |
extern void zif_call_user_method_array(int ht , zval *return_value , |
|
10581 |
extern void zif_call_user_method_array(int ht , zval *return_value , |
| 10582 |
zval **return_value_ptr , |
|
10582 |
zval **return_value_ptr , |
| 10583 |
zval *this_ptr , int return_value_used ) ; |
|
10583 |
zval *this_ptr , int return_value_used ) ; |
| 10584 |
extern void zif_forward_static_call(int ht , zval *return_value , |
|
10584 |
extern void zif_forward_static_call(int ht , zval *return_value , |
| 10585 |
zval **return_value_ptr , zval *this_ptr , |
|
10585 |
zval **return_value_ptr , zval *this_ptr , |
| 10586 |
int return_value_used ) ; |
|
10586 |
int return_value_used ) ; |
| 10587 |
extern void zif_forward_static_call_array(int ht , zval *return_value , |
|
10587 |
extern void zif_forward_static_call_array(int ht , zval *return_value , |
| 10588 |
zval **return_value_ptr , |
|
10588 |
zval **return_value_ptr , |
| 10589 |
zval *this_ptr , |
|
10589 |
zval *this_ptr , |
| 10590 |
int return_value_used ) ; |
|
10590 |
int return_value_used ) ; |
| 10591 |
extern void zif_register_shutdown_function(int ht , zval *return_value , |
|
10591 |
extern void zif_register_shutdown_function(int ht , zval *return_value , |
| 10592 |
zval **return_value_ptr , |
|
10592 |
zval **return_value_ptr , |
| 10593 |
zval *this_ptr , |
|
10593 |
zval *this_ptr , |
| 10594 |
int return_value_used ) ; |
|
10594 |
int return_value_used ) ; |
| 10595 |
extern void zif_highlight_file(int ht , zval *return_value , |
|
10595 |
extern void zif_highlight_file(int ht , zval *return_value , |
| 10596 |
zval **return_value_ptr , zval *this_ptr , |
|
10596 |
zval **return_value_ptr , zval *this_ptr , |
| 10597 |
int return_value_used ) ; |
|
10597 |
int return_value_used ) ; |
| 10598 |
extern void zif_highlight_string(int ht , zval *return_value , |
|
10598 |
extern void zif_highlight_string(int ht , zval *return_value , |
| 10599 |
zval **return_value_ptr , zval *this_ptr , |
|
10599 |
zval **return_value_ptr , zval *this_ptr , |
| 10600 |
int return_value_used ) ; |
|
10600 |
int return_value_used ) ; |
| 10601 |
extern void zif_php_strip_whitespace(int ht , zval *return_value , |
|
10601 |
extern void zif_php_strip_whitespace(int ht , zval *return_value , |
| 10602 |
zval **return_value_ptr , zval *this_ptr , |
|
10602 |
zval **return_value_ptr , zval *this_ptr , |
| 10603 |
int return_value_used ) ; |
|
10603 |
int return_value_used ) ; |
| 10604 |
extern void __attribute__((__visibility__("default"))) php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
|
10604 |
extern void __attribute__((__visibility__("default"))) php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini ) ; |
| 10605 |
extern void zif_ini_get(int ht , zval *return_value , zval **return_value_ptr , |
|
10605 |
extern void zif_ini_get(int ht , zval *return_value , zval **return_value_ptr , |
| 10606 |
zval *this_ptr , int return_value_used ) ; |
|
10606 |
zval *this_ptr , int return_value_used ) ; |
| 10607 |
extern void zif_ini_get_all(int ht , zval *return_value , |
|
10607 |
extern void zif_ini_get_all(int ht , zval *return_value , |
| 10608 |
zval **return_value_ptr , zval *this_ptr , |
|
10608 |
zval **return_value_ptr , zval *this_ptr , |
| 10609 |
int return_value_used ) ; |
|
10609 |
int return_value_used ) ; |
| 10610 |
extern void zif_ini_set(int ht , zval *return_value , zval **return_value_ptr , |
|
10610 |
extern void zif_ini_set(int ht , zval *return_value , zval **return_value_ptr , |
| 10611 |
zval *this_ptr , int return_value_used ) ; |
|
10611 |
zval *this_ptr , int return_value_used ) ; |
| 10612 |
extern void zif_ini_restore(int ht , zval *return_value , |
|
10612 |
extern void zif_ini_restore(int ht , zval *return_value , |
| 10613 |
zval **return_value_ptr , zval *this_ptr , |
|
10613 |
zval **return_value_ptr , zval *this_ptr , |
| 10614 |
int return_value_used ) ; |
|
10614 |
int return_value_used ) ; |
| 10615 |
extern void zif_get_include_path(int ht , zval *return_value , |
|
10615 |
extern void zif_get_include_path(int ht , zval *return_value , |
| 10616 |
zval **return_value_ptr , zval *this_ptr , |
|
10616 |
zval **return_value_ptr , zval *this_ptr , |
| 10617 |
int return_value_used ) ; |
|
10617 |
int return_value_used ) ; |
| 10618 |
extern void zif_set_include_path(int ht , zval *return_value , |
|
10618 |
extern void zif_set_include_path(int ht , zval *return_value , |
| 10619 |
zval **return_value_ptr , zval *this_ptr , |
|
10619 |
zval **return_value_ptr , zval *this_ptr , |
| 10620 |
int return_value_used ) ; |
|
10620 |
int return_value_used ) ; |
| 10621 |
extern void zif_restore_include_path(int ht , zval *return_value , |
|
10621 |
extern void zif_restore_include_path(int ht , zval *return_value , |
| 10622 |
zval **return_value_ptr , zval *this_ptr , |
|
10622 |
zval **return_value_ptr , zval *this_ptr , |
| 10623 |
int return_value_used ) ; |
|
10623 |
int return_value_used ) ; |
| 10624 |
extern void zif_print_r(int ht , zval *return_value , zval **return_value_ptr , |
|
10624 |
extern void zif_print_r(int ht , zval *return_value , zval **return_value_ptr , |
| 10625 |
zval *this_ptr , int return_value_used ) ; |
|
10625 |
zval *this_ptr , int return_value_used ) ; |
| 10626 |
extern void zif_fprintf(int ht , zval *return_value , zval **return_value_ptr , |
|
10626 |
extern void zif_fprintf(int ht , zval *return_value , zval **return_value_ptr , |
| 10627 |
zval *this_ptr , int return_value_used ) ; |
|
10627 |
zval *this_ptr , int return_value_used ) ; |
| 10628 |
extern void zif_vfprintf(int ht , zval *return_value , zval **return_value_ptr , |
|
10628 |
extern void zif_vfprintf(int ht , zval *return_value , zval **return_value_ptr , |
| 10629 |
zval *this_ptr , int return_value_used ) ; |
|
10629 |
zval *this_ptr , int return_value_used ) ; |
| 10630 |
extern void zif_connection_aborted(int ht , zval *return_value , |
|
10630 |
extern void zif_connection_aborted(int ht , zval *return_value , |
| 10631 |
zval **return_value_ptr , zval *this_ptr , |
|
10631 |
zval **return_value_ptr , zval *this_ptr , |
| 10632 |
int return_value_used ) ; |
|
10632 |
int return_value_used ) ; |
| 10633 |
extern void zif_connection_status(int ht , zval *return_value , |
|
10633 |
extern void zif_connection_status(int ht , zval *return_value , |
| 10634 |
zval **return_value_ptr , zval *this_ptr , |
|
10634 |
zval **return_value_ptr , zval *this_ptr , |
| 10635 |
int return_value_used ) ; |
|
10635 |
int return_value_used ) ; |
| 10636 |
extern void zif_ignore_user_abort(int ht , zval *return_value , |
|
10636 |
extern void zif_ignore_user_abort(int ht , zval *return_value , |
| 10637 |
zval **return_value_ptr , zval *this_ptr , |
|
10637 |
zval **return_value_ptr , zval *this_ptr , |
| 10638 |
int return_value_used ) ; |
|
10638 |
int return_value_used ) ; |
| 10639 |
extern void zif_getservbyname(int ht , zval *return_value , |
|
10639 |
extern void zif_getservbyname(int ht , zval *return_value , |
| 10640 |
zval **return_value_ptr , zval *this_ptr , |
|
10640 |
zval **return_value_ptr , zval *this_ptr , |
| 10641 |
int return_value_used ) ; |
|
10641 |
int return_value_used ) ; |
| 10642 |
extern void zif_getservbyport(int ht , zval *return_value , |
|
10642 |
extern void zif_getservbyport(int ht , zval *return_value , |
| 10643 |
zval **return_value_ptr , zval *this_ptr , |
|
10643 |
zval **return_value_ptr , zval *this_ptr , |
| 10644 |
int return_value_used ) ; |
|
10644 |
int return_value_used ) ; |
| 10645 |
extern void zif_getprotobyname(int ht , zval *return_value , |
|
10645 |
extern void zif_getprotobyname(int ht , zval *return_value , |
| 10646 |
zval **return_value_ptr , zval *this_ptr , |
|
10646 |
zval **return_value_ptr , zval *this_ptr , |
| 10647 |
int return_value_used ) ; |
|
10647 |
int return_value_used ) ; |
| 10648 |
extern void zif_getprotobynumber(int ht , zval *return_value , |
|
10648 |
extern void zif_getprotobynumber(int ht , zval *return_value , |
| 10649 |
zval **return_value_ptr , zval *this_ptr , |
|
10649 |
zval **return_value_ptr , zval *this_ptr , |
| 10650 |
int return_value_used ) ; |
|
10650 |
int return_value_used ) ; |
| 10651 |
extern void php_if_crc32(int ht , zval *return_value , zval **return_value_ptr , |
|
10651 |
extern void php_if_crc32(int ht , zval *return_value , zval **return_value_ptr , |
| 10652 |
zval *this_ptr , int return_value_used ) ; |
|
10652 |
zval *this_ptr , int return_value_used ) ; |
| 10653 |
extern void zif_register_tick_function(int ht , zval *return_value , |
|
10653 |
extern void zif_register_tick_function(int ht , zval *return_value , |
| 10654 |
zval **return_value_ptr , |
|
10654 |
zval **return_value_ptr , |
| 10655 |
zval *this_ptr , int return_value_used ) ; |
|
10655 |
zval *this_ptr , int return_value_used ) ; |
| 10656 |
extern void zif_unregister_tick_function(int ht , zval *return_value , |
|
10656 |
extern void zif_unregister_tick_function(int ht , zval *return_value , |
| 10657 |
zval **return_value_ptr , |
|
10657 |
zval **return_value_ptr , |
| 10658 |
zval *this_ptr , int return_value_used ) ; |
|
10658 |
zval *this_ptr , int return_value_used ) ; |
| 10659 |
extern void zif_sys_getloadavg(int ht , zval *return_value , |
|
10659 |
extern void zif_sys_getloadavg(int ht , zval *return_value , |
| 10660 |
zval **return_value_ptr , zval *this_ptr , |
|
10660 |
zval **return_value_ptr , zval *this_ptr , |
| 10661 |
int return_value_used ) ; |
|
10661 |
int return_value_used ) ; |
| 10662 |
extern void zif_is_uploaded_file(int ht , zval *return_value , |
|
10662 |
extern void zif_is_uploaded_file(int ht , zval *return_value , |
| 10663 |
zval **return_value_ptr , zval *this_ptr , |
|
10663 |
zval **return_value_ptr , zval *this_ptr , |
| 10664 |
int return_value_used ) ; |
|
10664 |
int return_value_used ) ; |
| 10665 |
extern void zif_move_uploaded_file(int ht , zval *return_value , |
|
10665 |
extern void zif_move_uploaded_file(int ht , zval *return_value , |
| 10666 |
zval **return_value_ptr , zval *this_ptr , |
|
10666 |
zval **return_value_ptr , zval *this_ptr , |
| 10667 |
int return_value_used ) ; |
|
10667 |
int return_value_used ) ; |
| 10668 |
extern void zif_parse_ini_file(int ht , zval *return_value , |
|
10668 |
extern void zif_parse_ini_file(int ht , zval *return_value , |
| 10669 |
zval **return_value_ptr , zval *this_ptr , |
|
10669 |
zval **return_value_ptr , zval *this_ptr , |
| 10670 |
int return_value_used ) ; |
|
10670 |
int return_value_used ) ; |
| 10671 |
extern void zif_parse_ini_string(int ht , zval *return_value , |
|
10671 |
extern void zif_parse_ini_string(int ht , zval *return_value , |
| 10672 |
zval **return_value_ptr , zval *this_ptr , |
|
10672 |
zval **return_value_ptr , zval *this_ptr , |
| 10673 |
int return_value_used ) ; |
|
10673 |
int return_value_used ) ; |
| 10674 |
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , |
|
10674 |
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , |
| 10675 |
zval *this_ptr , int return_value_used ) ; |
|
10675 |
zval *this_ptr , int return_value_used ) ; |
| 10676 |
extern void zif_stream_get_filters(int ht , zval *return_value , |
|
10676 |
extern void zif_stream_get_filters(int ht , zval *return_value , |
| 10677 |
zval **return_value_ptr , zval *this_ptr , |
|
10677 |
zval **return_value_ptr , zval *this_ptr , |
| 10678 |
int return_value_used ) ; |
|
10678 |
int return_value_used ) ; |
| 10679 |
extern void zif_stream_filter_register(int ht , zval *return_value , |
|
10679 |
extern void zif_stream_filter_register(int ht , zval *return_value , |
| 10680 |
zval **return_value_ptr , |
|
10680 |
zval **return_value_ptr , |
| 10681 |
zval *this_ptr , int return_value_used ) ; |
|
10681 |
zval *this_ptr , int return_value_used ) ; |
| 10682 |
extern void zif_stream_bucket_make_writeable(int ht , zval *return_value , |
|
10682 |
extern void zif_stream_bucket_make_writeable(int ht , zval *return_value , |
| 10683 |
zval **return_value_ptr , |
|
10683 |
zval **return_value_ptr , |
| 10684 |
zval *this_ptr , |
|
10684 |
zval *this_ptr , |
| 10685 |
int return_value_used ) ; |
|
10685 |
int return_value_used ) ; |
| 10686 |
extern void zif_stream_bucket_prepend(int ht , zval *return_value , |
|
10686 |
extern void zif_stream_bucket_prepend(int ht , zval *return_value , |
| 10687 |
zval **return_value_ptr , zval *this_ptr , |
|
10687 |
zval **return_value_ptr , zval *this_ptr , |
| 10688 |
int return_value_used ) ; |
|
10688 |
int return_value_used ) ; |
| 10689 |
extern void zif_stream_bucket_append(int ht , zval *return_value , |
|
10689 |
extern void zif_stream_bucket_append(int ht , zval *return_value , |
| 10690 |
zval **return_value_ptr , zval *this_ptr , |
|
10690 |
zval **return_value_ptr , zval *this_ptr , |
| 10691 |
int return_value_used ) ; |
|
10691 |
int return_value_used ) ; |
| 10692 |
extern void zif_stream_bucket_new(int ht , zval *return_value , |
|
10692 |
extern void zif_stream_bucket_new(int ht , zval *return_value , |
| 10693 |
zval **return_value_ptr , zval *this_ptr , |
|
10693 |
zval **return_value_ptr , zval *this_ptr , |
| 10694 |
int return_value_used ) ; |
|
10694 |
int return_value_used ) ; |
| 10695 |
extern int zm_startup_user_filters(int type , int module_number ) ; |
|
10695 |
extern int zm_startup_user_filters(int type , int module_number ) ; |
| 10696 |
extern int zm_deactivate_user_filters(int type , int module_number ) ; |
|
10696 |
extern int zm_deactivate_user_filters(int type , int module_number ) ; |
| 10697 |
extern int __attribute__((__visibility__("default"))) _php_error_log(int opt_err , |
|
10697 |
extern int __attribute__((__visibility__("default"))) _php_error_log(int opt_err , |
| 10698 |
char *message , |
|
10698 |
char *message , |
| 10699 |
char *opt , |
|
10699 |
char *opt , |
| 10700 |
char *headers ) ; |
|
10700 |
char *headers ) ; |
| 10701 |
extern int __attribute__((__visibility__("default"))) _php_error_log_ex(int opt_err , |
|
10701 |
extern int __attribute__((__visibility__("default"))) _php_error_log_ex(int opt_err , |
| 10702 |
char *message , |
|
10702 |
char *message , |
| 10703 |
int message_len , |
|
10703 |
int message_len , |
| 10704 |
char *opt , |
|
10704 |
char *opt , |
| 10705 |
char *headers ) ; |
|
10705 |
char *headers ) ; |
| 10706 |
extern int __attribute__((__visibility__("default"))) php_prefix_varname(zval *result , |
|
10706 |
extern int __attribute__((__visibility__("default"))) php_prefix_varname(zval *result , |
| 10707 |
zval *prefix , |
|
10707 |
zval *prefix , |
| 10708 |
char *var_name , |
|
10708 |
char *var_name , |
| 10709 |
int var_name_len , |
|
10709 |
int var_name_len , |
| 10710 |
zend_bool add_underscore ) ; |
|
10710 |
zend_bool add_underscore ) ; |
| 10711 |
extern php_basic_globals __attribute__((__visibility__("default"))) basic_globals ; |
|
10711 |
extern php_basic_globals __attribute__((__visibility__("default"))) basic_globals ; |
| 10712 |
extern double __attribute__((__visibility__("default"))) php_get_nan(void) ; |
|
10712 |
extern double __attribute__((__visibility__("default"))) php_get_nan(void) ; |
| 10713 |
extern double __attribute__((__visibility__("default"))) php_get_inf(void) ; |
|
10713 |
extern double __attribute__((__visibility__("default"))) php_get_inf(void) ; |
| 10714 |
extern void __attribute__((__visibility__("default"))) php_srand(long seed ) ; |
|
10714 |
extern void __attribute__((__visibility__("default"))) php_srand(long seed ) ; |
| 10715 |
extern long __attribute__((__visibility__("default"))) php_rand(void) ; |
|
10715 |
extern long __attribute__((__visibility__("default"))) php_rand(void) ; |
| 10716 |
extern void __attribute__((__visibility__("default"))) php_mt_srand(php_uint32 seed ) ; |
|
10716 |
extern void __attribute__((__visibility__("default"))) php_mt_srand(php_uint32 seed ) ; |
| 10717 |
extern php_uint32 __attribute__((__visibility__("default"))) php_mt_rand(void) ; |
|
10717 |
extern php_uint32 __attribute__((__visibility__("default"))) php_mt_rand(void) ; |
| 10718 |
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , |
|
10718 |
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , |
| 10719 |
zval *this_ptr , int return_value_used ) ; |
|
10719 |
zval *this_ptr , int return_value_used ) ; |
| 10720 |
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , |
|
10720 |
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , |
| 10721 |
zval *this_ptr , int return_value_used ) ; |
|
10721 |
zval *this_ptr , int return_value_used ) ; |
| 10722 |
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , |
|
10722 |
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , |
| 10723 |
zval *this_ptr , int return_value_used ) ; |
|
10723 |
zval *this_ptr , int return_value_used ) ; |
| 10724 |
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , |
|
10724 |
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , |
| 10725 |
zval *this_ptr , int return_value_used ) ; |
|
10725 |
zval *this_ptr , int return_value_used ) ; |
| 10726 |
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , |
|
10726 |
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , |
| 10727 |
zval *this_ptr , int return_value_used ) ; |
|
10727 |
zval *this_ptr , int return_value_used ) ; |
| 10728 |
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , |
|
10728 |
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , |
| 10729 |
zval *this_ptr , int return_value_used ) ; |
|
10729 |
zval *this_ptr , int return_value_used ) ; |
| 10730 |
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , |
|
10730 |
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , |
| 10731 |
zval *this_ptr , int return_value_used ) ; |
|
10731 |
zval *this_ptr , int return_value_used ) ; |
| 10732 |
extern void zif_soundex(int ht , zval *return_value , zval **return_value_ptr , |
|
10732 |
extern void zif_soundex(int ht , zval *return_value , zval **return_value_ptr , |
| 10733 |
zval *this_ptr , int return_value_used ) ; |
|
10733 |
zval *this_ptr , int return_value_used ) ; |
| 10734 |
extern void zif_levenshtein(int ht , zval *return_value , |
|
10734 |
extern void zif_levenshtein(int ht , zval *return_value , |
| 10735 |
zval **return_value_ptr , zval *this_ptr , |
|
10735 |
zval **return_value_ptr , zval *this_ptr , |
| 10736 |
int return_value_used ) ; |
|
10736 |
int return_value_used ) ; |
| 10737 |
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , |
|
10737 |
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , |
| 10738 |
zval *this_ptr , int return_value_used ) ; |
|
10738 |
zval *this_ptr , int return_value_used ) ; |
| 10739 |
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , |
|
10739 |
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , |
| 10740 |
zval *this_ptr , int return_value_used ) ; |
|
10740 |
zval *this_ptr , int return_value_used ) ; |
| 10741 |
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , |
|
10741 |
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , |
| 10742 |
zval *this_ptr , int return_value_used ) ; |
|
10742 |
zval *this_ptr , int return_value_used ) ; |
| 10743 |
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , |
|
10743 |
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , |
| 10744 |
zval *this_ptr , int return_value_used ) ; |
|
10744 |
zval *this_ptr , int return_value_used ) ; |
| 10745 |
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , |
|
10745 |
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , |
| 10746 |
zval *this_ptr , int return_value_used ) ; |
|
10746 |
zval *this_ptr , int return_value_used ) ; |
| 10747 |
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , |
|
10747 |
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , |
| 10748 |
zval *this_ptr , int return_value_used ) ; |
|
10748 |
zval *this_ptr , int return_value_used ) ; |
| 10749 |
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , |
|
10749 |
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , |
| 10750 |
zval *this_ptr , int return_value_used ) ; |
|
10750 |
zval *this_ptr , int return_value_used ) ; |
| 10751 |
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , |
|
10751 |
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , |
| 10752 |
zval *this_ptr , int return_value_used ) ; |
|
10752 |
zval *this_ptr , int return_value_used ) ; |
| 10753 |
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , |
|
10753 |
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , |
| 10754 |
zval *this_ptr , int return_value_used ) ; |
|
10754 |
zval *this_ptr , int return_value_used ) ; |
| 10755 |
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , |
|
10755 |
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , |
| 10756 |
zval *this_ptr , int return_value_used ) ; |
|
10756 |
zval *this_ptr , int return_value_used ) ; |
| 10757 |
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , |
|
10757 |
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , |
| 10758 |
zval *this_ptr , int return_value_used ) ; |
|
10758 |
zval *this_ptr , int return_value_used ) ; |
| 10759 |
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , |
|
10759 |
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , |
| 10760 |
zval *this_ptr , int return_value_used ) ; |
|
10760 |
zval *this_ptr , int return_value_used ) ; |
| 10761 |
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , |
|
10761 |
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , |
| 10762 |
zval *this_ptr , int return_value_used ) ; |
|
10762 |
zval *this_ptr , int return_value_used ) ; |
| 10763 |
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , |
|
10763 |
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , |
| 10764 |
zval *this_ptr , int return_value_used ) ; |
|
10764 |
zval *this_ptr , int return_value_used ) ; |
| 10765 |
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , |
|
10765 |
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , |
| 10766 |
zval *this_ptr , int return_value_used ) ; |
|
10766 |
zval *this_ptr , int return_value_used ) ; |
| 10767 |
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , |
|
10767 |
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , |
| 10768 |
zval *this_ptr , int return_value_used ) ; |
|
10768 |
zval *this_ptr , int return_value_used ) ; |
| 10769 |
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , |
|
10769 |
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , |
| 10770 |
zval *this_ptr , int return_value_used ) ; |
|
10770 |
zval *this_ptr , int return_value_used ) ; |
| 10771 |
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , |
|
10771 |
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , |
| 10772 |
zval *this_ptr , int return_value_used ) ; |
|
10772 |
zval *this_ptr , int return_value_used ) ; |
| 10773 |
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , |
|
10773 |
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , |
| 10774 |
zval *this_ptr , int return_value_used ) ; |
|
10774 |
zval *this_ptr , int return_value_used ) ; |
| 10775 |
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , |
|
10775 |
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , |
| 10776 |
zval *this_ptr , int return_value_used ) ; |
|
10776 |
zval *this_ptr , int return_value_used ) ; |
| 10777 |
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , |
|
10777 |
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , |
| 10778 |
zval *this_ptr , int return_value_used ) ; |
|
10778 |
zval *this_ptr , int return_value_used ) ; |
| 10779 |
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , |
|
10779 |
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , |
| 10780 |
zval *this_ptr , int return_value_used ) ; |
|
10780 |
zval *this_ptr , int return_value_used ) ; |
| 10781 |
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , |
|
10781 |
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , |
| 10782 |
zval *this_ptr , int return_value_used ) ; |
|
10782 |
zval *this_ptr , int return_value_used ) ; |
| 10783 |
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
|
10783 |
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
| 10784 |
zval *this_ptr , int return_value_used ) ; |
|
10784 |
zval *this_ptr , int return_value_used ) ; |
| 10785 |
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , |
|
10785 |
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , |
| 10786 |
zval *this_ptr , int return_value_used ) ; |
|
10786 |
zval *this_ptr , int return_value_used ) ; |
| 10787 |
extern void zif_user_sprintf(int ht , zval *return_value , |
|
10787 |
extern void zif_user_sprintf(int ht , zval *return_value , |
| 10788 |
zval **return_value_ptr , zval *this_ptr , |
|
10788 |
zval **return_value_ptr , zval *this_ptr , |
| 10789 |
int return_value_used ) ; |
|
10789 |
int return_value_used ) ; |
| 10790 |
extern void zif_user_printf(int ht , zval *return_value , |
|
10790 |
extern void zif_user_printf(int ht , zval *return_value , |
| 10791 |
zval **return_value_ptr , zval *this_ptr , |
|
10791 |
zval **return_value_ptr , zval *this_ptr , |
| 10792 |
int return_value_used ) ; |
|
10792 |
int return_value_used ) ; |
| 10793 |
extern void zif_vprintf(int ht , zval *return_value , zval **return_value_ptr , |
|
10793 |
extern void zif_vprintf(int ht , zval *return_value , zval **return_value_ptr , |
| 10794 |
zval *this_ptr , int return_value_used ) ; |
|
10794 |
zval *this_ptr , int return_value_used ) ; |
| 10795 |
extern void zif_vsprintf(int ht , zval *return_value , zval **return_value_ptr , |
|
10795 |
extern void zif_vsprintf(int ht , zval *return_value , zval **return_value_ptr , |
| 10796 |
zval *this_ptr , int return_value_used ) ; |
|
10796 |
zval *this_ptr , int return_value_used ) ; |
| 10797 |
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
10797 |
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 10798 |
zval *this_ptr , int return_value_used ) ; |
|
10798 |
zval *this_ptr , int return_value_used ) ; |
| 10799 |
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
10799 |
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 10800 |
zval *this_ptr , int return_value_used ) ; |
|
10800 |
zval *this_ptr , int return_value_used ) ; |
| 10801 |
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
10801 |
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 10802 |
zval *this_ptr , int return_value_used ) ; |
|
10802 |
zval *this_ptr , int return_value_used ) ; |
| 10803 |
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
10803 |
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 10804 |
zval *this_ptr , int return_value_used ) ; |
|
10804 |
zval *this_ptr , int return_value_used ) ; |
| 10805 |
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , |
|
10805 |
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , |
| 10806 |
zval *this_ptr , int return_value_used ) ; |
|
10806 |
zval *this_ptr , int return_value_used ) ; |
| 10807 |
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , |
|
10807 |
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , |
| 10808 |
zval *this_ptr , int return_value_used ) ; |
|
10808 |
zval *this_ptr , int return_value_used ) ; |
| 10809 |
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , |
|
10809 |
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , |
| 10810 |
zval *this_ptr , int return_value_used ) ; |
|
10810 |
zval *this_ptr , int return_value_used ) ; |
| 10811 |
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , |
|
10811 |
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , |
| 10812 |
zval *this_ptr , int return_value_used ) ; |
|
10812 |
zval *this_ptr , int return_value_used ) ; |
| 10813 |
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , |
|
10813 |
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , |
| 10814 |
zval *this_ptr , int return_value_used ) ; |
|
10814 |
zval *this_ptr , int return_value_used ) ; |
| 10815 |
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , |
|
10815 |
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , |
| 10816 |
zval *this_ptr , int return_value_used ) ; |
|
10816 |
zval *this_ptr , int return_value_used ) ; |
| 10817 |
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , |
|
10817 |
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , |
| 10818 |
zval *this_ptr , int return_value_used ) ; |
|
10818 |
zval *this_ptr , int return_value_used ) ; |
| 10819 |
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , |
|
10819 |
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , |
| 10820 |
zval *this_ptr , int return_value_used ) ; |
|
10820 |
zval *this_ptr , int return_value_used ) ; |
| 10821 |
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , |
|
10821 |
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , |
| 10822 |
zval *this_ptr , int return_value_used ) ; |
|
10822 |
zval *this_ptr , int return_value_used ) ; |
| 10823 |
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , |
|
10823 |
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , |
| 10824 |
zval *this_ptr , int return_value_used ) ; |
|
10824 |
zval *this_ptr , int return_value_used ) ; |
| 10825 |
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , |
|
10825 |
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , |
| 10826 |
zval *this_ptr , int return_value_used ) ; |
|
10826 |
zval *this_ptr , int return_value_used ) ; |
| 10827 |
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , |
|
10827 |
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , |
| 10828 |
zval *this_ptr , int return_value_used ) ; |
|
10828 |
zval *this_ptr , int return_value_used ) ; |
| 10829 |
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , |
|
10829 |
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , |
| 10830 |
zval *this_ptr , int return_value_used ) ; |
|
10830 |
zval *this_ptr , int return_value_used ) ; |
| 10831 |
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , |
|
10831 |
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , |
| 10832 |
zval *this_ptr , int return_value_used ) ; |
|
10832 |
zval *this_ptr , int return_value_used ) ; |
| 10833 |
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , |
|
10833 |
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , |
| 10834 |
zval *this_ptr , int return_value_used ) ; |
|
10834 |
zval *this_ptr , int return_value_used ) ; |
| 10835 |
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , |
|
10835 |
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , |
| 10836 |
zval *this_ptr , int return_value_used ) ; |
|
10836 |
zval *this_ptr , int return_value_used ) ; |
| 10837 |
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , |
|
10837 |
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , |
| 10838 |
zval *this_ptr , int return_value_used ) ; |
|
10838 |
zval *this_ptr , int return_value_used ) ; |
| 10839 |
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , |
|
10839 |
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , |
| 10840 |
zval *this_ptr , int return_value_used ) ; |
|
10840 |
zval *this_ptr , int return_value_used ) ; |
| 10841 |
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , |
|
10841 |
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , |
| 10842 |
zval *this_ptr , int return_value_used ) ; |
|
10842 |
zval *this_ptr , int return_value_used ) ; |
| 10843 |
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , |
|
10843 |
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , |
| 10844 |
zval *this_ptr , int return_value_used ) ; |
|
10844 |
zval *this_ptr , int return_value_used ) ; |
| 10845 |
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , |
|
10845 |
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , |
| 10846 |
zval *this_ptr , int return_value_used ) ; |
|
10846 |
zval *this_ptr , int return_value_used ) ; |
| 10847 |
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , |
|
10847 |
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , |
| 10848 |
zval *this_ptr , int return_value_used ) ; |
|
10848 |
zval *this_ptr , int return_value_used ) ; |
| 10849 |
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , |
|
10849 |
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , |
| 10850 |
zval *this_ptr , int return_value_used ) ; |
|
10850 |
zval *this_ptr , int return_value_used ) ; |
| 10851 |
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , |
|
10851 |
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , |
| 10852 |
zval *this_ptr , int return_value_used ) ; |
|
10852 |
zval *this_ptr , int return_value_used ) ; |
| 10853 |
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , |
|
10853 |
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , |
| 10854 |
zval *this_ptr , int return_value_used ) ; |
|
10854 |
zval *this_ptr , int return_value_used ) ; |
| 10855 |
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , |
|
10855 |
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , |
| 10856 |
zval *this_ptr , int return_value_used ) ; |
|
10856 |
zval *this_ptr , int return_value_used ) ; |
| 10857 |
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , |
|
10857 |
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , |
| 10858 |
zval *this_ptr , int return_value_used ) ; |
|
10858 |
zval *this_ptr , int return_value_used ) ; |
| 10859 |
int zm_startup_nl_langinfo(int type , int module_number ) ; |
|
10859 |
int zm_startup_nl_langinfo(int type , int module_number ) ; |
| 10860 |
extern int __attribute__((__visibility__("default"))) strnatcmp_ex(char const *a , |
|
10860 |
extern int __attribute__((__visibility__("default"))) strnatcmp_ex(char const *a , |
| 10861 |
size_t a_len , |
|
10861 |
size_t a_len , |
| 10862 |
char const *b , |
|
10862 |
char const *b , |
| 10863 |
size_t b_len , |
|
10863 |
size_t b_len , |
| 10864 |
int fold_case ) ; |
|
10864 |
int fold_case ) ; |
| 10865 |
struct lconv __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) ; |
|
10865 |
struct lconv __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) ; |
| 10866 |
char __attribute__((__visibility__("default"))) *php_strtoupper(char *s , |
|
10866 |
char __attribute__((__visibility__("default"))) *php_strtoupper(char *s , |
| 10867 |
size_t len ) ; |
|
10867 |
size_t len ) ; |
| 10868 |
char __attribute__((__visibility__("default"))) *php_strtolower(char *s , |
|
10868 |
char __attribute__((__visibility__("default"))) *php_strtolower(char *s , |
| 10869 |
size_t len ) ; |
|
10869 |
size_t len ) ; |
| 10870 |
char __attribute__((__visibility__("default"))) *php_strtr(char *str , |
|
10870 |
char __attribute__((__visibility__("default"))) *php_strtr(char *str , |
| 10871 |
int len , |
|
10871 |
int len , |
| 10872 |
char *str_from , |
|
10872 |
char *str_from , |
| 10873 |
char *str_to , |
|
10873 |
char *str_to , |
| 10874 |
int trlen ) ; |
|
10874 |
int trlen ) ; |
| 10875 |
char __attribute__((__visibility__("default"))) *php_addslashes(char *str , |
|
10875 |
char __attribute__((__visibility__("default"))) *php_addslashes(char *str , |
| 10876 |
int length , |
|
10876 |
int length , |
| 10877 |
int *new_length , |
|
10877 |
int *new_length , |
| 10878 |
int should_free ) ; |
|
10878 |
int should_free ) ; |
| 10879 |
char __attribute__((__visibility__("default"))) *php_addslashes_ex(char *str , |
|
10879 |
char __attribute__((__visibility__("default"))) *php_addslashes_ex(char *str , |
| 10880 |
int length , |
|
10880 |
int length , |
| 10881 |
int *new_length , |
|
10881 |
int *new_length , |
| 10882 |
int should_free , |
|
10882 |
int should_free , |
| 10883 |
int ignore_sybase ) ; |
|
10883 |
int ignore_sybase ) ; |
| 10884 |
char __attribute__((__visibility__("default"))) *php_addcslashes(char *str , |
|
10884 |
char __attribute__((__visibility__("default"))) *php_addcslashes(char *str , |
| 10885 |
int length , |
|
10885 |
int length , |
| 10886 |
int *new_length , |
|
10886 |
int *new_length , |
| 10887 |
int should_free , |
|
10887 |
int should_free , |
| 10888 |
char *what , |
|
10888 |
char *what , |
| 10889 |
int wlength ) ; |
|
10889 |
int wlength ) ; |
| 10890 |
void __attribute__((__visibility__("default"))) php_stripslashes(char *str , |
|
10890 |
void __attribute__((__visibility__("default"))) php_stripslashes(char *str , |
| 10891 |
int *len ) ; |
|
10891 |
int *len ) ; |
| 10892 |
void __attribute__((__visibility__("default"))) php_stripcslashes(char *str , |
|
10892 |
void __attribute__((__visibility__("default"))) php_stripcslashes(char *str , |
| 10893 |
int *len ) ; |
|
10893 |
int *len ) ; |
| 10894 |
void __attribute__((__visibility__("default"))) php_basename(char *s , |
|
10894 |
void __attribute__((__visibility__("default"))) php_basename(char *s , |
| 10895 |
size_t len , |
|
10895 |
size_t len , |
| 10896 |
char *suffix , |
|
10896 |
char *suffix , |
| 10897 |
size_t sufflen , |
|
10897 |
size_t sufflen , |
| 10898 |
char **p_ret , |
|
10898 |
char **p_ret , |
| 10899 |
size_t *p_len ) ; |
|
10899 |
size_t *p_len ) ; |
| 10900 |
size_t __attribute__((__visibility__("default"))) php_dirname(char *path , |
|
10900 |
size_t __attribute__((__visibility__("default"))) php_dirname(char *path , |
| 10901 |
size_t len ) ; |
|
10901 |
size_t len ) ; |
| 10902 |
char __attribute__((__visibility__("default"))) *php_stristr(char *s , |
|
10902 |
char __attribute__((__visibility__("default"))) *php_stristr(char *s , |
| 10903 |
char *t , |
|
10903 |
char *t , |
| 10904 |
size_t s_len , |
|
10904 |
size_t s_len , |
| 10905 |
size_t t_len ) ; |
|
10905 |
size_t t_len ) ; |
| 10906 |
char __attribute__((__visibility__("default"))) *php_str_to_str_ex(char *haystack , |
|
10906 |
char __attribute__((__visibility__("default"))) *php_str_to_str_ex(char *haystack , |
| 10907 |
int length , |
|
10907 |
int length , |
| 10908 |
char *needle , |
|
10908 |
char *needle , |
| 10909 |
int needle_len , |
|
10909 |
int needle_len , |
| 10910 |
char *str , |
|
10910 |
char *str , |
| 10911 |
int str_len , |
|
10911 |
int str_len , |
| 10912 |
int *_new_length , |
|
10912 |
int *_new_length , |
| 10913 |
int case_sensitivity , |
|
10913 |
int case_sensitivity , |
| 10914 |
int *replace_count ) ; |
|
10914 |
int *replace_count ) ; |
| 10915 |
char __attribute__((__visibility__("default"))) *php_str_to_str(char *haystack , |
|
10915 |
char __attribute__((__visibility__("default"))) *php_str_to_str(char *haystack , |
| 10916 |
int length , |
|
10916 |
int length , |
| 10917 |
char *needle , |
|
10917 |
char *needle , |
| 10918 |
int needle_len , |
|
10918 |
int needle_len , |
| 10919 |
char *str , |
|
10919 |
char *str , |
| 10920 |
int str_len , |
|
10920 |
int str_len , |
| 10921 |
int *_new_length ) ; |
|
10921 |
int *_new_length ) ; |
| 10922 |
char __attribute__((__visibility__("default"))) *php_trim(char *c , int len , |
|
10922 |
char __attribute__((__visibility__("default"))) *php_trim(char *c , int len , |
| 10923 |
char *what , |
|
10923 |
char *what , |
| 10924 |
int what_len , |
|
10924 |
int what_len , |
| 10925 |
zval *return_value , |
|
10925 |
zval *return_value , |
| 10926 |
int mode ) ; |
|
10926 |
int mode ) ; |
| 10927 |
size_t __attribute__((__visibility__("default"))) php_strip_tags(char *rbuf , |
|
10927 |
size_t __attribute__((__visibility__("default"))) php_strip_tags(char *rbuf , |
| 10928 |
int len , |
|
10928 |
int len , |
| 10929 |
int *stateptr , |
|
10929 |
int *stateptr , |
| 10930 |
char *allow , |
|
10930 |
char *allow , |
| 10931 |
int allow_len ) ; |
|
10931 |
int allow_len ) ; |
| 10932 |
size_t __attribute__((__visibility__("default"))) php_strip_tags_ex(char *rbuf , |
|
10932 |
size_t __attribute__((__visibility__("default"))) php_strip_tags_ex(char *rbuf , |
| 10933 |
int len , |
|
10933 |
int len , |
| 10934 |
int *stateptr , |
|
10934 |
int *stateptr , |
| 10935 |
char *allow , |
|
10935 |
char *allow , |
| 10936 |
int allow_len , |
|
10936 |
int allow_len , |
| 10937 |
zend_bool allow_tag_spaces ) ; |
|
10937 |
zend_bool allow_tag_spaces ) ; |
| 10938 |
int __attribute__((__visibility__("default"))) php_char_to_str_ex(char *str , |
|
10938 |
int __attribute__((__visibility__("default"))) php_char_to_str_ex(char *str , |
| 10939 |
uint len , |
|
10939 |
uint len , |
| 10940 |
char from , |
|
10940 |
char from , |
| 10941 |
char *to , |
|
10941 |
char *to , |
| 10942 |
int to_len , |
|
10942 |
int to_len , |
| 10943 |
zval *result , |
|
10943 |
zval *result , |
| 10944 |
int case_sensitivity , |
|
10944 |
int case_sensitivity , |
| 10945 |
int *replace_count ) ; |
|
10945 |
int *replace_count ) ; |
| 10946 |
int __attribute__((__visibility__("default"))) php_char_to_str(char *str , |
|
10946 |
int __attribute__((__visibility__("default"))) php_char_to_str(char *str , |
| 10947 |
uint len , |
|
10947 |
uint len , |
| 10948 |
char from , |
|
10948 |
char from , |
| 10949 |
char *to , |
|
10949 |
char *to , |
| 10950 |
int to_len , |
|
10950 |
int to_len , |
| 10951 |
zval *result ) ; |
|
10951 |
zval *result ) ; |
| 10952 |
void __attribute__((__visibility__("default"))) php_implode(zval *delim , |
|
10952 |
void __attribute__((__visibility__("default"))) php_implode(zval *delim , |
| 10953 |
zval *arr , |
|
10953 |
zval *arr , |
| 10954 |
zval *return_value ) ; |
|
10954 |
zval *return_value ) ; |
| 10955 |
void __attribute__((__visibility__("default"))) php_explode(zval *delim , |
|
10955 |
void __attribute__((__visibility__("default"))) php_explode(zval *delim , |
| 10956 |
zval *str , |
|
10956 |
zval *str , |
| 10957 |
zval *return_value , |
|
10957 |
zval *return_value , |
| 10958 |
long limit ) ; |
|
10958 |
long limit ) ; |
| 10959 |
size_t __attribute__((__visibility__("default"))) php_strspn(char *s1 , |
|
10959 |
size_t __attribute__((__visibility__("default"))) php_strspn(char *s1 , |
| 10960 |
char *s2 , |
|
10960 |
char *s2 , |
| 10961 |
char *s1_end , |
|
10961 |
char *s1_end , |
| 10962 |
char *s2_end ) ; |
|
10962 |
char *s2_end ) ; |
| 10963 |
size_t __attribute__((__visibility__("default"))) php_strcspn(char *s1 , |
|
10963 |
size_t __attribute__((__visibility__("default"))) php_strcspn(char *s1 , |
| 10964 |
char *s2 , |
|
10964 |
char *s2 , |
| 10965 |
char *s1_end , |
|
10965 |
char *s1_end , |
| 10966 |
char *s2_end ) ; |
|
10966 |
char *s2_end ) ; |
| 10967 |
void register_string_constants(int type , int module_number ) ; |
|
10967 |
void register_string_constants(int type , int module_number ) ; |
| 10968 |
extern sapi_module_struct __attribute__((__visibility__("default"))) sapi_module ; |
|
10968 |
extern sapi_module_struct __attribute__((__visibility__("default"))) sapi_module ; |
| 10969 |
extern sapi_globals_struct __attribute__((__visibility__("default"))) sapi_globals ; |
|
10969 |
extern sapi_globals_struct __attribute__((__visibility__("default"))) sapi_globals ; |
| 10970 |
extern void __attribute__((__visibility__("default"))) sapi_startup(sapi_module_struct *sf ) ; |
|
10970 |
extern void __attribute__((__visibility__("default"))) sapi_startup(sapi_module_struct *sf ) ; |
| 10971 |
extern void __attribute__((__visibility__("default"))) sapi_shutdown(void) ; |
|
10971 |
extern void __attribute__((__visibility__("default"))) sapi_shutdown(void) ; |
| 10972 |
extern void __attribute__((__visibility__("default"))) sapi_activate(void) ; |
|
10972 |
extern void __attribute__((__visibility__("default"))) sapi_activate(void) ; |
| 10973 |
extern void __attribute__((__visibility__("default"))) sapi_deactivate(void) ; |
|
10973 |
extern void __attribute__((__visibility__("default"))) sapi_deactivate(void) ; |
| 10974 |
extern void __attribute__((__visibility__("default"))) sapi_initialize_empty_request(void) ; |
|
10974 |
extern void __attribute__((__visibility__("default"))) sapi_initialize_empty_request(void) ; |
| 10975 |
extern int __attribute__((__visibility__("default"))) sapi_header_op(sapi_header_op_enum op , |
|
10975 |
extern int __attribute__((__visibility__("default"))) sapi_header_op(sapi_header_op_enum op , |
| 10976 |
void *arg ) ; |
|
10976 |
void *arg ) ; |
| 10977 |
extern int __attribute__((__visibility__("default"))) sapi_add_header_ex(char *header_line , |
|
10977 |
extern int __attribute__((__visibility__("default"))) sapi_add_header_ex(char *header_line , |
| 10978 |
uint header_line_len , |
|
10978 |
uint header_line_len , |
| 10979 |
zend_bool duplicate , |
|
10979 |
zend_bool duplicate , |
| 10980 |
zend_bool replace ) ; |
|
10980 |
zend_bool replace ) ; |
| 10981 |
extern int __attribute__((__visibility__("default"))) sapi_send_headers(void) ; |
|
10981 |
extern int __attribute__((__visibility__("default"))) sapi_send_headers(void) ; |
| 10982 |
extern void __attribute__((__visibility__("default"))) sapi_free_header(sapi_header_struct *sapi_header ) ; |
|
10982 |
extern void __attribute__((__visibility__("default"))) sapi_free_header(sapi_header_struct *sapi_header ) ; |
| 10983 |
extern void __attribute__((__visibility__("default"))) sapi_handle_post(void *arg ) ; |
|
10983 |
extern void __attribute__((__visibility__("default"))) sapi_handle_post(void *arg ) ; |
| 10984 |
extern int __attribute__((__visibility__("default"))) sapi_register_post_entries(sapi_post_entry *post_entry ) ; |
|
10984 |
extern int __attribute__((__visibility__("default"))) sapi_register_post_entries(sapi_post_entry *post_entry ) ; |
| 10985 |
extern int __attribute__((__visibility__("default"))) sapi_register_post_entry(sapi_post_entry *post_entry ) ; |
|
10985 |
extern int __attribute__((__visibility__("default"))) sapi_register_post_entry(sapi_post_entry *post_entry ) ; |
| 10986 |
extern void __attribute__((__visibility__("default"))) sapi_unregister_post_entry(sapi_post_entry *post_entry ) ; |
|
10986 |
extern void __attribute__((__visibility__("default"))) sapi_unregister_post_entry(sapi_post_entry *post_entry ) ; |
| 10987 |
extern int __attribute__((__visibility__("default"))) sapi_register_default_post_reader(void (*default_post_reader)(void) ) ; |
|
10987 |
extern int __attribute__((__visibility__("default"))) sapi_register_default_post_reader(void (*default_post_reader)(void) ) ; |
| 10988 |
extern int __attribute__((__visibility__("default"))) sapi_register_treat_data(void (*treat_data)(int arg , |
|
10988 |
extern int __attribute__((__visibility__("default"))) sapi_register_treat_data(void (*treat_data)(int arg , |
| 10989 |
char *str , |
|
10989 |
char *str , |
| 10990 |
zval *destArray ) ) ; |
|
10990 |
zval *destArray ) ) ; |
| 10991 |
extern int __attribute__((__visibility__("default"))) sapi_register_input_filter(unsigned int (*input_filter)(int arg , |
|
10991 |
extern int __attribute__((__visibility__("default"))) sapi_register_input_filter(unsigned int (*input_filter)(int arg , |
| 10992 |
char *var , |
|
10992 |
char *var , |
| 10993 |
char **val , |
|
10993 |
char **val , |
| 10994 |
unsigned int val_len , |
|
10994 |
unsigned int val_len , |
| 10995 |
unsigned int *new_val_len ) , |
|
10995 |
unsigned int *new_val_len ) , |
| 10996 |
unsigned int (*input_filter_init)(void) ) ; |
|
10996 |
unsigned int (*input_filter_init)(void) ) ; |
| 10997 |
extern int __attribute__((__visibility__("default"))) sapi_flush(void) ; |
|
10997 |
extern int __attribute__((__visibility__("default"))) sapi_flush(void) ; |
| 10998 |
extern struct stat __attribute__((__visibility__("default"))) *sapi_get_stat(void) ; |
|
10998 |
extern struct stat __attribute__((__visibility__("default"))) *sapi_get_stat(void) ; |
| 10999 |
extern char __attribute__((__visibility__("default"))) *sapi_getenv(char *name , |
|
10999 |
extern char __attribute__((__visibility__("default"))) *sapi_getenv(char *name , |
| 11000 |
size_t name_len ) ; |
|
11000 |
size_t name_len ) ; |
| 11001 |
extern char __attribute__((__visibility__("default"))) *sapi_get_default_content_type(void) ; |
|
11001 |
extern char __attribute__((__visibility__("default"))) *sapi_get_default_content_type(void) ; |
| 11002 |
extern void __attribute__((__visibility__("default"))) sapi_get_default_content_type_header(sapi_header_struct *default_header ) ; |
|
11002 |
extern void __attribute__((__visibility__("default"))) sapi_get_default_content_type_header(sapi_header_struct *default_header ) ; |
| 11003 |
extern size_t __attribute__((__visibility__("default"))) sapi_apply_default_charset(char **mimetype , |
|
11003 |
extern size_t __attribute__((__visibility__("default"))) sapi_apply_default_charset(char **mimetype , |
| 11004 |
size_t len ) ; |
|
11004 |
size_t len ) ; |
| 11005 |
extern void __attribute__((__visibility__("default"))) sapi_activate_headers_only(void) ; |
|
11005 |
extern void __attribute__((__visibility__("default"))) sapi_activate_headers_only(void) ; |
| 11006 |
extern int __attribute__((__visibility__("default"))) sapi_get_fd(int *fd ) ; |
|
11006 |
extern int __attribute__((__visibility__("default"))) sapi_get_fd(int *fd ) ; |
| 11007 |
extern int __attribute__((__visibility__("default"))) sapi_force_http_10(void) ; |
|
11007 |
extern int __attribute__((__visibility__("default"))) sapi_force_http_10(void) ; |
| 11008 |
extern int __attribute__((__visibility__("default"))) sapi_get_target_uid(uid_t * ) ; |
|
11008 |
extern int __attribute__((__visibility__("default"))) sapi_get_target_uid(uid_t * ) ; |
| 11009 |
extern int __attribute__((__visibility__("default"))) sapi_get_target_gid(gid_t * ) ; |
|
11009 |
extern int __attribute__((__visibility__("default"))) sapi_get_target_gid(gid_t * ) ; |
| 11010 |
extern double __attribute__((__visibility__("default"))) sapi_get_request_time(void) ; |
|
11010 |
extern double __attribute__((__visibility__("default"))) sapi_get_request_time(void) ; |
| 11011 |
extern void __attribute__((__visibility__("default"))) sapi_terminate_process(void) ; |
|
11011 |
extern void __attribute__((__visibility__("default"))) sapi_terminate_process(void) ; |
| 11012 |
extern void __attribute__((__visibility__("default"))) sapi_read_standard_form_data(void) ; |
|
11012 |
extern void __attribute__((__visibility__("default"))) sapi_read_standard_form_data(void) ; |
| 11013 |
extern void __attribute__((__visibility__("default"))) php_default_post_reader(void) ; |
|
11013 |
extern void __attribute__((__visibility__("default"))) php_default_post_reader(void) ; |
| 11014 |
extern void __attribute__((__visibility__("default"))) php_default_treat_data(int arg , |
|
11014 |
extern void __attribute__((__visibility__("default"))) php_default_treat_data(int arg , |
| 11015 |
char *str , |
|
11015 |
char *str , |
| 11016 |
zval *destArray ) ; |
|
11016 |
zval *destArray ) ; |
| 11017 |
extern unsigned int __attribute__((__visibility__("default"))) php_default_input_filter(int arg , |
|
11017 |
extern unsigned int __attribute__((__visibility__("default"))) php_default_input_filter(int arg , |
| 11018 |
char *var , |
|
11018 |
char *var , |
| 11019 |
char **val , |
|
11019 |
char **val , |
| 11020 |
unsigned int val_len , |
|
11020 |
unsigned int val_len , |
| 11021 |
unsigned int *new_val_len ) ; |
|
11021 |
unsigned int *new_val_len ) ; |
| 11022 |
extern void php_startup_auto_globals(void) ; |
|
11022 |
extern void php_startup_auto_globals(void) ; |
| 11023 |
extern void __attribute__((__visibility__("default"))) (*php_import_environment_variables)(zval *array_ptr ) ; |
|
11023 |
extern void __attribute__((__visibility__("default"))) (*php_import_environment_variables)(zval *array_ptr ) ; |
| 11024 |
extern void __attribute__((__visibility__("default"))) php_register_variable(char *var , |
|
11024 |
extern void __attribute__((__visibility__("default"))) php_register_variable(char *var , |
| 11025 |
char *val , |
|
11025 |
char *val , |
| 11026 |
zval *track_vars_array ) ; |
|
11026 |
zval *track_vars_array ) ; |
| 11027 |
extern void __attribute__((__visibility__("default"))) php_register_variable_safe(char *var , |
|
11027 |
extern void __attribute__((__visibility__("default"))) php_register_variable_safe(char *var , |
| 11028 |
char *val , |
|
11028 |
char *val , |
| 11029 |
int val_len , |
|
11029 |
int val_len , |
| 11030 |
zval *track_vars_array ) ; |
|
11030 |
zval *track_vars_array ) ; |
| 11031 |
extern void __attribute__((__visibility__("default"))) php_register_variable_ex(char *var , |
|
11031 |
extern void __attribute__((__visibility__("default"))) php_register_variable_ex(char *var , |
| 11032 |
zval *val , |
|
11032 |
zval *val , |
| 11033 |
zval *track_vars_array ) ; |
|
11033 |
zval *track_vars_array ) ; |
| 11034 |
extern int php_hash_environment(void) ; |
|
11034 |
extern int php_hash_environment(void) ; |
| 11035 |
extern __attribute__((__nothrow__)) char *setlocale(int __category , |
|
11035 |
extern __attribute__((__nothrow__)) char *setlocale(int __category , |
| 11036 |
char const *__locale ) ; |
|
11036 |
char const *__locale ) ; |
| 11037 |
extern __attribute__((__nothrow__)) struct lconv *localeconv(void) ; |
|
11037 |
extern __attribute__((__nothrow__)) struct lconv *localeconv(void) ; |
| 11038 |
extern __attribute__((__nothrow__)) __locale_t newlocale(int __category_mask , |
|
11038 |
extern __attribute__((__nothrow__)) __locale_t newlocale(int __category_mask , |
| 11039 |
char const *__locale , |
|
11039 |
char const *__locale , |
| 11040 |
__locale_t __base ) ; |
|
11040 |
__locale_t __base ) ; |
| 11041 |
extern __attribute__((__nothrow__)) __locale_t duplocale(__locale_t __dataset ) ; |
|
11041 |
extern __attribute__((__nothrow__)) __locale_t duplocale(__locale_t __dataset ) ; |
| 11042 |
extern __attribute__((__nothrow__)) void freelocale(__locale_t __dataset ) ; |
|
11042 |
extern __attribute__((__nothrow__)) void freelocale(__locale_t __dataset ) ; |
| 11043 |
extern __attribute__((__nothrow__)) __locale_t uselocale(__locale_t __dataset ) ; |
|
11043 |
extern __attribute__((__nothrow__)) __locale_t uselocale(__locale_t __dataset ) ; |
| 11044 |
extern nl_catd ( __attribute__((__nonnull__(1))) catopen)(char const *__cat_name , |
|
11044 |
extern nl_catd ( __attribute__((__nonnull__(1))) catopen)(char const *__cat_name , |
| 11045 |
int __flag ) ; |
|
11045 |
int __flag ) ; |
| 11046 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) catgets)(nl_catd __catalog , |
|
11046 |
extern __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) catgets)(nl_catd __catalog , |
| 11047 |
int __set , |
|
11047 |
int __set , |
| 11048 |
int __number , |
|
11048 |
int __number , |
| 11049 |
char const *__string ) ; |
|
11049 |
char const *__string ) ; |
| 11050 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) catclose)(nl_catd __catalog ) ; |
|
11050 |
extern __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) catclose)(nl_catd __catalog ) ; |
| 11051 |
extern __attribute__((__nothrow__)) char *nl_langinfo(nl_item __item ) ; |
|
11051 |
extern __attribute__((__nothrow__)) char *nl_langinfo(nl_item __item ) ; |
| 11052 |
extern char *nl_langinfo_l(nl_item __item , __locale_t __l ) ; |
|
11052 |
extern char *nl_langinfo_l(nl_item __item , __locale_t __l ) ; |
| 11053 |
extern __attribute__((__nothrow__)) ssize_t ( strfmon)(char * __restrict __s , |
|
11053 |
extern __attribute__((__nothrow__)) ssize_t ( strfmon)(char * __restrict __s , |
| 11054 |
size_t __maxsize , |
|
11054 |
size_t __maxsize , |
| 11055 |
char const * __restrict __format |
|
11055 |
char const * __restrict __format |
| 11056 |
, ...) ; |
|
11056 |
, ...) ; |
| 11057 |
extern __attribute__((__nothrow__)) ssize_t ( strfmon_l)(char * __restrict __s , |
|
11057 |
extern __attribute__((__nothrow__)) ssize_t ( strfmon_l)(char * __restrict __s , |
| 11058 |
size_t __maxsize , |
|
11058 |
size_t __maxsize , |
| 11059 |
__locale_t __loc , |
|
11059 |
__locale_t __loc , |
| 11060 |
char const * __restrict __format |
|
11060 |
char const * __restrict __format |
| 11061 |
, ...) ; |
|
11061 |
, ...) ; |
| 11062 |
extern int __attribute__((__visibility__("default"))) ValidateFormat(char *format , |
|
11062 |
extern int __attribute__((__visibility__("default"))) ValidateFormat(char *format , |
| 11063 |
int numVars , |
|
11063 |
int numVars , |
| 11064 |
int *totalVars ) ; |
|
11064 |
int *totalVars ) ; |
| 11065 |
extern int __attribute__((__visibility__("default"))) php_sscanf_internal(char *string , |
|
11065 |
extern int __attribute__((__visibility__("default"))) php_sscanf_internal(char *string , |
| 11066 |
char *format , |
|
11066 |
char *format , |
| 11067 |
int argCount , |
|
11067 |
int argCount , |
| 11068 |
zval ***args , |
|
11068 |
zval ***args , |
| 11069 |
int varStart , |
|
11069 |
int varStart , |
| 11070 |
zval **return_value ) ; |
|
11070 |
zval **return_value ) ; |
| 11071 |
__inline static char *smart_str_print_long(char *buf , long num ) |
|
11071 |
__inline static char *smart_str_print_long(char *buf , long num ) |
| 11072 |
{ |
|
11072 |
{ |
| 11073 |
char *r ; |
|
11073 |
char *r ; |
| 11074 |
char *__p ; |
|
11074 |
char *__p ; |
| 11075 |
unsigned long __num ; |
|
11075 |
unsigned long __num ; |
| 11076 |
char *__p___0 ; |
|
11076 |
char *__p___0 ; |
| 11077 |
unsigned long __num___0 ; |
|
11077 |
unsigned long __num___0 ; |
| 11078 |
|
|
11078 |
|
| 11079 |
{ |
|
11079 |
{ |
| 11080 |
while (1) { |
|
11080 |
while (1) { |
| 11081 |
if (num < 0L) { |
|
11081 |
if (num < 0L) { |
| 11082 |
while (1) { |
|
11082 |
while (1) { |
| 11083 |
__p = buf; |
|
11083 |
__p = buf; |
| 11084 |
__num = (unsigned long )(- num); |
|
11084 |
__num = (unsigned long )(- num); |
| 11085 |
*__p = (char )'\000'; |
|
11085 |
*__p = (char )'\000'; |
| 11086 |
while (1) { |
|
11086 |
while (1) { |
| 11087 |
__p --; |
|
11087 |
__p --; |
| 11088 |
*__p = (char )((int )((char )(__num % 10UL)) + 48); |
|
11088 |
*__p = (char )((int )((char )(__num % 10UL)) + 48); |
| 11089 |
__num /= 10UL; |
|
11089 |
__num /= 10UL; |
| 11090 |
if (__num > 0UL) { |
|
11090 |
if (__num > 0UL) { |
| 11091 |
|
|
11091 |
|
| 11092 |
} else { |
|
11092 |
} else { |
| 11093 |
break; |
|
11093 |
break; |
| 11094 |
} |
|
11094 |
} |
| 11095 |
} |
|
11095 |
} |
| 11096 |
r = __p; |
|
11096 |
r = __p; |
| 11097 |
break; |
|
11097 |
break; |
| 11098 |
} |
|
11098 |
} |
| 11099 |
r --; |
|
11099 |
r --; |
| 11100 |
*r = (char )'-'; |
|
11100 |
*r = (char )'-'; |
| 11101 |
} else { |
|
11101 |
} else { |
| 11102 |
while (1) { |
|
11102 |
while (1) { |
| 11103 |
__p___0 = buf; |
|
11103 |
__p___0 = buf; |
| 11104 |
__num___0 = (unsigned long )num; |
|
11104 |
__num___0 = (unsigned long )num; |
| 11105 |
*__p___0 = (char )'\000'; |
|
11105 |
*__p___0 = (char )'\000'; |
| 11106 |
while (1) { |
|
11106 |
while (1) { |
| 11107 |
__p___0 --; |
|
11107 |
__p___0 --; |
| 11108 |
*__p___0 = (char )((int )((char )(__num___0 % 10UL)) + 48); |
|
11108 |
*__p___0 = (char )((int )((char )(__num___0 % 10UL)) + 48); |
| 11109 |
__num___0 /= 10UL; |
|
11109 |
__num___0 /= 10UL; |
| 11110 |
if (__num___0 > 0UL) { |
|
11110 |
if (__num___0 > 0UL) { |
| 11111 |
|
|
11111 |
|
| 11112 |
} else { |
|
11112 |
} else { |
| 11113 |
break; |
|
11113 |
break; |
| 11114 |
} |
|
11114 |
} |
| 11115 |
} |
|
11115 |
} |
| 11116 |
r = __p___0; |
|
11116 |
r = __p___0; |
| 11117 |
break; |
|
11117 |
break; |
| 11118 |
} |
|
11118 |
} |
| 11119 |
} |
|
11119 |
} |
| 11120 |
break; |
|
11120 |
break; |
| 11121 |
} |
|
11121 |
} |
| 11122 |
return (r); |
|
11122 |
return (r); |
| 11123 |
} |
|
11123 |
} |
| 11124 |
} |
|
11124 |
} |
| 11125 |
__inline static char *smart_str_print_unsigned(char *buf , long num ) |
|
11125 |
__inline static char *smart_str_print_unsigned(char *buf , long num ) |
| 11126 |
{ |
|
11126 |
{ |
| 11127 |
char *r ; |
|
11127 |
char *r ; |
| 11128 |
char *__p ; |
|
11128 |
char *__p ; |
| 11129 |
unsigned long __num ; |
|
11129 |
unsigned long __num ; |
| 11130 |
|
|
11130 |
|
| 11131 |
{ |
|
11131 |
{ |
| 11132 |
while (1) { |
|
11132 |
while (1) { |
| 11133 |
__p = buf; |
|
11133 |
__p = buf; |
| 11134 |
__num = (unsigned long )num; |
|
11134 |
__num = (unsigned long )num; |
| 11135 |
*__p = (char )'\000'; |
|
11135 |
*__p = (char )'\000'; |
| 11136 |
while (1) { |
|
11136 |
while (1) { |
| 11137 |
__p --; |
|
11137 |
__p --; |
| 11138 |
*__p = (char )((int )((char )(__num % 10UL)) + 48); |
|
11138 |
*__p = (char )((int )((char )(__num % 10UL)) + 48); |
| 11139 |
__num /= 10UL; |
|
11139 |
__num /= 10UL; |
| 11140 |
if (__num > 0UL) { |
|
11140 |
if (__num > 0UL) { |
| 11141 |
|
|
11141 |
|
| 11142 |
} else { |
|
11142 |
} else { |
| 11143 |
break; |
|
11143 |
break; |
| 11144 |
} |
|
11144 |
} |
| 11145 |
} |
|
11145 |
} |
| 11146 |
r = __p; |
|
11146 |
r = __p; |
| 11147 |
break; |
|
11147 |
break; |
| 11148 |
} |
|
11148 |
} |
| 11149 |
return (r); |
|
11149 |
return (r); |
| 11150 |
} |
|
11150 |
} |
| 11151 |
} |
|
11151 |
} |
| 11152 |
extern int zm_startup_file(int type , int module_number ) ; |
|
11152 |
extern int zm_startup_file(int type , int module_number ) ; |
| 11153 |
extern int zm_shutdown_file(int type , int module_number ) ; |
|
11153 |
extern int zm_shutdown_file(int type , int module_number ) ; |
| 11154 |
extern void zif_tempnam(int ht , zval *return_value , zval **return_value_ptr , |
|
11154 |
extern void zif_tempnam(int ht , zval *return_value , zval **return_value_ptr , |
| 11155 |
zval *this_ptr , int return_value_used ) ; |
|
11155 |
zval *this_ptr , int return_value_used ) ; |
| 11156 |
extern void php_if_tmpfile(int ht , zval *return_value , |
|
11156 |
extern void php_if_tmpfile(int ht , zval *return_value , |
| 11157 |
zval **return_value_ptr , zval *this_ptr , |
|
11157 |
zval **return_value_ptr , zval *this_ptr , |
| 11158 |
int return_value_used ) ; |
|
11158 |
int return_value_used ) ; |
| 11159 |
extern void php_if_fopen(int ht , zval *return_value , zval **return_value_ptr , |
|
11159 |
extern void php_if_fopen(int ht , zval *return_value , zval **return_value_ptr , |
| 11160 |
zval *this_ptr , int return_value_used ) ; |
|
11160 |
zval *this_ptr , int return_value_used ) ; |
| 11161 |
extern void __attribute__((__visibility__("default"))) zif_fclose(int ht , |
|
11161 |
extern void __attribute__((__visibility__("default"))) zif_fclose(int ht , |
| 11162 |
zval *return_value , |
|
11162 |
zval *return_value , |
| 11163 |
zval **return_value_ptr , |
|
11163 |
zval **return_value_ptr , |
| 11164 |
zval *this_ptr , |
|
11164 |
zval *this_ptr , |
| 11165 |
int return_value_used ) ; |
|
11165 |
int return_value_used ) ; |
| 11166 |
extern void zif_popen(int ht , zval *return_value , zval **return_value_ptr , |
|
11166 |
extern void zif_popen(int ht , zval *return_value , zval **return_value_ptr , |
| 11167 |
zval *this_ptr , int return_value_used ) ; |
|
11167 |
zval *this_ptr , int return_value_used ) ; |
| 11168 |
extern void zif_pclose(int ht , zval *return_value , zval **return_value_ptr , |
|
11168 |
extern void zif_pclose(int ht , zval *return_value , zval **return_value_ptr , |
| 11169 |
zval *this_ptr , int return_value_used ) ; |
|
11169 |
zval *this_ptr , int return_value_used ) ; |
| 11170 |
extern void __attribute__((__visibility__("default"))) zif_feof(int ht , |
|
11170 |
extern void __attribute__((__visibility__("default"))) zif_feof(int ht , |
| 11171 |
zval *return_value , |
|
11171 |
zval *return_value , |
| 11172 |
zval **return_value_ptr , |
|
11172 |
zval **return_value_ptr , |
| 11173 |
zval *this_ptr , |
|
11173 |
zval *this_ptr , |
| 11174 |
int return_value_used ) ; |
|
11174 |
int return_value_used ) ; |
| 11175 |
extern void __attribute__((__visibility__("default"))) zif_fread(int ht , |
|
11175 |
extern void __attribute__((__visibility__("default"))) zif_fread(int ht , |
| 11176 |
zval *return_value , |
|
11176 |
zval *return_value , |
| 11177 |
zval **return_value_ptr , |
|
11177 |
zval **return_value_ptr , |
| 11178 |
zval *this_ptr , |
|
11178 |
zval *this_ptr , |
| 11179 |
int return_value_used ) ; |
|
11179 |
int return_value_used ) ; |
| 11180 |
extern void __attribute__((__visibility__("default"))) zif_fgetc(int ht , |
|
11180 |
extern void __attribute__((__visibility__("default"))) zif_fgetc(int ht , |
| 11181 |
zval *return_value , |
|
11181 |
zval *return_value , |
| 11182 |
zval **return_value_ptr , |
|
11182 |
zval **return_value_ptr , |
| 11183 |
zval *this_ptr , |
|
11183 |
zval *this_ptr , |
| 11184 |
int return_value_used ) ; |
|
11184 |
int return_value_used ) ; |
| 11185 |
extern void __attribute__((__visibility__("default"))) zif_fgets(int ht , |
|
11185 |
extern void __attribute__((__visibility__("default"))) zif_fgets(int ht , |
| 11186 |
zval *return_value , |
|
11186 |
zval *return_value , |
| 11187 |
zval **return_value_ptr , |
|
11187 |
zval **return_value_ptr , |
| 11188 |
zval *this_ptr , |
|
11188 |
zval *this_ptr , |
| 11189 |
int return_value_used ) ; |
|
11189 |
int return_value_used ) ; |
| 11190 |
extern void zif_fscanf(int ht , zval *return_value , zval **return_value_ptr , |
|
11190 |
extern void zif_fscanf(int ht , zval *return_value , zval **return_value_ptr , |
| 11191 |
zval *this_ptr , int return_value_used ) ; |
|
11191 |
zval *this_ptr , int return_value_used ) ; |
| 11192 |
extern void __attribute__((__visibility__("default"))) zif_fgetss(int ht , |
|
11192 |
extern void __attribute__((__visibility__("default"))) zif_fgetss(int ht , |
| 11193 |
zval *return_value , |
|
11193 |
zval *return_value , |
| 11194 |
zval **return_value_ptr , |
|
11194 |
zval **return_value_ptr , |
| 11195 |
zval *this_ptr , |
|
11195 |
zval *this_ptr , |
| 11196 |
int return_value_used ) ; |
|
11196 |
int return_value_used ) ; |
| 11197 |
extern void zif_fgetcsv(int ht , zval *return_value , zval **return_value_ptr , |
|
11197 |
extern void zif_fgetcsv(int ht , zval *return_value , zval **return_value_ptr , |
| 11198 |
zval *this_ptr , int return_value_used ) ; |
|
11198 |
zval *this_ptr , int return_value_used ) ; |
| 11199 |
extern void zif_fputcsv(int ht , zval *return_value , zval **return_value_ptr , |
|
11199 |
extern void zif_fputcsv(int ht , zval *return_value , zval **return_value_ptr , |
| 11200 |
zval *this_ptr , int return_value_used ) ; |
|
11200 |
zval *this_ptr , int return_value_used ) ; |
| 11201 |
extern void __attribute__((__visibility__("default"))) zif_fwrite(int ht , |
|
11201 |
extern void __attribute__((__visibility__("default"))) zif_fwrite(int ht , |
| 11202 |
zval *return_value , |
|
11202 |
zval *return_value , |
| 11203 |
zval **return_value_ptr , |
|
11203 |
zval **return_value_ptr , |
| 11204 |
zval *this_ptr , |
|
11204 |
zval *this_ptr , |
| 11205 |
int return_value_used ) ; |
|
11205 |
int return_value_used ) ; |
| 11206 |
extern void __attribute__((__visibility__("default"))) zif_fflush(int ht , |
|
11206 |
extern void __attribute__((__visibility__("default"))) zif_fflush(int ht , |
| 11207 |
zval *return_value , |
|
11207 |
zval *return_value , |
| 11208 |
zval **return_value_ptr , |
|
11208 |
zval **return_value_ptr , |
| 11209 |
zval *this_ptr , |
|
11209 |
zval *this_ptr , |
| 11210 |
int return_value_used ) ; |
|
11210 |
int return_value_used ) ; |
| 11211 |
extern void __attribute__((__visibility__("default"))) zif_rewind(int ht , |
|
11211 |
extern void __attribute__((__visibility__("default"))) zif_rewind(int ht , |
| 11212 |
zval *return_value , |
|
11212 |
zval *return_value , |
| 11213 |
zval **return_value_ptr , |
|
11213 |
zval **return_value_ptr , |
| 11214 |
zval *this_ptr , |
|
11214 |
zval *this_ptr , |
| 11215 |
int return_value_used ) ; |
|
11215 |
int return_value_used ) ; |
| 11216 |
extern void __attribute__((__visibility__("default"))) zif_ftell(int ht , |
|
11216 |
extern void __attribute__((__visibility__("default"))) zif_ftell(int ht , |
| 11217 |
zval *return_value , |
|
11217 |
zval *return_value , |
| 11218 |
zval **return_value_ptr , |
|
11218 |
zval **return_value_ptr , |
| 11219 |
zval *this_ptr , |
|
11219 |
zval *this_ptr , |
| 11220 |
int return_value_used ) ; |
|
11220 |
int return_value_used ) ; |
| 11221 |
extern void __attribute__((__visibility__("default"))) zif_fseek(int ht , |
|
11221 |
extern void __attribute__((__visibility__("default"))) zif_fseek(int ht , |
| 11222 |
zval *return_value , |
|
11222 |
zval *return_value , |
| 11223 |
zval **return_value_ptr , |
|
11223 |
zval **return_value_ptr , |
| 11224 |
zval *this_ptr , |
|
11224 |
zval *this_ptr , |
| 11225 |
int return_value_used ) ; |
|
11225 |
int return_value_used ) ; |
| 11226 |
extern void zif_mkdir(int ht , zval *return_value , zval **return_value_ptr , |
|
11226 |
extern void zif_mkdir(int ht , zval *return_value , zval **return_value_ptr , |
| 11227 |
zval *this_ptr , int return_value_used ) ; |
|
11227 |
zval *this_ptr , int return_value_used ) ; |
| 11228 |
extern void zif_rmdir(int ht , zval *return_value , zval **return_value_ptr , |
|
11228 |
extern void zif_rmdir(int ht , zval *return_value , zval **return_value_ptr , |
| 11229 |
zval *this_ptr , int return_value_used ) ; |
|
11229 |
zval *this_ptr , int return_value_used ) ; |
| 11230 |
extern void __attribute__((__visibility__("default"))) zif_fpassthru(int ht , |
|
11230 |
extern void __attribute__((__visibility__("default"))) zif_fpassthru(int ht , |
| 11231 |
zval *return_value , |
|
11231 |
zval *return_value , |
| 11232 |
zval **return_value_ptr , |
|
11232 |
zval **return_value_ptr , |
| 11233 |
zval *this_ptr , |
|
11233 |
zval *this_ptr , |
| 11234 |
int return_value_used ) ; |
|
11234 |
int return_value_used ) ; |
| 11235 |
extern void zif_readfile(int ht , zval *return_value , zval **return_value_ptr , |
|
11235 |
extern void zif_readfile(int ht , zval *return_value , zval **return_value_ptr , |
| 11236 |
zval *this_ptr , int return_value_used ) ; |
|
11236 |
zval *this_ptr , int return_value_used ) ; |
| 11237 |
extern void zif_umask(int ht , zval *return_value , zval **return_value_ptr , |
|
11237 |
extern void zif_umask(int ht , zval *return_value , zval **return_value_ptr , |
| 11238 |
zval *this_ptr , int return_value_used ) ; |
|
11238 |
zval *this_ptr , int return_value_used ) ; |
| 11239 |
extern void zif_rename(int ht , zval *return_value , zval **return_value_ptr , |
|
11239 |
extern void zif_rename(int ht , zval *return_value , zval **return_value_ptr , |
| 11240 |
zval *this_ptr , int return_value_used ) ; |
|
11240 |
zval *this_ptr , int return_value_used ) ; |
| 11241 |
extern void zif_unlink(int ht , zval *return_value , zval **return_value_ptr , |
|
11241 |
extern void zif_unlink(int ht , zval *return_value , zval **return_value_ptr , |
| 11242 |
zval *this_ptr , int return_value_used ) ; |
|
11242 |
zval *this_ptr , int return_value_used ) ; |
| 11243 |
extern void zif_copy(int ht , zval *return_value , zval **return_value_ptr , |
|
11243 |
extern void zif_copy(int ht , zval *return_value , zval **return_value_ptr , |
| 11244 |
zval *this_ptr , int return_value_used ) ; |
|
11244 |
zval *this_ptr , int return_value_used ) ; |
| 11245 |
extern void zif_file(int ht , zval *return_value , zval **return_value_ptr , |
|
11245 |
extern void zif_file(int ht , zval *return_value , zval **return_value_ptr , |
| 11246 |
zval *this_ptr , int return_value_used ) ; |
|
11246 |
zval *this_ptr , int return_value_used ) ; |
| 11247 |
extern void zif_file_get_contents(int ht , zval *return_value , |
|
11247 |
extern void zif_file_get_contents(int ht , zval *return_value , |
| 11248 |
zval **return_value_ptr , zval *this_ptr , |
|
11248 |
zval **return_value_ptr , zval *this_ptr , |
| 11249 |
int return_value_used ) ; |
|
11249 |
int return_value_used ) ; |
| 11250 |
extern void zif_file_put_contents(int ht , zval *return_value , |
|
11250 |
extern void zif_file_put_contents(int ht , zval *return_value , |
| 11251 |
zval **return_value_ptr , zval *this_ptr , |
|
11251 |
zval **return_value_ptr , zval *this_ptr , |
| 11252 |
int return_value_used ) ; |
|
11252 |
int return_value_used ) ; |
| 11253 |
extern void zif_get_meta_tags(int ht , zval *return_value , |
|
11253 |
extern void zif_get_meta_tags(int ht , zval *return_value , |
| 11254 |
zval **return_value_ptr , zval *this_ptr , |
|
11254 |
zval **return_value_ptr , zval *this_ptr , |
| 11255 |
int return_value_used ) ; |
|
11255 |
int return_value_used ) ; |
| 11256 |
extern void zif_flock(int ht , zval *return_value , zval **return_value_ptr , |
|
11256 |
extern void zif_flock(int ht , zval *return_value , zval **return_value_ptr , |
| 11257 |
zval *this_ptr , int return_value_used ) ; |
|
11257 |
zval *this_ptr , int return_value_used ) ; |
| 11258 |
extern void zif_fd_set(int ht , zval *return_value , zval **return_value_ptr , |
|
11258 |
extern void zif_fd_set(int ht , zval *return_value , zval **return_value_ptr , |
| 11259 |
zval *this_ptr , int return_value_used ) ; |
|
11259 |
zval *this_ptr , int return_value_used ) ; |
| 11260 |
extern void zif_fd_isset(int ht , zval *return_value , zval **return_value_ptr , |
|
11260 |
extern void zif_fd_isset(int ht , zval *return_value , zval **return_value_ptr , |
| 11261 |
zval *this_ptr , int return_value_used ) ; |
|
11261 |
zval *this_ptr , int return_value_used ) ; |
| 11262 |
extern void zif_realpath(int ht , zval *return_value , zval **return_value_ptr , |
|
11262 |
extern void zif_realpath(int ht , zval *return_value , zval **return_value_ptr , |
| 11263 |
zval *this_ptr , int return_value_used ) ; |
|
11263 |
zval *this_ptr , int return_value_used ) ; |
| 11264 |
extern void zif_fnmatch(int ht , zval *return_value , zval **return_value_ptr , |
|
11264 |
extern void zif_fnmatch(int ht , zval *return_value , zval **return_value_ptr , |
| 11265 |
zval *this_ptr , int return_value_used ) ; |
|
11265 |
zval *this_ptr , int return_value_used ) ; |
| 11266 |
extern void php_if_ftruncate(int ht , zval *return_value , |
|
11266 |
extern void php_if_ftruncate(int ht , zval *return_value , |
| 11267 |
zval **return_value_ptr , zval *this_ptr , |
|
11267 |
zval **return_value_ptr , zval *this_ptr , |
| 11268 |
int return_value_used ) ; |
|
11268 |
int return_value_used ) ; |
| 11269 |
extern void php_if_fstat(int ht , zval *return_value , zval **return_value_ptr , |
|
11269 |
extern void php_if_fstat(int ht , zval *return_value , zval **return_value_ptr , |
| 11270 |
zval *this_ptr , int return_value_used ) ; |
|
11270 |
zval *this_ptr , int return_value_used ) ; |
| 11271 |
extern void zif_sys_get_temp_dir(int ht , zval *return_value , |
|
11271 |
extern void zif_sys_get_temp_dir(int ht , zval *return_value , |
| 11272 |
zval **return_value_ptr , zval *this_ptr , |
|
11272 |
zval **return_value_ptr , zval *this_ptr , |
| 11273 |
int return_value_used ) ; |
|
11273 |
int return_value_used ) ; |
| 11274 |
extern int zm_startup_user_streams(int type , int module_number ) ; |
|
11274 |
extern int zm_startup_user_streams(int type , int module_number ) ; |
| 11275 |
extern int __attribute__((__visibility__("default"))) php_le_stream_context(void) ; |
|
11275 |
extern int __attribute__((__visibility__("default"))) php_le_stream_context(void) ; |
| 11276 |
extern int __attribute__((__visibility__("default"))) php_set_sock_blocking(int socketd , |
|
11276 |
extern int __attribute__((__visibility__("default"))) php_set_sock_blocking(int socketd , |
| 11277 |
int block ) ; |
|
11277 |
int block ) ; |
| 11278 |
extern int __attribute__((__visibility__("default"))) php_copy_file(char *src , |
|
11278 |
extern int __attribute__((__visibility__("default"))) php_copy_file(char *src , |
| 11279 |
char *dest ) ; |
|
11279 |
char *dest ) ; |
| 11280 |
extern int __attribute__((__visibility__("default"))) php_copy_file_ex(char *src , |
|
11280 |
extern int __attribute__((__visibility__("default"))) php_copy_file_ex(char *src , |
| 11281 |
char *dest , |
|
11281 |
char *dest , |
| 11282 |
int src_chk ) ; |
|
11282 |
int src_chk ) ; |
| 11283 |
extern int __attribute__((__visibility__("default"))) php_copy_file_ctx(char *src , |
|
11283 |
extern int __attribute__((__visibility__("default"))) php_copy_file_ctx(char *src , |
| 11284 |
char *dest , |
|
11284 |
char *dest , |
| 11285 |
int src_chk , |
|
11285 |
int src_chk , |
| 11286 |
php_stream_context *ctx ) ; |
|
11286 |
php_stream_context *ctx ) ; |
| 11287 |
extern int __attribute__((__visibility__("default"))) php_mkdir_ex(char *dir , |
|
11287 |
extern int __attribute__((__visibility__("default"))) php_mkdir_ex(char *dir , |
| 11288 |
long mode , |
|
11288 |
long mode , |
| 11289 |
int options ) ; |
|
11289 |
int options ) ; |
| 11290 |
extern int __attribute__((__visibility__("default"))) php_mkdir(char *dir , |
|
11290 |
extern int __attribute__((__visibility__("default"))) php_mkdir(char *dir , |
| 11291 |
long mode ) ; |
|
11291 |
long mode ) ; |
| 11292 |
extern void __attribute__((__visibility__("default"))) php_fgetcsv(php_stream *stream , |
|
11292 |
extern void __attribute__((__visibility__("default"))) php_fgetcsv(php_stream *stream , |
| 11293 |
char delimiter , |
|
11293 |
char delimiter , |
| 11294 |
char enclosure , |
|
11294 |
char enclosure , |
| 11295 |
char escape_char , |
|
11295 |
char escape_char , |
| 11296 |
size_t buf_len , |
|
11296 |
size_t buf_len , |
| 11297 |
char *buf , |
|
11297 |
char *buf , |
| 11298 |
zval *return_value ) ; |
|
11298 |
zval *return_value ) ; |
| 11299 |
extern int __attribute__((__visibility__("default"))) php_fputcsv(php_stream *stream , |
|
11299 |
extern int __attribute__((__visibility__("default"))) php_fputcsv(php_stream *stream , |
| 11300 |
zval *fields , |
|
11300 |
zval *fields , |
| 11301 |
char delimiter , |
|
11301 |
char delimiter , |
| 11302 |
char enclosure , |
|
11302 |
char enclosure , |
| 11303 |
char escape_char ) ; |
|
11303 |
char escape_char ) ; |
| 11304 |
extern php_meta_tags_token php_next_meta_token(php_meta_tags_data * ) ; |
|
11304 |
extern php_meta_tags_token php_next_meta_token(php_meta_tags_data * ) ; |
| 11305 |
extern php_file_globals __attribute__((__visibility__("default"))) file_globals ; |
|
11305 |
extern php_file_globals __attribute__((__visibility__("default"))) file_globals ; |
| 11306 |
void register_string_constants(int type , int module_number ) |
|
11306 |
void register_string_constants(int type , int module_number ) |
| 11307 |
{ |
|
11307 |
{ |
| 11308 |
|
|
11308 |
|
| 11309 |
|
|
11309 |
|
| 11310 |
{ |
|
11310 |
{ |
| 11311 |
zend_register_long_constant("STR_PAD_LEFT", sizeof("STR_PAD_LEFT"), 0L, |
|
11311 |
zend_register_long_constant("STR_PAD_LEFT", sizeof("STR_PAD_LEFT"), 0L, |
| 11312 |
1 | (1 << 1), module_number); |
|
11312 |
1 | (1 << 1), module_number); |
| 11313 |
zend_register_long_constant("STR_PAD_RIGHT", sizeof("STR_PAD_RIGHT"), 1L, |
|
11313 |
zend_register_long_constant("STR_PAD_RIGHT", sizeof("STR_PAD_RIGHT"), 1L, |
| 11314 |
1 | (1 << 1), module_number); |
|
11314 |
1 | (1 << 1), module_number); |
| 11315 |
zend_register_long_constant("STR_PAD_BOTH", sizeof("STR_PAD_BOTH"), 2L, |
|
11315 |
zend_register_long_constant("STR_PAD_BOTH", sizeof("STR_PAD_BOTH"), 2L, |
| 11316 |
1 | (1 << 1), module_number); |
|
11316 |
1 | (1 << 1), module_number); |
| 11317 |
zend_register_long_constant("PATHINFO_DIRNAME", sizeof("PATHINFO_DIRNAME"), |
|
11317 |
zend_register_long_constant("PATHINFO_DIRNAME", sizeof("PATHINFO_DIRNAME"), |
| 11318 |
1L, 1 | (1 << 1), module_number); |
|
11318 |
1L, 1 | (1 << 1), module_number); |
| 11319 |
zend_register_long_constant("PATHINFO_BASENAME", sizeof("PATHINFO_BASENAME"), |
|
11319 |
zend_register_long_constant("PATHINFO_BASENAME", sizeof("PATHINFO_BASENAME"), |
| 11320 |
2L, 1 | (1 << 1), module_number); |
|
11320 |
2L, 1 | (1 << 1), module_number); |
| 11321 |
zend_register_long_constant("PATHINFO_EXTENSION", |
|
11321 |
zend_register_long_constant("PATHINFO_EXTENSION", |
| 11322 |
sizeof("PATHINFO_EXTENSION"), 4L, 1 | (1 << 1), |
|
11322 |
sizeof("PATHINFO_EXTENSION"), 4L, 1 | (1 << 1), |
| 11323 |
module_number); |
|
11323 |
module_number); |
| 11324 |
zend_register_long_constant("PATHINFO_FILENAME", sizeof("PATHINFO_FILENAME"), |
|
11324 |
zend_register_long_constant("PATHINFO_FILENAME", sizeof("PATHINFO_FILENAME"), |
| 11325 |
8L, 1 | (1 << 1), module_number); |
|
11325 |
8L, 1 | (1 << 1), module_number); |
| 11326 |
zend_register_long_constant("CHAR_MAX", sizeof("CHAR_MAX"), 127L, |
|
11326 |
zend_register_long_constant("CHAR_MAX", sizeof("CHAR_MAX"), 127L, |
| 11327 |
1 | (1 << 1), module_number); |
|
11327 |
1 | (1 << 1), module_number); |
| 11328 |
zend_register_long_constant("LC_CTYPE", sizeof("LC_CTYPE"), 0L, 1 | (1 << 1), |
|
11328 |
zend_register_long_constant("LC_CTYPE", sizeof("LC_CTYPE"), 0L, 1 | (1 << 1), |
| 11329 |
module_number); |
|
11329 |
module_number); |
| 11330 |
zend_register_long_constant("LC_NUMERIC", sizeof("LC_NUMERIC"), 1L, |
|
11330 |
zend_register_long_constant("LC_NUMERIC", sizeof("LC_NUMERIC"), 1L, |
| 11331 |
1 | (1 << 1), module_number); |
|
11331 |
1 | (1 << 1), module_number); |
| 11332 |
zend_register_long_constant("LC_TIME", sizeof("LC_TIME"), 2L, 1 | (1 << 1), |
|
11332 |
zend_register_long_constant("LC_TIME", sizeof("LC_TIME"), 2L, 1 | (1 << 1), |
| 11333 |
module_number); |
|
11333 |
module_number); |
| 11334 |
zend_register_long_constant("LC_COLLATE", sizeof("LC_COLLATE"), 3L, |
|
11334 |
zend_register_long_constant("LC_COLLATE", sizeof("LC_COLLATE"), 3L, |
| 11335 |
1 | (1 << 1), module_number); |
|
11335 |
1 | (1 << 1), module_number); |
| 11336 |
zend_register_long_constant("LC_MONETARY", sizeof("LC_MONETARY"), 4L, |
|
11336 |
zend_register_long_constant("LC_MONETARY", sizeof("LC_MONETARY"), 4L, |
| 11337 |
1 | (1 << 1), module_number); |
|
11337 |
1 | (1 << 1), module_number); |
| 11338 |
zend_register_long_constant("LC_ALL", sizeof("LC_ALL"), 6L, 1 | (1 << 1), |
|
11338 |
zend_register_long_constant("LC_ALL", sizeof("LC_ALL"), 6L, 1 | (1 << 1), |
| 11339 |
module_number); |
|
11339 |
module_number); |
| 11340 |
zend_register_long_constant("LC_MESSAGES", sizeof("LC_MESSAGES"), 5L, |
|
11340 |
zend_register_long_constant("LC_MESSAGES", sizeof("LC_MESSAGES"), 5L, |
| 11341 |
1 | (1 << 1), module_number); |
|
11341 |
1 | (1 << 1), module_number); |
| 11342 |
return; |
|
11342 |
return; |
| 11343 |
} |
|
11343 |
} |
| 11344 |
} |
|
11344 |
} |
| 11345 |
int php_tag_find(char *tag , int len , char *set ) ; |
|
11345 |
int php_tag_find(char *tag , int len , char *set ) ; |
| 11346 |
static char hexconvtab[17] = |
|
11346 |
static char hexconvtab[17] = |
| 11347 |
{ (char )'0', (char )'1', (char )'2', (char )'3', |
|
11347 |
{ (char )'0', (char )'1', (char )'2', (char )'3', |
| 11348 |
(char )'4', (char )'5', (char )'6', (char )'7', |
|
11348 |
(char )'4', (char )'5', (char )'6', (char )'7', |
| 11349 |
(char )'8', (char )'9', (char )'a', (char )'b', |
|
11349 |
(char )'8', (char )'9', (char )'a', (char )'b', |
| 11350 |
(char )'c', (char )'d', (char )'e', (char )'f', |
|
11350 |
(char )'c', (char )'d', (char )'e', (char )'f', |
| 11351 |
(char )'\000'}; |
|
11351 |
(char )'\000'}; |
| 11352 |
static char *php_bin2hex(unsigned char const *old , size_t const oldlen , |
|
11352 |
static char *php_bin2hex(unsigned char const *old , size_t const oldlen , |
| 11353 |
size_t *newlen ) |
|
11353 |
size_t *newlen ) |
| 11354 |
{ |
|
11354 |
{ |
| 11355 |
register unsigned char *result ; |
|
11355 |
register unsigned char *result ; |
| 11356 |
size_t i ; |
|
11356 |
size_t i ; |
| 11357 |
size_t j ; |
|
11357 |
size_t j ; |
| 11358 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
11358 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 11359 |
size_t tmp___0 ; |
|
11359 |
size_t tmp___0 ; |
| 11360 |
size_t tmp___1 ; |
|
11360 |
size_t tmp___1 ; |
| 11361 |
|
|
11361 |
|
| 11362 |
{ |
|
11362 |
{ |
| 11363 |
result = (unsigned char *)((void *)0); |
|
11363 |
result = (unsigned char *)((void *)0); |
| 11364 |
tmp = _safe_emalloc((size_t )(oldlen * 2U), sizeof(char ), (size_t )1); |
|
11364 |
tmp = _safe_emalloc((size_t )(oldlen * 2U), sizeof(char ), (size_t )1); |
| 11365 |
result = (unsigned char *)tmp; |
|
11365 |
result = (unsigned char *)tmp; |
| 11366 |
j = (size_t )0; |
|
11366 |
j = (size_t )0; |
| 11367 |
i = j; |
|
11367 |
i = j; |
| 11368 |
while (i < (size_t )oldlen) { |
|
11368 |
while (i < (size_t )oldlen) { |
| 11369 |
tmp___0 = j; |
|
11369 |
tmp___0 = j; |
| 11370 |
j ++; |
|
11370 |
j ++; |
| 11371 |
*(result + tmp___0) = (unsigned char )hexconvtab[(int const )*(old + i) >> 4]; |
|
11371 |
*(result + tmp___0) = (unsigned char )hexconvtab[(int const )*(old + i) >> 4]; |
| 11372 |
tmp___1 = j; |
|
11372 |
tmp___1 = j; |
| 11373 |
j ++; |
|
11373 |
j ++; |
| 11374 |
*(result + tmp___1) = (unsigned char )hexconvtab[(int const )*(old + i) & 15]; |
|
11374 |
*(result + tmp___1) = (unsigned char )hexconvtab[(int const )*(old + i) & 15]; |
| 11375 |
i ++; |
|
11375 |
i ++; |
| 11376 |
} |
|
11376 |
} |
| 11377 |
*(result + j) = (unsigned char )'\000'; |
|
11377 |
*(result + j) = (unsigned char )'\000'; |
| 11378 |
if (newlen) { |
|
11378 |
if (newlen) { |
| 11379 |
*newlen = (size_t )((oldlen * 2U) * (size_t const )sizeof(char )); |
|
11379 |
*newlen = (size_t )((oldlen * 2U) * (size_t const )sizeof(char )); |
| 11380 |
} else { |
|
11380 |
} else { |
| 11381 |
|
|
11381 |
|
| 11382 |
} |
|
11382 |
} |
| 11383 |
return ((char *)result); |
|
11383 |
return ((char *)result); |
| 11384 |
} |
|
11384 |
} |
| 11385 |
} |
|
11385 |
} |
| 11386 |
struct lconv __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) |
|
11386 |
struct lconv __attribute__((__visibility__("default"))) *localeconv_r(struct lconv *out ) |
| 11387 |
{ |
|
11387 |
{ |
| 11388 |
struct lconv *res ; |
|
11388 |
struct lconv *res ; |
| 11389 |
|
|
11389 |
|
| 11390 |
{ |
|
11390 |
{ |
| 11391 |
res = localeconv(); |
|
11391 |
res = localeconv(); |
| 11392 |
*out = *res; |
|
11392 |
*out = *res; |
| 11393 |
return ((struct lconv __attribute__((__visibility__("default"))) *)out); |
|
11393 |
return ((struct lconv __attribute__((__visibility__("default"))) *)out); |
| 11394 |
} |
|
11394 |
} |
| 11395 |
} |
|
11395 |
} |
| 11396 |
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , |
|
11396 |
void zif_bin2hex(int ht , zval *return_value , zval **return_value_ptr , |
| 11397 |
zval *this_ptr , int return_value_used ) |
|
11397 |
zval *this_ptr , int return_value_used ) |
| 11398 |
{ |
|
11398 |
{ |
| 11399 |
char *result ; |
|
11399 |
char *result ; |
| 11400 |
char *data ; |
|
11400 |
char *data ; |
| 11401 |
size_t newlen ; |
|
11401 |
size_t newlen ; |
| 11402 |
int datalen ; |
|
11402 |
int datalen ; |
| 11403 |
int __attribute__((__visibility__("default"))) tmp ; |
|
11403 |
int __attribute__((__visibility__("default"))) tmp ; |
| 11404 |
zval *__z ; |
|
11404 |
zval *__z ; |
| 11405 |
char const *__s ; |
|
11405 |
char const *__s ; |
| 11406 |
int __l ; |
|
11406 |
int __l ; |
| 11407 |
zval *__z___0 ; |
|
11407 |
zval *__z___0 ; |
| 11408 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
11408 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 11409 |
|
|
11409 |
|
| 11410 |
{ |
|
11410 |
{ |
| 11411 |
tmp = zend_parse_parameters(ht, "s", & data, & datalen); |
|
11411 |
tmp = zend_parse_parameters(ht, "s", & data, & datalen); |
| 11412 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
11412 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 11413 |
return; |
|
11413 |
return; |
| 11414 |
} else { |
|
11414 |
} else { |
| 11415 |
|
|
11415 |
|
| 11416 |
} |
|
11416 |
} |
| 11417 |
result = php_bin2hex((unsigned char const *)((unsigned char *)data), |
|
11417 |
result = php_bin2hex((unsigned char const *)((unsigned char *)data), |
| 11418 |
(size_t const )datalen, & newlen); |
|
11418 |
(size_t const )datalen, & newlen); |
| 11419 |
if (! result) { |
|
11419 |
if (! result) { |
| 11420 |
while (1) { |
|
11420 |
while (1) { |
| 11421 |
__z = return_value; |
|
11421 |
__z = return_value; |
| 11422 |
__z->value.lval = 0L; |
|
11422 |
__z->value.lval = 0L; |
| 11423 |
__z->type = (zend_uchar )3; |
|
11423 |
__z->type = (zend_uchar )3; |
| 11424 |
break; |
|
11424 |
break; |
| 11425 |
} |
|
11425 |
} |
| 11426 |
return; |
|
11426 |
return; |
| 11427 |
} else { |
|
11427 |
} else { |
| 11428 |
|
|
11428 |
|
| 11429 |
} |
|
11429 |
} |
| 11430 |
while (1) { |
|
11430 |
while (1) { |
| 11431 |
__s = (char const *)result; |
|
11431 |
__s = (char const *)result; |
| 11432 |
__l = (int )newlen; |
|
11432 |
__l = (int )newlen; |
| 11433 |
__z___0 = return_value; |
|
11433 |
__z___0 = return_value; |
| 11434 |
__z___0->value.str.len = __l; |
|
11434 |
__z___0->value.str.len = __l; |
| 11435 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
11435 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 11436 |
__z___0->type = (zend_uchar )6; |
|
11436 |
__z___0->type = (zend_uchar )6; |
| 11437 |
break; |
|
11437 |
break; |
| 11438 |
} |
|
11438 |
} |
| 11439 |
return; |
|
11439 |
return; |
| 11440 |
} |
|
11440 |
} |
| 11441 |
} |
|
11441 |
} |
| 11442 |
static void php_spn_common_handler(int ht , zval *return_value , |
|
11442 |
static void php_spn_common_handler(int ht , zval *return_value , |
| 11443 |
zval **return_value_ptr , zval *this_ptr , |
|
11443 |
zval **return_value_ptr , zval *this_ptr , |
| 11444 |
int return_value_used , int behavior ) |
|
11444 |
int return_value_used , int behavior ) |
| 11445 |
{ |
|
11445 |
{ |
| 11446 |
char *s11 ; |
|
11446 |
char *s11 ; |
| 11447 |
char *s22 ; |
|
11447 |
char *s22 ; |
| 11448 |
int len1 ; |
|
11448 |
int len1 ; |
| 11449 |
int len2 ; |
|
11449 |
int len2 ; |
| 11450 |
long start ; |
|
11450 |
long start ; |
| 11451 |
long len ; |
|
11451 |
long len ; |
| 11452 |
int __attribute__((__visibility__("default"))) tmp ; |
|
11452 |
int __attribute__((__visibility__("default"))) tmp ; |
| 11453 |
zval *__z ; |
|
11453 |
zval *__z ; |
| 11454 |
zval *__z___0 ; |
|
11454 |
zval *__z___0 ; |
| 11455 |
zval *__z___1 ; |
|
11455 |
zval *__z___1 ; |
| 11456 |
size_t __attribute__((__visibility__("default"))) tmp___0 ; |
|
11456 |
size_t __attribute__((__visibility__("default"))) tmp___0 ; |
| 11457 |
zval *__z___2 ; |
|
11457 |
zval *__z___2 ; |
| 11458 |
size_t __attribute__((__visibility__("default"))) tmp___1 ; |
|
11458 |
size_t __attribute__((__visibility__("default"))) tmp___1 ; |
| 11459 |
|
|
11459 |
|
| 11460 |
{ |
|
11460 |
{ |
| 11461 |
start = 0L; |
|
11461 |
start = 0L; |
| 11462 |
len = 0L; |
|
11462 |
len = 0L; |
| 11463 |
tmp = zend_parse_parameters(ht, "ss|ll", & s11, & len1, & s22, & len2, |
|
11463 |
tmp = zend_parse_parameters(ht, "ss|ll", & s11, & len1, & s22, & len2, |
| 11464 |
& start, & len); |
|
11464 |
& start, & len); |
| 11465 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
11465 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 11466 |
return; |
|
11466 |
return; |
| 11467 |
} else { |
|
11467 |
} else { |
| 11468 |
|
|
11468 |
|
| 11469 |
} |
|
11469 |
} |
| 11470 |
if (ht < 4) { |
|
11470 |
if (ht < 4) { |
| 11471 |
len = (long )len1; |
|
11471 |
len = (long )len1; |
| 11472 |
} else { |
|
11472 |
} else { |
| 11473 |
|
|
11473 |
|
| 11474 |
} |
|
11474 |
} |
| 11475 |
if (start < 0L) { |
|
11475 |
if (start < 0L) { |
| 11476 |
start += (long )len1; |
|
11476 |
start += (long )len1; |
| 11477 |
if (start < 0L) { |
|
11477 |
if (start < 0L) { |
| 11478 |
start = 0L; |
|
11478 |
start = 0L; |
| 11479 |
} else { |
|
11479 |
} else { |
| 11480 |
|
|
11480 |
|
| 11481 |
} |
|
11481 |
} |
| 11482 |
} else |
|
11482 |
} else |
| 11483 |
if (start > (long )len1) { |
|
11483 |
if (start > (long )len1) { |
| 11484 |
while (1) { |
|
11484 |
while (1) { |
| 11485 |
__z = return_value; |
|
11485 |
__z = return_value; |
| 11486 |
__z->value.lval = 0L; |
|
11486 |
__z->value.lval = 0L; |
| 11487 |
__z->type = (zend_uchar )3; |
|
11487 |
__z->type = (zend_uchar )3; |
| 11488 |
break; |
|
11488 |
break; |
| 11489 |
} |
|
11489 |
} |
| 11490 |
return; |
|
11490 |
return; |
| 11491 |
} else { |
|
11491 |
} else { |
| 11492 |
|
|
11492 |
|
| 11493 |
} |
|
11493 |
} |
| 11494 |
if (len < 0L) { |
|
11494 |
if (len < 0L) { |
| 11495 |
len += (long )len1 - start; |
|
11495 |
len += (long )len1 - start; |
| 11496 |
if (len < 0L) { |
|
11496 |
if (len < 0L) { |
| 11497 |
len = 0L; |
|
11497 |
len = 0L; |
| 11498 |
} else { |
|
11498 |
} else { |
| 11499 |
|
|
11499 |
|
| 11500 |
} |
|
11500 |
} |
| 11501 |
} else { |
|
11501 |
} else { |
| 11502 |
|
|
11502 |
|
| 11503 |
} |
|
11503 |
} |
| 11504 |
if (len > (long )len1 - start) { |
|
11504 |
if (len > (long )len1 - start) { |
| 11505 |
len = (long )len1 - start; |
|
11505 |
len = (long )len1 - start; |
| 11506 |
} else { |
|
11506 |
} else { |
| 11507 |
|
|
11507 |
|
| 11508 |
} |
|
11508 |
} |
| 11509 |
if (len == 0L) { |
|
11509 |
if (len == 0L) { |
| 11510 |
__z___0 = return_value; |
|
11510 |
__z___0 = return_value; |
| 11511 |
__z___0->value.lval = 0L; |
|
11511 |
__z___0->value.lval = 0L; |
| 11512 |
__z___0->type = (zend_uchar )1; |
|
11512 |
__z___0->type = (zend_uchar )1; |
| 11513 |
return; |
|
11513 |
return; |
| 11514 |
} else { |
|
11514 |
} else { |
| 11515 |
|
|
11515 |
|
| 11516 |
} |
|
11516 |
} |
| 11517 |
if (behavior == 0) { |
|
11517 |
if (behavior == 0) { |
| 11518 |
__z___1 = return_value; |
|
11518 |
__z___1 = return_value; |
| 11519 |
tmp___0 = php_strspn(s11 + start, s22, (s11 + start) + len, s22 + len2); |
|
11519 |
tmp___0 = php_strspn(s11 + start, s22, (s11 + start) + len, s22 + len2); |
| 11520 |
__z___1->value.lval = (long )tmp___0; |
|
11520 |
__z___1->value.lval = (long )tmp___0; |
| 11521 |
__z___1->type = (zend_uchar )1; |
|
11521 |
__z___1->type = (zend_uchar )1; |
| 11522 |
return; |
|
11522 |
return; |
| 11523 |
} else |
|
11523 |
} else |
| 11524 |
if (behavior == 1) { |
|
11524 |
if (behavior == 1) { |
| 11525 |
__z___2 = return_value; |
|
11525 |
__z___2 = return_value; |
| 11526 |
tmp___1 = php_strcspn(s11 + start, s22, (s11 + start) + len, s22 + len2); |
|
11526 |
tmp___1 = php_strcspn(s11 + start, s22, (s11 + start) + len, s22 + len2); |
| 11527 |
__z___2->value.lval = (long )tmp___1; |
|
11527 |
__z___2->value.lval = (long )tmp___1; |
| 11528 |
__z___2->type = (zend_uchar )1; |
|
11528 |
__z___2->type = (zend_uchar )1; |
| 11529 |
return; |
|
11529 |
return; |
| 11530 |
} else { |
|
11530 |
} else { |
| 11531 |
|
|
11531 |
|
| 11532 |
} |
|
11532 |
} |
| 11533 |
return; |
|
11533 |
return; |
| 11534 |
} |
|
11534 |
} |
| 11535 |
} |
|
11535 |
} |
| 11536 |
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , |
|
11536 |
void zif_strspn(int ht , zval *return_value , zval **return_value_ptr , |
| 11537 |
zval *this_ptr , int return_value_used ) |
|
11537 |
zval *this_ptr , int return_value_used ) |
| 11538 |
{ |
|
11538 |
{ |
| 11539 |
|
|
11539 |
|
| 11540 |
|
|
11540 |
|
| 11541 |
{ |
|
11541 |
{ |
| 11542 |
php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, |
|
11542 |
php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, |
| 11543 |
return_value_used, 0); |
|
11543 |
return_value_used, 0); |
| 11544 |
return; |
|
11544 |
return; |
| 11545 |
} |
|
11545 |
} |
| 11546 |
} |
|
11546 |
} |
| 11547 |
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , |
|
11547 |
void zif_strcspn(int ht , zval *return_value , zval **return_value_ptr , |
| 11548 |
zval *this_ptr , int return_value_used ) |
|
11548 |
zval *this_ptr , int return_value_used ) |
| 11549 |
{ |
|
11549 |
{ |
| 11550 |
|
|
11550 |
|
| 11551 |
|
|
11551 |
|
| 11552 |
{ |
|
11552 |
{ |
| 11553 |
php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, |
|
11553 |
php_spn_common_handler(ht, return_value, return_value_ptr, this_ptr, |
| 11554 |
return_value_used, 1); |
|
11554 |
return_value_used, 1); |
| 11555 |
return; |
|
11555 |
return; |
| 11556 |
} |
|
11556 |
} |
| 11557 |
} |
|
11557 |
} |
| 11558 |
int zm_startup_nl_langinfo(int type , int module_number ) |
|
11558 |
int zm_startup_nl_langinfo(int type , int module_number ) |
| 11559 |
{ |
|
11559 |
{ |
| 11560 |
|
|
11560 |
|
| 11561 |
|
|
11561 |
|
| 11562 |
{ |
|
11562 |
{ |
| 11563 |
zend_register_long_constant("ABDAY_1", sizeof("ABDAY_1"), 131072L, |
|
11563 |
zend_register_long_constant("ABDAY_1", sizeof("ABDAY_1"), 131072L, |
| 11564 |
1 | (1 << 1), module_number); |
|
11564 |
1 | (1 << 1), module_number); |
| 11565 |
zend_register_long_constant("ABDAY_2", sizeof("ABDAY_2"), 131073L, |
|
11565 |
zend_register_long_constant("ABDAY_2", sizeof("ABDAY_2"), 131073L, |
| 11566 |
1 | (1 << 1), module_number); |
|
11566 |
1 | (1 << 1), module_number); |
| 11567 |
zend_register_long_constant("ABDAY_3", sizeof("ABDAY_3"), 131074L, |
|
11567 |
zend_register_long_constant("ABDAY_3", sizeof("ABDAY_3"), 131074L, |
| 11568 |
1 | (1 << 1), module_number); |
|
11568 |
1 | (1 << 1), module_number); |
| 11569 |
zend_register_long_constant("ABDAY_4", sizeof("ABDAY_4"), 131075L, |
|
11569 |
zend_register_long_constant("ABDAY_4", sizeof("ABDAY_4"), 131075L, |
| 11570 |
1 | (1 << 1), module_number); |
|
11570 |
1 | (1 << 1), module_number); |
| 11571 |
zend_register_long_constant("ABDAY_5", sizeof("ABDAY_5"), 131076L, |
|
11571 |
zend_register_long_constant("ABDAY_5", sizeof("ABDAY_5"), 131076L, |
| 11572 |
1 | (1 << 1), module_number); |
|
11572 |
1 | (1 << 1), module_number); |
| 11573 |
zend_register_long_constant("ABDAY_6", sizeof("ABDAY_6"), 131077L, |
|
11573 |
zend_register_long_constant("ABDAY_6", sizeof("ABDAY_6"), 131077L, |
| 11574 |
1 | (1 << 1), module_number); |
|
11574 |
1 | (1 << 1), module_number); |
| 11575 |
zend_register_long_constant("ABDAY_7", sizeof("ABDAY_7"), 131078L, |
|
11575 |
zend_register_long_constant("ABDAY_7", sizeof("ABDAY_7"), 131078L, |
| 11576 |
1 | (1 << 1), module_number); |
|
11576 |
1 | (1 << 1), module_number); |
| 11577 |
zend_register_long_constant("DAY_1", sizeof("DAY_1"), 131079L, 1 | (1 << 1), |
|
11577 |
zend_register_long_constant("DAY_1", sizeof("DAY_1"), 131079L, 1 | (1 << 1), |
| 11578 |
module_number); |
|
11578 |
module_number); |
| 11579 |
zend_register_long_constant("DAY_2", sizeof("DAY_2"), 131080L, 1 | (1 << 1), |
|
11579 |
zend_register_long_constant("DAY_2", sizeof("DAY_2"), 131080L, 1 | (1 << 1), |
| 11580 |
module_number); |
|
11580 |
module_number); |
| 11581 |
zend_register_long_constant("DAY_3", sizeof("DAY_3"), 131081L, 1 | (1 << 1), |
|
11581 |
zend_register_long_constant("DAY_3", sizeof("DAY_3"), 131081L, 1 | (1 << 1), |
| 11582 |
module_number); |
|
11582 |
module_number); |
| 11583 |
zend_register_long_constant("DAY_4", sizeof("DAY_4"), 131082L, 1 | (1 << 1), |
|
11583 |
zend_register_long_constant("DAY_4", sizeof("DAY_4"), 131082L, 1 | (1 << 1), |
| 11584 |
module_number); |
|
11584 |
module_number); |
| 11585 |
zend_register_long_constant("DAY_5", sizeof("DAY_5"), 131083L, 1 | (1 << 1), |
|
11585 |
zend_register_long_constant("DAY_5", sizeof("DAY_5"), 131083L, 1 | (1 << 1), |
| 11586 |
module_number); |
|
11586 |
module_number); |
| 11587 |
zend_register_long_constant("DAY_6", sizeof("DAY_6"), 131084L, 1 | (1 << 1), |
|
11587 |
zend_register_long_constant("DAY_6", sizeof("DAY_6"), 131084L, 1 | (1 << 1), |
| 11588 |
module_number); |
|
11588 |
module_number); |
| 11589 |
zend_register_long_constant("DAY_7", sizeof("DAY_7"), 131085L, 1 | (1 << 1), |
|
11589 |
zend_register_long_constant("DAY_7", sizeof("DAY_7"), 131085L, 1 | (1 << 1), |
| 11590 |
module_number); |
|
11590 |
module_number); |
| 11591 |
zend_register_long_constant("ABMON_1", sizeof("ABMON_1"), 131086L, |
|
11591 |
zend_register_long_constant("ABMON_1", sizeof("ABMON_1"), 131086L, |
| 11592 |
1 | (1 << 1), module_number); |
|
11592 |
1 | (1 << 1), module_number); |
| 11593 |
zend_register_long_constant("ABMON_2", sizeof("ABMON_2"), 131087L, |
|
11593 |
zend_register_long_constant("ABMON_2", sizeof("ABMON_2"), 131087L, |
| 11594 |
1 | (1 << 1), module_number); |
|
11594 |
1 | (1 << 1), module_number); |
| 11595 |
zend_register_long_constant("ABMON_3", sizeof("ABMON_3"), 131088L, |
|
11595 |
zend_register_long_constant("ABMON_3", sizeof("ABMON_3"), 131088L, |
| 11596 |
1 | (1 << 1), module_number); |
|
11596 |
1 | (1 << 1), module_number); |
| 11597 |
zend_register_long_constant("ABMON_4", sizeof("ABMON_4"), 131089L, |
|
11597 |
zend_register_long_constant("ABMON_4", sizeof("ABMON_4"), 131089L, |
| 11598 |
1 | (1 << 1), module_number); |
|
11598 |
1 | (1 << 1), module_number); |
| 11599 |
zend_register_long_constant("ABMON_5", sizeof("ABMON_5"), 131090L, |
|
11599 |
zend_register_long_constant("ABMON_5", sizeof("ABMON_5"), 131090L, |
| 11600 |
1 | (1 << 1), module_number); |
|
11600 |
1 | (1 << 1), module_number); |
| 11601 |
zend_register_long_constant("ABMON_6", sizeof("ABMON_6"), 131091L, |
|
11601 |
zend_register_long_constant("ABMON_6", sizeof("ABMON_6"), 131091L, |
| 11602 |
1 | (1 << 1), module_number); |
|
11602 |
1 | (1 << 1), module_number); |
| 11603 |
zend_register_long_constant("ABMON_7", sizeof("ABMON_7"), 131092L, |
|
11603 |
zend_register_long_constant("ABMON_7", sizeof("ABMON_7"), 131092L, |
| 11604 |
1 | (1 << 1), module_number); |
|
11604 |
1 | (1 << 1), module_number); |
| 11605 |
zend_register_long_constant("ABMON_8", sizeof("ABMON_8"), 131093L, |
|
11605 |
zend_register_long_constant("ABMON_8", sizeof("ABMON_8"), 131093L, |
| 11606 |
1 | (1 << 1), module_number); |
|
11606 |
1 | (1 << 1), module_number); |
| 11607 |
zend_register_long_constant("ABMON_9", sizeof("ABMON_9"), 131094L, |
|
11607 |
zend_register_long_constant("ABMON_9", sizeof("ABMON_9"), 131094L, |
| 11608 |
1 | (1 << 1), module_number); |
|
11608 |
1 | (1 << 1), module_number); |
| 11609 |
zend_register_long_constant("ABMON_10", sizeof("ABMON_10"), 131095L, |
|
11609 |
zend_register_long_constant("ABMON_10", sizeof("ABMON_10"), 131095L, |
| 11610 |
1 | (1 << 1), module_number); |
|
11610 |
1 | (1 << 1), module_number); |
| 11611 |
zend_register_long_constant("ABMON_11", sizeof("ABMON_11"), 131096L, |
|
11611 |
zend_register_long_constant("ABMON_11", sizeof("ABMON_11"), 131096L, |
| 11612 |
1 | (1 << 1), module_number); |
|
11612 |
1 | (1 << 1), module_number); |
| 11613 |
zend_register_long_constant("ABMON_12", sizeof("ABMON_12"), 131097L, |
|
11613 |
zend_register_long_constant("ABMON_12", sizeof("ABMON_12"), 131097L, |
| 11614 |
1 | (1 << 1), module_number); |
|
11614 |
1 | (1 << 1), module_number); |
| 11615 |
zend_register_long_constant("MON_1", sizeof("MON_1"), 131098L, 1 | (1 << 1), |
|
11615 |
zend_register_long_constant("MON_1", sizeof("MON_1"), 131098L, 1 | (1 << 1), |
| 11616 |
module_number); |
|
11616 |
module_number); |
| 11617 |
zend_register_long_constant("MON_2", sizeof("MON_2"), 131099L, 1 | (1 << 1), |
|
11617 |
zend_register_long_constant("MON_2", sizeof("MON_2"), 131099L, 1 | (1 << 1), |
| 11618 |
module_number); |
|
11618 |
module_number); |
| 11619 |
zend_register_long_constant("MON_3", sizeof("MON_3"), 131100L, 1 | (1 << 1), |
|
11619 |
zend_register_long_constant("MON_3", sizeof("MON_3"), 131100L, 1 | (1 << 1), |
| 11620 |
module_number); |
|
11620 |
module_number); |
| 11621 |
zend_register_long_constant("MON_4", sizeof("MON_4"), 131101L, 1 | (1 << 1), |
|
11621 |
zend_register_long_constant("MON_4", sizeof("MON_4"), 131101L, 1 | (1 << 1), |
| 11622 |
module_number); |
|
11622 |
module_number); |
| 11623 |
zend_register_long_constant("MON_5", sizeof("MON_5"), 131102L, 1 | (1 << 1), |
|
11623 |
zend_register_long_constant("MON_5", sizeof("MON_5"), 131102L, 1 | (1 << 1), |
| 11624 |
module_number); |
|
11624 |
module_number); |
| 11625 |
zend_register_long_constant("MON_6", sizeof("MON_6"), 131103L, 1 | (1 << 1), |
|
11625 |
zend_register_long_constant("MON_6", sizeof("MON_6"), 131103L, 1 | (1 << 1), |
| 11626 |
module_number); |
|
11626 |
module_number); |
| 11627 |
zend_register_long_constant("MON_7", sizeof("MON_7"), 131104L, 1 | (1 << 1), |
|
11627 |
zend_register_long_constant("MON_7", sizeof("MON_7"), 131104L, 1 | (1 << 1), |
| 11628 |
module_number); |
|
11628 |
module_number); |
| 11629 |
zend_register_long_constant("MON_8", sizeof("MON_8"), 131105L, 1 | (1 << 1), |
|
11629 |
zend_register_long_constant("MON_8", sizeof("MON_8"), 131105L, 1 | (1 << 1), |
| 11630 |
module_number); |
|
11630 |
module_number); |
| 11631 |
zend_register_long_constant("MON_9", sizeof("MON_9"), 131106L, 1 | (1 << 1), |
|
11631 |
zend_register_long_constant("MON_9", sizeof("MON_9"), 131106L, 1 | (1 << 1), |
| 11632 |
module_number); |
|
11632 |
module_number); |
| 11633 |
zend_register_long_constant("MON_10", sizeof("MON_10"), 131107L, 1 | (1 << 1), |
|
11633 |
zend_register_long_constant("MON_10", sizeof("MON_10"), 131107L, 1 | (1 << 1), |
| 11634 |
module_number); |
|
11634 |
module_number); |
| 11635 |
zend_register_long_constant("MON_11", sizeof("MON_11"), 131108L, 1 | (1 << 1), |
|
11635 |
zend_register_long_constant("MON_11", sizeof("MON_11"), 131108L, 1 | (1 << 1), |
| 11636 |
module_number); |
|
11636 |
module_number); |
| 11637 |
zend_register_long_constant("MON_12", sizeof("MON_12"), 131109L, 1 | (1 << 1), |
|
11637 |
zend_register_long_constant("MON_12", sizeof("MON_12"), 131109L, 1 | (1 << 1), |
| 11638 |
module_number); |
|
11638 |
module_number); |
| 11639 |
zend_register_long_constant("AM_STR", sizeof("AM_STR"), 131110L, 1 | (1 << 1), |
|
11639 |
zend_register_long_constant("AM_STR", sizeof("AM_STR"), 131110L, 1 | (1 << 1), |
| 11640 |
module_number); |
|
11640 |
module_number); |
| 11641 |
zend_register_long_constant("PM_STR", sizeof("PM_STR"), 131111L, 1 | (1 << 1), |
|
11641 |
zend_register_long_constant("PM_STR", sizeof("PM_STR"), 131111L, 1 | (1 << 1), |
| 11642 |
module_number); |
|
11642 |
module_number); |
| 11643 |
zend_register_long_constant("D_T_FMT", sizeof("D_T_FMT"), 131112L, |
|
11643 |
zend_register_long_constant("D_T_FMT", sizeof("D_T_FMT"), 131112L, |
| 11644 |
1 | (1 << 1), module_number); |
|
11644 |
1 | (1 << 1), module_number); |
| 11645 |
zend_register_long_constant("D_FMT", sizeof("D_FMT"), 131113L, 1 | (1 << 1), |
|
11645 |
zend_register_long_constant("D_FMT", sizeof("D_FMT"), 131113L, 1 | (1 << 1), |
| 11646 |
module_number); |
|
11646 |
module_number); |
| 11647 |
zend_register_long_constant("T_FMT", sizeof("T_FMT"), 131114L, 1 | (1 << 1), |
|
11647 |
zend_register_long_constant("T_FMT", sizeof("T_FMT"), 131114L, 1 | (1 << 1), |
| 11648 |
module_number); |
|
11648 |
module_number); |
| 11649 |
zend_register_long_constant("T_FMT_AMPM", sizeof("T_FMT_AMPM"), 131115L, |
|
11649 |
zend_register_long_constant("T_FMT_AMPM", sizeof("T_FMT_AMPM"), 131115L, |
| 11650 |
1 | (1 << 1), module_number); |
|
11650 |
1 | (1 << 1), module_number); |
| 11651 |
zend_register_long_constant("ERA", sizeof("ERA"), 131116L, 1 | (1 << 1), |
|
11651 |
zend_register_long_constant("ERA", sizeof("ERA"), 131116L, 1 | (1 << 1), |
| 11652 |
module_number); |
|
11652 |
module_number); |
| 11653 |
zend_register_long_constant("ERA_D_T_FMT", sizeof("ERA_D_T_FMT"), 131120L, |
|
11653 |
zend_register_long_constant("ERA_D_T_FMT", sizeof("ERA_D_T_FMT"), 131120L, |
| 11654 |
1 | (1 << 1), module_number); |
|
11654 |
1 | (1 << 1), module_number); |
| 11655 |
zend_register_long_constant("ERA_D_FMT", sizeof("ERA_D_FMT"), 131118L, |
|
11655 |
zend_register_long_constant("ERA_D_FMT", sizeof("ERA_D_FMT"), 131118L, |
| 11656 |
1 | (1 << 1), module_number); |
|
11656 |
1 | (1 << 1), module_number); |
| 11657 |
zend_register_long_constant("ERA_T_FMT", sizeof("ERA_T_FMT"), 131121L, |
|
11657 |
zend_register_long_constant("ERA_T_FMT", sizeof("ERA_T_FMT"), 131121L, |
| 11658 |
1 | (1 << 1), module_number); |
|
11658 |
1 | (1 << 1), module_number); |
| 11659 |
zend_register_long_constant("ALT_DIGITS", sizeof("ALT_DIGITS"), 131119L, |
|
11659 |
zend_register_long_constant("ALT_DIGITS", sizeof("ALT_DIGITS"), 131119L, |
| 11660 |
1 | (1 << 1), module_number); |
|
11660 |
1 | (1 << 1), module_number); |
| 11661 |
zend_register_long_constant("CRNCYSTR", sizeof("CRNCYSTR"), 262159L, |
|
11661 |
zend_register_long_constant("CRNCYSTR", sizeof("CRNCYSTR"), 262159L, |
| 11662 |
1 | (1 << 1), module_number); |
|
11662 |
1 | (1 << 1), module_number); |
| 11663 |
zend_register_long_constant("RADIXCHAR", sizeof("RADIXCHAR"), 65536L, |
|
11663 |
zend_register_long_constant("RADIXCHAR", sizeof("RADIXCHAR"), 65536L, |
| 11664 |
1 | (1 << 1), module_number); |
|
11664 |
1 | (1 << 1), module_number); |
| 11665 |
zend_register_long_constant("THOUSEP", sizeof("THOUSEP"), 65537L, |
|
11665 |
zend_register_long_constant("THOUSEP", sizeof("THOUSEP"), 65537L, |
| 11666 |
1 | (1 << 1), module_number); |
|
11666 |
1 | (1 << 1), module_number); |
| 11667 |
zend_register_long_constant("YESEXPR", sizeof("YESEXPR"), 327680L, |
|
11667 |
zend_register_long_constant("YESEXPR", sizeof("YESEXPR"), 327680L, |
| 11668 |
1 | (1 << 1), module_number); |
|
11668 |
1 | (1 << 1), module_number); |
| 11669 |
zend_register_long_constant("NOEXPR", sizeof("NOEXPR"), 327681L, 1 | (1 << 1), |
|
11669 |
zend_register_long_constant("NOEXPR", sizeof("NOEXPR"), 327681L, 1 | (1 << 1), |
| 11670 |
module_number); |
|
11670 |
module_number); |
| 11671 |
zend_register_long_constant("CODESET", sizeof("CODESET"), 14L, 1 | (1 << 1), |
|
11671 |
zend_register_long_constant("CODESET", sizeof("CODESET"), 14L, 1 | (1 << 1), |
| 11672 |
module_number); |
|
11672 |
module_number); |
| 11673 |
return (0); |
|
11673 |
return (0); |
| 11674 |
} |
|
11674 |
} |
| 11675 |
} |
|
11675 |
} |
| 11676 |
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , |
|
11676 |
void zif_nl_langinfo(int ht , zval *return_value , zval **return_value_ptr , |
| 11677 |
zval *this_ptr , int return_value_used ) |
|
11677 |
zval *this_ptr , int return_value_used ) |
| 11678 |
{ |
|
11678 |
{ |
| 11679 |
long item ; |
|
11679 |
long item ; |
| 11680 |
char *value ; |
|
11680 |
char *value ; |
| 11681 |
int __attribute__((__visibility__("default"))) tmp ; |
|
11681 |
int __attribute__((__visibility__("default"))) tmp ; |
| 11682 |
zval *__z ; |
|
11682 |
zval *__z ; |
| 11683 |
zval *__z___0 ; |
|
11683 |
zval *__z___0 ; |
| 11684 |
char const *__s ; |
|
11684 |
char const *__s ; |
| 11685 |
zval *__z___1 ; |
|
11685 |
zval *__z___1 ; |
| 11686 |
size_t tmp___0 ; |
|
11686 |
size_t tmp___0 ; |
| 11687 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
11687 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 11688 |
|
|
11688 |
|
| 11689 |
{ |
|
11689 |
{ |
| 11690 |
tmp = zend_parse_parameters(ht, "l", & item); |
|
11690 |
tmp = zend_parse_parameters(ht, "l", & item); |
| 11691 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
11691 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 11692 |
return; |
|
11692 |
return; |
| 11693 |
} else { |
|
11693 |
} else { |
| 11694 |
|
|
11694 |
|
| 11695 |
} |
|
11695 |
} |
| 11696 |
switch (item) { |
|
11696 |
switch (item) { |
| 11697 |
case 14L: |
|
11697 |
case 14L: |
| 11698 |
case 327681L: |
|
11698 |
case 327681L: |
| 11699 |
case 327680L: |
|
11699 |
case 327680L: |
| 11700 |
case 65537L: |
|
11700 |
case 65537L: |
| 11701 |
case 65536L: |
|
11701 |
case 65536L: |
| 11702 |
case 262159L: |
|
11702 |
case 262159L: |
| 11703 |
case 131119L: |
|
11703 |
case 131119L: |
| 11704 |
case 131121L: |
|
11704 |
case 131121L: |
| 11705 |
case 131118L: |
|
11705 |
case 131118L: |
| 11706 |
case 131120L: |
|
11706 |
case 131120L: |
| 11707 |
case 131116L: |
|
11707 |
case 131116L: |
| 11708 |
case 131115L: |
|
11708 |
case 131115L: |
| 11709 |
case 131114L: |
|
11709 |
case 131114L: |
| 11710 |
case 131113L: |
|
11710 |
case 131113L: |
| 11711 |
case 131112L: |
|
11711 |
case 131112L: |
| 11712 |
case 131111L: |
|
11712 |
case 131111L: |
| 11713 |
case 131110L: |
|
11713 |
case 131110L: |
| 11714 |
case 131109L: |
|
11714 |
case 131109L: |
| 11715 |
case 131108L: |
|
11715 |
case 131108L: |
| 11716 |
case 131107L: |
|
11716 |
case 131107L: |
| 11717 |
case 131106L: |
|
11717 |
case 131106L: |
| 11718 |
case 131105L: |
|
11718 |
case 131105L: |
| 11719 |
case 131104L: |
|
11719 |
case 131104L: |
| 11720 |
case 131103L: |
|
11720 |
case 131103L: |
| 11721 |
case 131102L: |
|
11721 |
case 131102L: |
| 11722 |
case 131101L: |
|
11722 |
case 131101L: |
| 11723 |
case 131100L: |
|
11723 |
case 131100L: |
| 11724 |
case 131099L: |
|
11724 |
case 131099L: |
| 11725 |
case 131098L: |
|
11725 |
case 131098L: |
| 11726 |
case 131097L: |
|
11726 |
case 131097L: |
| 11727 |
case 131096L: |
|
11727 |
case 131096L: |
| 11728 |
case 131095L: |
|
11728 |
case 131095L: |
| 11729 |
case 131094L: |
|
11729 |
case 131094L: |
| 11730 |
case 131093L: |
|
11730 |
case 131093L: |
| 11731 |
case 131092L: |
|
11731 |
case 131092L: |
| 11732 |
case 131091L: |
|
11732 |
case 131091L: |
| 11733 |
case 131090L: |
|
11733 |
case 131090L: |
| 11734 |
case 131089L: |
|
11734 |
case 131089L: |
| 11735 |
case 131088L: |
|
11735 |
case 131088L: |
| 11736 |
case 131087L: |
|
11736 |
case 131087L: |
| 11737 |
case 131086L: |
|
11737 |
case 131086L: |
| 11738 |
case 131085L: |
|
11738 |
case 131085L: |
| 11739 |
case 131084L: |
|
11739 |
case 131084L: |
| 11740 |
case 131083L: |
|
11740 |
case 131083L: |
| 11741 |
case 131082L: |
|
11741 |
case 131082L: |
| 11742 |
case 131081L: |
|
11742 |
case 131081L: |
| 11743 |
case 131080L: |
|
11743 |
case 131080L: |
| 11744 |
case 131079L: |
|
11744 |
case 131079L: |
| 11745 |
case 131078L: |
|
11745 |
case 131078L: |
| 11746 |
case 131077L: |
|
11746 |
case 131077L: |
| 11747 |
case 131076L: |
|
11747 |
case 131076L: |
| 11748 |
case 131075L: |
|
11748 |
case 131075L: |
| 11749 |
case 131074L: |
|
11749 |
case 131074L: |
| 11750 |
case 131073L: |
|
11750 |
case 131073L: |
| 11751 |
case 131072L: |
|
11751 |
case 131072L: |
| 11752 |
break; |
|
11752 |
break; |
| 11753 |
default: |
|
11753 |
default: |
| 11754 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
11754 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 11755 |
"Item \'%ld\' is not valid", item); |
|
11755 |
"Item \'%ld\' is not valid", item); |
| 11756 |
while (1) { |
|
11756 |
while (1) { |
| 11757 |
__z = return_value; |
|
11757 |
__z = return_value; |
| 11758 |
__z->value.lval = 0L; |
|
11758 |
__z->value.lval = 0L; |
| 11759 |
__z->type = (zend_uchar )3; |
|
11759 |
__z->type = (zend_uchar )3; |
| 11760 |
break; |
|
11760 |
break; |
| 11761 |
} |
|
11761 |
} |
| 11762 |
return; |
|
11762 |
return; |
| 11763 |
} |
|
11763 |
} |
| 11764 |
value = nl_langinfo((nl_item )item); |
|
11764 |
value = nl_langinfo((nl_item )item); |
| 11765 |
if ((unsigned int )value == (unsigned int )((void *)0)) { |
|
11765 |
if ((unsigned int )value == (unsigned int )((void *)0)) { |
| 11766 |
while (1) { |
|
11766 |
while (1) { |
| 11767 |
__z___0 = return_value; |
|
11767 |
__z___0 = return_value; |
| 11768 |
__z___0->value.lval = 0L; |
|
11768 |
__z___0->value.lval = 0L; |
| 11769 |
__z___0->type = (zend_uchar )3; |
|
11769 |
__z___0->type = (zend_uchar )3; |
| 11770 |
break; |
|
11770 |
break; |
| 11771 |
} |
|
11771 |
} |
| 11772 |
return; |
|
11772 |
return; |
| 11773 |
} else { |
|
11773 |
} else { |
| 11774 |
while (1) { |
|
11774 |
while (1) { |
| 11775 |
__s = (char const *)value; |
|
11775 |
__s = (char const *)value; |
| 11776 |
__z___1 = return_value; |
|
11776 |
__z___1 = return_value; |
| 11777 |
tmp___0 = strlen(__s); |
|
11777 |
tmp___0 = strlen(__s); |
| 11778 |
__z___1->value.str.len = (int )tmp___0; |
|
11778 |
__z___1->value.str.len = (int )tmp___0; |
| 11779 |
tmp___1 = _estrndup(__s, (unsigned int )__z___1->value.str.len); |
|
11779 |
tmp___1 = _estrndup(__s, (unsigned int )__z___1->value.str.len); |
| 11780 |
__z___1->value.str.val = (char *)tmp___1; |
|
11780 |
__z___1->value.str.val = (char *)tmp___1; |
| 11781 |
__z___1->type = (zend_uchar )6; |
|
11781 |
__z___1->type = (zend_uchar )6; |
| 11782 |
break; |
|
11782 |
break; |
| 11783 |
} |
|
11783 |
} |
| 11784 |
return; |
|
11784 |
return; |
| 11785 |
} |
|
11785 |
} |
| 11786 |
} |
|
11786 |
} |
| 11787 |
} |
|
11787 |
} |
| 11788 |
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , |
|
11788 |
void zif_strcoll(int ht , zval *return_value , zval **return_value_ptr , |
| 11789 |
zval *this_ptr , int return_value_used ) |
|
11789 |
zval *this_ptr , int return_value_used ) |
| 11790 |
{ |
|
11790 |
{ |
| 11791 |
char *s1 ; |
|
11791 |
char *s1 ; |
| 11792 |
char *s2 ; |
|
11792 |
char *s2 ; |
| 11793 |
int s1len ; |
|
11793 |
int s1len ; |
| 11794 |
int s2len ; |
|
11794 |
int s2len ; |
| 11795 |
int __attribute__((__visibility__("default"))) tmp ; |
|
11795 |
int __attribute__((__visibility__("default"))) tmp ; |
| 11796 |
zval *__z ; |
|
11796 |
zval *__z ; |
| 11797 |
int tmp___0 ; |
|
11797 |
int tmp___0 ; |
| 11798 |
|
|
11798 |
|
| 11799 |
{ |
|
11799 |
{ |
| 11800 |
tmp = zend_parse_parameters(ht, "ss", & s1, & s1len, & s2, & s2len); |
|
11800 |
tmp = zend_parse_parameters(ht, "ss", & s1, & s1len, & s2, & s2len); |
| 11801 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
11801 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 11802 |
return; |
|
11802 |
return; |
| 11803 |
} else { |
|
11803 |
} else { |
| 11804 |
|
|
11804 |
|
| 11805 |
} |
|
11805 |
} |
| 11806 |
__z = return_value; |
|
11806 |
__z = return_value; |
| 11807 |
tmp___0 = strcoll((char const *)s1, (char const *)s2); |
|
11807 |
tmp___0 = strcoll((char const *)s1, (char const *)s2); |
| 11808 |
__z->value.lval = (long )tmp___0; |
|
11808 |
__z->value.lval = (long )tmp___0; |
| 11809 |
__z->type = (zend_uchar )1; |
|
11809 |
__z->type = (zend_uchar )1; |
| 11810 |
return; |
|
11810 |
return; |
| 11811 |
} |
|
11811 |
} |
| 11812 |
} |
|
11812 |
} |
| 11813 |
__inline static int php_charmask(unsigned char *input , int len , char *mask ) |
|
11813 |
__inline static int php_charmask(unsigned char *input , int len , char *mask ) |
| 11814 |
{ |
|
11814 |
{ |
| 11815 |
unsigned char *end ; |
|
11815 |
unsigned char *end ; |
| 11816 |
unsigned char c ; |
|
11816 |
unsigned char c ; |
| 11817 |
int result ; |
|
11817 |
int result ; |
| 11818 |
|
|
11818 |
|
| 11819 |
{ |
|
11819 |
{ |
| 11820 |
result = 0; |
|
11820 |
result = 0; |
| 11821 |
memset((void *)mask, 0, (size_t )256); |
|
11821 |
memset((void *)mask, 0, (size_t )256); |
| 11822 |
end = input + len; |
|
11822 |
end = input + len; |
| 11823 |
while ((unsigned int )input < (unsigned int )end) { |
|
11823 |
while ((unsigned int )input < (unsigned int )end) { |
| 11824 |
c = *input; |
|
11824 |
c = *input; |
| 11825 |
if ((unsigned int )(input + 3) < (unsigned int )end) { |
|
11825 |
if ((unsigned int )(input + 3) < (unsigned int )end) { |
| 11826 |
if ((int )*(input + 1) == 46) { |
|
11826 |
if ((int )*(input + 1) == 46) { |
| 11827 |
if ((int )*(input + 2) == 46) { |
|
11827 |
if ((int )*(input + 2) == 46) { |
| 11828 |
if ((int )*(input + 3) >= (int )c) { |
|
11828 |
if ((int )*(input + 3) >= (int )c) { |
| 11829 |
memset((void *)(mask + (int )c), 1, |
|
11829 |
memset((void *)(mask + (int )c), 1, |
| 11830 |
(size_t )(((int )*(input + 3) - (int )c) + 1)); |
|
11830 |
(size_t )(((int )*(input + 3) - (int )c) + 1)); |
| 11831 |
input += 3; |
|
11831 |
input += 3; |
| 11832 |
} else { |
|
11832 |
} else { |
| 11833 |
goto _L___1; |
|
11833 |
goto _L___1; |
| 11834 |
} |
|
11834 |
} |
| 11835 |
} else { |
|
11835 |
} else { |
| 11836 |
goto _L___1; |
|
11836 |
goto _L___1; |
| 11837 |
} |
|
11837 |
} |
| 11838 |
} else { |
|
11838 |
} else { |
| 11839 |
goto _L___1; |
|
11839 |
goto _L___1; |
| 11840 |
} |
|
11840 |
} |
| 11841 |
} else |
|
11841 |
} else |
| 11842 |
_L___1: |
|
11842 |
_L___1: |
| 11843 |
_L___0: |
|
11843 |
_L___0: |
| 11844 |
_L: |
|
11844 |
_L: |
| 11845 |
if ((unsigned int )(input + 1) < (unsigned int )end) { |
|
11845 |
if ((unsigned int )(input + 1) < (unsigned int )end) { |
| 11846 |
if ((int )*(input + 0) == 46) { |
|
11846 |
if ((int )*(input + 0) == 46) { |
| 11847 |
if ((int )*(input + 1) == 46) { |
|
11847 |
if ((int )*(input + 1) == 46) { |
| 11848 |
if ((unsigned int )(end - len) >= (unsigned int )input) { |
|
11848 |
if ((unsigned int )(end - len) >= (unsigned int )input) { |
| 11849 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
11849 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 11850 |
"Invalid \'..\'-range, no character to the left of \'..\'"); |
|
11850 |
"Invalid \'..\'-range, no character to the left of \'..\'"); |
| 11851 |
result = -1; |
|
11851 |
result = -1; |
| 11852 |
goto __Cont; |
|
11852 |
goto __Cont; |
| 11853 |
} else { |
|
11853 |
} else { |
| 11854 |
|
|
11854 |
|
| 11855 |
} |
|
11855 |
} |
| 11856 |
if ((unsigned int )(input + 2) >= (unsigned int )end) { |
|
11856 |
if ((unsigned int )(input + 2) >= (unsigned int )end) { |
| 11857 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
11857 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 11858 |
"Invalid \'..\'-range, no character to the right of \'..\'"); |
|
11858 |
"Invalid \'..\'-range, no character to the right of \'..\'"); |
| 11859 |
result = -1; |
|
11859 |
result = -1; |
| 11860 |
goto __Cont; |
|
11860 |
goto __Cont; |
| 11861 |
} else { |
|
11861 |
} else { |
| 11862 |
|
|
11862 |
|
| 11863 |
} |
|
11863 |
} |
| 11864 |
if ((int )*(input + -1) > (int )*(input + 2)) { |
|
11864 |
if ((int )*(input + -1) > (int )*(input + 2)) { |
| 11865 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
11865 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 11866 |
"Invalid \'..\'-range, \'..\'-range needs to be incrementing"); |
|
11866 |
"Invalid \'..\'-range, \'..\'-range needs to be incrementing"); |
| 11867 |
result = -1; |
|
11867 |
result = -1; |
| 11868 |
goto __Cont; |
|
11868 |
goto __Cont; |
| 11869 |
} else { |
|
11869 |
} else { |
| 11870 |
|
|
11870 |
|
| 11871 |
} |
|
11871 |
} |
| 11872 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
11872 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 11873 |
"Invalid \'..\'-range"); |
|
11873 |
"Invalid \'..\'-range"); |
| 11874 |
result = -1; |
|
11874 |
result = -1; |
| 11875 |
goto __Cont; |
|
11875 |
goto __Cont; |
| 11876 |
} else { |
|
11876 |
} else { |
| 11877 |
*(mask + c) = (char)1; |
|
11877 |
*(mask + c) = (char)1; |
| 11878 |
} |
|
11878 |
} |
| 11879 |
} else { |
|
11879 |
} else { |
| 11880 |
*(mask + c) = (char)1; |
|
11880 |
*(mask + c) = (char)1; |
| 11881 |
} |
|
11881 |
} |
| 11882 |
} else { |
|
11882 |
} else { |
| 11883 |
*(mask + c) = (char)1; |
|
11883 |
*(mask + c) = (char)1; |
| 11884 |
} |
|
11884 |
} |
| 11885 |
__Cont: |
|
11885 |
__Cont: |
| 11886 |
input ++; |
|
11886 |
input ++; |
| 11887 |
} |
|
11887 |
} |
| 11888 |
return (result); |
|
11888 |
return (result); |
| 11889 |
} |
|
11889 |
} |
| 11890 |
} |
|
11890 |
} |
| 11891 |
char __attribute__((__visibility__("default"))) *php_trim(char *c , int len , |
|
11891 |
char __attribute__((__visibility__("default"))) *php_trim(char *c , int len , |
| 11892 |
char *what , |
|
11892 |
char *what , |
| 11893 |
int what_len , |
|
11893 |
int what_len , |
| 11894 |
zval *return_value , |
|
11894 |
zval *return_value , |
| 11895 |
int mode ) |
|
11895 |
int mode ) |
| 11896 |
{ |
|
11896 |
{ |
| 11897 |
register int i ; |
|
11897 |
register int i ; |
| 11898 |
int trimmed ; |
|
11898 |
int trimmed ; |
| 11899 |
char mask[256] ; |
|
11899 |
char mask[256] ; |
| 11900 |
char const *__s ; |
|
11900 |
char const *__s ; |
| 11901 |
int __l ; |
|
11901 |
int __l ; |
| 11902 |
zval *__z ; |
|
11902 |
zval *__z ; |
| 11903 |
char __attribute__((__visibility__("default"))) *tmp ; |
|
11903 |
char __attribute__((__visibility__("default"))) *tmp ; |
| 11904 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
11904 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 11905 |
|
|
11905 |
|
| 11906 |
{ |
|
11906 |
{ |
| 11907 |
trimmed = 0; |
|
11907 |
trimmed = 0; |
| 11908 |
if (what) { |
|
11908 |
if (what) { |
| 11909 |
php_charmask((unsigned char *)what, what_len, mask); |
|
11909 |
php_charmask((unsigned char *)what, what_len, mask); |
| 11910 |
} else { |
|
11910 |
} else { |
| 11911 |
php_charmask((unsigned char *)" \n\r\t\v\000", 6, mask); |
|
11911 |
php_charmask((unsigned char *)" \n\r\t\v\000", 6, mask); |
| 11912 |
} |
|
11912 |
} |
| 11913 |
if (mode & 1) { |
|
11913 |
if (mode & 1) { |
| 11914 |
i = 0; |
|
11914 |
i = 0; |
| 11915 |
while (i < len) { |
|
11915 |
while (i < len) { |
| 11916 |
if (mask[(unsigned char )*(c + i)]) { |
|
11916 |
if (mask[(unsigned char )*(c + i)]) { |
| 11917 |
trimmed ++; |
|
11917 |
trimmed ++; |
| 11918 |
} else { |
|
11918 |
} else { |
| 11919 |
break; |
|
11919 |
break; |
| 11920 |
} |
|
11920 |
} |
| 11921 |
i ++; |
|
11921 |
i ++; |
| 11922 |
} |
|
11922 |
} |
| 11923 |
len -= trimmed; |
|
11923 |
len -= trimmed; |
| 11924 |
c += trimmed; |
|
11924 |
c += trimmed; |
| 11925 |
} else { |
|
11925 |
} else { |
| 11926 |
|
|
11926 |
|
| 11927 |
} |
|
11927 |
} |
| 11928 |
if (mode & 2) { |
|
11928 |
if (mode & 2) { |
| 11929 |
i = len - 1; |
|
11929 |
i = len - 1; |
| 11930 |
while (i >= 0) { |
|
11930 |
while (i >= 0) { |
| 11931 |
if (mask[(unsigned char )*(c + i)]) { |
|
11931 |
if (mask[(unsigned char )*(c + i)]) { |
| 11932 |
len --; |
|
11932 |
len --; |
| 11933 |
} else { |
|
11933 |
} else { |
| 11934 |
break; |
|
11934 |
break; |
| 11935 |
} |
|
11935 |
} |
| 11936 |
i --; |
|
11936 |
i --; |
| 11937 |
} |
|
11937 |
} |
| 11938 |
} else { |
|
11938 |
} else { |
| 11939 |
|
|
11939 |
|
| 11940 |
} |
|
11940 |
} |
| 11941 |
if (return_value) { |
|
11941 |
if (return_value) { |
| 11942 |
while (1) { |
|
11942 |
while (1) { |
| 11943 |
__s = (char const *)c; |
|
11943 |
__s = (char const *)c; |
| 11944 |
__l = len; |
|
11944 |
__l = len; |
| 11945 |
__z = return_value; |
|
11945 |
__z = return_value; |
| 11946 |
__z->value.str.len = __l; |
|
11946 |
__z->value.str.len = __l; |
| 11947 |
tmp = _estrndup(__s, (unsigned int )__l); |
|
11947 |
tmp = _estrndup(__s, (unsigned int )__l); |
| 11948 |
__z->value.str.val = (char *)tmp; |
|
11948 |
__z->value.str.val = (char *)tmp; |
| 11949 |
__z->type = (zend_uchar )6; |
|
11949 |
__z->type = (zend_uchar )6; |
| 11950 |
break; |
|
11950 |
break; |
| 11951 |
} |
|
11951 |
} |
| 11952 |
} else { |
|
11952 |
} else { |
| 11953 |
tmp___0 = _estrndup((char const *)c, (unsigned int )len); |
|
11953 |
tmp___0 = _estrndup((char const *)c, (unsigned int )len); |
| 11954 |
return (tmp___0); |
|
11954 |
return (tmp___0); |
| 11955 |
} |
|
11955 |
} |
| 11956 |
return ((char __attribute__((__visibility__("default"))) *)""); |
|
11956 |
return ((char __attribute__((__visibility__("default"))) *)""); |
| 11957 |
} |
|
11957 |
} |
| 11958 |
} |
|
11958 |
} |
| 11959 |
static void php_do_trim(int ht , zval *return_value , zval **return_value_ptr , |
|
11959 |
static void php_do_trim(int ht , zval *return_value , zval **return_value_ptr , |
| 11960 |
zval *this_ptr , int return_value_used , int mode ) |
|
11960 |
zval *this_ptr , int return_value_used , int mode ) |
| 11961 |
{ |
|
11961 |
{ |
| 11962 |
char *str ; |
|
11962 |
char *str ; |
| 11963 |
char *what ; |
|
11963 |
char *what ; |
| 11964 |
int str_len ; |
|
11964 |
int str_len ; |
| 11965 |
int what_len ; |
|
11965 |
int what_len ; |
| 11966 |
int __attribute__((__visibility__("default"))) tmp ; |
|
11966 |
int __attribute__((__visibility__("default"))) tmp ; |
| 11967 |
|
|
11967 |
|
| 11968 |
{ |
|
11968 |
{ |
| 11969 |
what = (char *)((void *)0); |
|
11969 |
what = (char *)((void *)0); |
| 11970 |
what_len = 0; |
|
11970 |
what_len = 0; |
| |
|
-+ |
11971 |
{ |
| 11971 |
tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & what, & what_len); |
= |
11972 |
tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & what, & what_len); |
| |
|
-+ |
11973 |
if (what_len < 0) { |
| |
|
|
11974 |
return; |
| |
|
|
11975 |
} |
| |
|
|
11976 |
if (str_len < 0) { |
| |
|
|
11977 |
return; |
| |
|
|
11978 |
} |
| |
|
|
11979 |
} |
| 11972 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
11980 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 11973 |
return; |
|
11981 |
return; |
| 11974 |
} else { |
|
11982 |
} else { |
| 11975 |
|
|
11983 |
|
| 11976 |
} |
|
11984 |
} |
| 11977 |
php_trim(str, str_len, what, what_len, return_value, mode); |
|
11985 |
php_trim(str, str_len, what, what_len, return_value, mode); |
| 11978 |
return; |
|
11986 |
return; |
| 11979 |
} |
|
11987 |
} |
| 11980 |
} |
|
11988 |
} |
| 11981 |
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , |
|
11989 |
void zif_trim(int ht , zval *return_value , zval **return_value_ptr , |
| 11982 |
zval *this_ptr , int return_value_used ) |
|
11990 |
zval *this_ptr , int return_value_used ) |
| 11983 |
{ |
|
11991 |
{ |
| 11984 |
|
|
11992 |
|
| 11985 |
|
|
11993 |
|
| 11986 |
{ |
|
11994 |
{ |
| 11987 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 3); |
|
11995 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 3); |
| 11988 |
return; |
|
11996 |
return; |
| 11989 |
} |
|
11997 |
} |
| 11990 |
} |
|
11998 |
} |
| 11991 |
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , |
|
11999 |
void zif_rtrim(int ht , zval *return_value , zval **return_value_ptr , |
| 11992 |
zval *this_ptr , int return_value_used ) |
|
12000 |
zval *this_ptr , int return_value_used ) |
| 11993 |
{ |
|
12001 |
{ |
| 11994 |
|
|
12002 |
|
| 11995 |
|
|
12003 |
|
| 11996 |
{ |
|
12004 |
{ |
| 11997 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 2); |
|
12005 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 2); |
| 11998 |
return; |
|
12006 |
return; |
| 11999 |
} |
|
12007 |
} |
| 12000 |
} |
|
12008 |
} |
| 12001 |
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , |
|
12009 |
void zif_ltrim(int ht , zval *return_value , zval **return_value_ptr , |
| 12002 |
zval *this_ptr , int return_value_used ) |
|
12010 |
zval *this_ptr , int return_value_used ) |
| 12003 |
{ |
|
12011 |
{ |
| 12004 |
|
|
12012 |
|
| 12005 |
|
|
12013 |
|
| 12006 |
{ |
|
12014 |
{ |
| 12007 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1); |
|
12015 |
php_do_trim(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1); |
| 12008 |
return; |
|
12016 |
return; |
| 12009 |
} |
|
12017 |
} |
| 12010 |
} |
|
12018 |
} |
| 12011 |
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , |
|
12019 |
void zif_wordwrap(int ht , zval *return_value , zval **return_value_ptr , |
| 12012 |
zval *this_ptr , int return_value_used ) |
|
12020 |
zval *this_ptr , int return_value_used ) |
| 12013 |
{ |
|
12021 |
{ |
| 12014 |
char const *text ; |
|
12022 |
char const *text ; |
| 12015 |
char const *breakchar ; |
|
12023 |
char const *breakchar ; |
| 12016 |
char *newtext ; |
|
12024 |
char *newtext ; |
| 12017 |
int textlen ; |
|
12025 |
int textlen ; |
| 12018 |
int breakcharlen ; |
|
12026 |
int breakcharlen ; |
| 12019 |
int newtextlen ; |
|
12027 |
int newtextlen ; |
| 12020 |
int chk ; |
|
12028 |
int chk ; |
| 12021 |
size_t alloced ; |
|
12029 |
size_t alloced ; |
| 12022 |
long current ; |
|
12030 |
long current ; |
| 12023 |
long laststart ; |
|
12031 |
long laststart ; |
| 12024 |
long lastspace ; |
|
12032 |
long lastspace ; |
| 12025 |
long linelength ; |
|
12033 |
long linelength ; |
| 12026 |
zend_bool docut ; |
|
12034 |
zend_bool docut ; |
| 12027 |
int __attribute__((__visibility__("default"))) tmp ; |
|
12035 |
int __attribute__((__visibility__("default"))) tmp ; |
| 12028 |
zval *__z ; |
|
12036 |
zval *__z ; |
| 12029 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
12037 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 12030 |
zval *__z___0 ; |
|
12038 |
zval *__z___0 ; |
| 12031 |
zval *__z___1 ; |
|
12039 |
zval *__z___1 ; |
| 12032 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
12040 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 12033 |
char const *__s ; |
|
12041 |
char const *__s ; |
| 12034 |
int __l ; |
|
12042 |
int __l ; |
| 12035 |
zval *__z___2 ; |
|
12043 |
zval *__z___2 ; |
| 12036 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
12044 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 12037 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
12045 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 12038 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
|
12046 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
| 12039 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
|
12047 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
| 12040 |
size_t tmp___6 ; |
|
12048 |
size_t tmp___6 ; |
| 12041 |
size_t tmp___7 ; |
|
12049 |
size_t tmp___7 ; |
| 12042 |
size_t __s1_len ; |
|
12050 |
size_t __s1_len ; |
| 12043 |
size_t __s2_len ; |
|
12051 |
size_t __s2_len ; |
| 12044 |
int tmp___8 ; |
|
12052 |
int tmp___8 ; |
| 12045 |
int tmp___9 ; |
|
12053 |
int tmp___9 ; |
| 12046 |
int tmp___10 ; |
|
12054 |
int tmp___10 ; |
| 12047 |
unsigned char const *__s2 ; |
|
12055 |
unsigned char const *__s2 ; |
| 12048 |
register int __result ; |
|
12056 |
register int __result ; |
| 12049 |
int tmp___11 ; |
|
12057 |
int tmp___11 ; |
| 12050 |
unsigned char const *__s1 ; |
|
12058 |
unsigned char const *__s1 ; |
| 12051 |
register int __result___0 ; |
|
12059 |
register int __result___0 ; |
| 12052 |
int tmp___12 ; |
|
12060 |
int tmp___12 ; |
| 12053 |
int tmp___13 ; |
|
12061 |
int tmp___13 ; |
| 12054 |
int tmp___14 ; |
|
12062 |
int tmp___14 ; |
| 12055 |
int tmp___15 ; |
|
12063 |
int tmp___15 ; |
| 12056 |
int tmp___16 ; |
|
12064 |
int tmp___16 ; |
| 12057 |
size_t tmp___17 ; |
|
12065 |
size_t tmp___17 ; |
| 12058 |
size_t tmp___18 ; |
|
12066 |
size_t tmp___18 ; |
| 12059 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
|
12067 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
| 12060 |
char const *__s___0 ; |
|
12068 |
char const *__s___0 ; |
| 12061 |
int __l___0 ; |
|
12069 |
int __l___0 ; |
| 12062 |
zval *__z___3 ; |
|
12070 |
zval *__z___3 ; |
| 12063 |
char __attribute__((__visibility__("default"))) *tmp___20 ; |
|
12071 |
char __attribute__((__visibility__("default"))) *tmp___20 ; |
| 12064 |
|
|
12072 |
|
| 12065 |
{ |
|
12073 |
{ |
| 12066 |
breakchar = "\n"; |
|
12074 |
breakchar = "\n"; |
| 12067 |
breakcharlen = 1; |
|
12075 |
breakcharlen = 1; |
| 12068 |
current = 0L; |
|
12076 |
current = 0L; |
| 12069 |
laststart = 0L; |
|
12077 |
laststart = 0L; |
| 12070 |
lastspace = 0L; |
|
12078 |
lastspace = 0L; |
| 12071 |
linelength = 75L; |
|
12079 |
linelength = 75L; |
| 12072 |
docut = (zend_bool )0; |
|
12080 |
docut = (zend_bool )0; |
| 12073 |
tmp = zend_parse_parameters(ht, "s|lsb", & text, & textlen, & linelength, |
|
12081 |
tmp = zend_parse_parameters(ht, "s|lsb", & text, & textlen, & linelength, |
| 12074 |
& breakchar, & breakcharlen, & docut); |
|
12082 |
& breakchar, & breakcharlen, & docut); |
| 12075 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
12083 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 12076 |
return; |
|
12084 |
return; |
| 12077 |
} else { |
|
12085 |
} else { |
| 12078 |
|
|
12086 |
|
| 12079 |
} |
|
12087 |
} |
| 12080 |
if (textlen == 0) { |
|
12088 |
if (textlen == 0) { |
| 12081 |
while (1) { |
|
12089 |
while (1) { |
| 12082 |
__z = return_value; |
|
12090 |
__z = return_value; |
| 12083 |
__z->value.str.len = 0; |
|
12091 |
__z->value.str.len = 0; |
| 12084 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
12092 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 12085 |
__z->value.str.val = (char *)tmp___0; |
|
12093 |
__z->value.str.val = (char *)tmp___0; |
| 12086 |
__z->type = (zend_uchar )6; |
|
12094 |
__z->type = (zend_uchar )6; |
| 12087 |
break; |
|
12095 |
break; |
| 12088 |
} |
|
12096 |
} |
| 12089 |
return; |
|
12097 |
return; |
| 12090 |
} else { |
|
12098 |
} else { |
| 12091 |
|
|
12099 |
|
| 12092 |
} |
|
12100 |
} |
| 12093 |
if (breakcharlen == 0) { |
|
12101 |
if (breakcharlen == 0) { |
| 12094 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
12102 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 12095 |
"Break string cannot be empty"); |
|
12103 |
"Break string cannot be empty"); |
| 12096 |
while (1) { |
|
12104 |
while (1) { |
| 12097 |
__z___0 = return_value; |
|
12105 |
__z___0 = return_value; |
| 12098 |
__z___0->value.lval = 0L; |
|
12106 |
__z___0->value.lval = 0L; |
| 12099 |
__z___0->type = (zend_uchar )3; |
|
12107 |
__z___0->type = (zend_uchar )3; |
| 12100 |
break; |
|
12108 |
break; |
| 12101 |
} |
|
12109 |
} |
| 12102 |
return; |
|
12110 |
return; |
| 12103 |
} else { |
|
12111 |
} else { |
| 12104 |
|
|
12112 |
|
| 12105 |
} |
|
12113 |
} |
| 12106 |
if (linelength == 0L) { |
|
12114 |
if (linelength == 0L) { |
| 12107 |
if (docut) { |
|
12115 |
if (docut) { |
| 12108 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
12116 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 12109 |
"Can\'t force cut when width is zero"); |
|
12117 |
"Can\'t force cut when width is zero"); |
| 12110 |
while (1) { |
|
12118 |
while (1) { |
| 12111 |
__z___1 = return_value; |
|
12119 |
__z___1 = return_value; |
| 12112 |
__z___1->value.lval = 0L; |
|
12120 |
__z___1->value.lval = 0L; |
| 12113 |
__z___1->type = (zend_uchar )3; |
|
12121 |
__z___1->type = (zend_uchar )3; |
| 12114 |
break; |
|
12122 |
break; |
| 12115 |
} |
|
12123 |
} |
| 12116 |
return; |
|
12124 |
return; |
| 12117 |
} else { |
|
12125 |
} else { |
| 12118 |
|
|
12126 |
|
| 12119 |
} |
|
12127 |
} |
| 12120 |
} else { |
|
12128 |
} else { |
| 12121 |
|
|
12129 |
|
| 12122 |
} |
|
12130 |
} |
| 12123 |
if (breakcharlen == 1) { |
|
12131 |
if (breakcharlen == 1) { |
| 12124 |
if (! docut) { |
|
12132 |
if (! docut) { |
| 12125 |
tmp___1 = _estrndup(text, (unsigned int )textlen); |
|
12133 |
tmp___1 = _estrndup(text, (unsigned int )textlen); |
| 12126 |
newtext = (char *)tmp___1; |
|
12134 |
newtext = (char *)tmp___1; |
| 12127 |
lastspace = 0L; |
|
12135 |
lastspace = 0L; |
| 12128 |
laststart = lastspace; |
|
12136 |
laststart = lastspace; |
| 12129 |
current = 0L; |
|
12137 |
current = 0L; |
| 12130 |
while (current < (long )textlen) { |
|
12138 |
while (current < (long )textlen) { |
| 12131 |
if ((int const )*(text + current) == (int const )*(breakchar + 0)) { |
|
12139 |
if ((int const )*(text + current) == (int const )*(breakchar + 0)) { |
| 12132 |
lastspace = current + 1L; |
|
12140 |
lastspace = current + 1L; |
| 12133 |
laststart = lastspace; |
|
12141 |
laststart = lastspace; |
| 12134 |
} else |
|
12142 |
} else |
| 12135 |
if ((int const )*(text + current) == 32) { |
|
12143 |
if ((int const )*(text + current) == 32) { |
| 12136 |
if (current - laststart >= linelength) { |
|
12144 |
if (current - laststart >= linelength) { |
| 12137 |
*(newtext + current) = (char )*(breakchar + 0); |
|
12145 |
*(newtext + current) = (char )*(breakchar + 0); |
| 12138 |
laststart = current + 1L; |
|
12146 |
laststart = current + 1L; |
| 12139 |
} else { |
|
12147 |
} else { |
| 12140 |
|
|
12148 |
|
| 12141 |
} |
|
12149 |
} |
| 12142 |
lastspace = current; |
|
12150 |
lastspace = current; |
| 12143 |
} else |
|
12151 |
} else |
| 12144 |
if (current - laststart >= linelength) { |
|
12152 |
if (current - laststart >= linelength) { |
| 12145 |
if (laststart != lastspace) { |
|
12153 |
if (laststart != lastspace) { |
| 12146 |
*(newtext + lastspace) = (char )*(breakchar + 0); |
|
12154 |
*(newtext + lastspace) = (char )*(breakchar + 0); |
| 12147 |
laststart = lastspace + 1L; |
|
12155 |
laststart = lastspace + 1L; |
| 12148 |
} else { |
|
12156 |
} else { |
| 12149 |
|
|
12157 |
|
| 12150 |
} |
|
12158 |
} |
| 12151 |
} else { |
|
12159 |
} else { |
| 12152 |
|
|
12160 |
|
| 12153 |
} |
|
12161 |
} |
| 12154 |
current ++; |
|
12162 |
current ++; |
| 12155 |
} |
|
12163 |
} |
| 12156 |
while (1) { |
|
12164 |
while (1) { |
| 12157 |
__s = (char const *)newtext; |
|
12165 |
__s = (char const *)newtext; |
| 12158 |
__l = textlen; |
|
12166 |
__l = textlen; |
| 12159 |
__z___2 = return_value; |
|
12167 |
__z___2 = return_value; |
| 12160 |
__z___2->value.str.len = __l; |
|
12168 |
__z___2->value.str.len = __l; |
| 12161 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
12169 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 12162 |
__z___2->type = (zend_uchar )6; |
|
12170 |
__z___2->type = (zend_uchar )6; |
| 12163 |
break; |
|
12171 |
break; |
| 12164 |
} |
|
12172 |
} |
| 12165 |
return; |
|
12173 |
return; |
| 12166 |
} else { |
|
12174 |
} else { |
| 12167 |
goto _L___5; |
|
12175 |
goto _L___5; |
| 12168 |
} |
|
12176 |
} |
| 12169 |
} else { |
|
12177 |
} else { |
| 12170 |
_L___5: |
|
12178 |
_L___5: |
| 12171 |
if (linelength > 0L) { |
|
12179 |
if (linelength > 0L) { |
| 12172 |
chk = (int )((long )textlen / linelength + 1L); |
|
12180 |
chk = (int )((long )textlen / linelength + 1L); |
| 12173 |
tmp___3 = _safe_emalloc((size_t )chk, (size_t )breakcharlen, |
|
12181 |
tmp___3 = _safe_emalloc((size_t )chk, (size_t )breakcharlen, |
| 12174 |
(size_t )(textlen + 1)); |
|
12182 |
(size_t )(textlen + 1)); |
| 12175 |
newtext = (char *)tmp___3; |
|
12183 |
newtext = (char *)tmp___3; |
| 12176 |
alloced = (size_t )((textlen + chk * breakcharlen) + 1); |
|
12184 |
alloced = (size_t )((textlen + chk * breakcharlen) + 1); |
| 12177 |
} else { |
|
12185 |
} else { |
| 12178 |
chk = textlen; |
|
12186 |
chk = textlen; |
| 12179 |
alloced = (size_t )(textlen * (breakcharlen + 1) + 1); |
|
12187 |
alloced = (size_t )(textlen * (breakcharlen + 1) + 1); |
| 12180 |
tmp___4 = _safe_emalloc((size_t )textlen, (size_t )(breakcharlen + 1), |
|
12188 |
tmp___4 = _safe_emalloc((size_t )textlen, (size_t )(breakcharlen + 1), |
| 12181 |
(size_t )1); |
|
12189 |
(size_t )1); |
| 12182 |
newtext = (char *)tmp___4; |
|
12190 |
newtext = (char *)tmp___4; |
| 12183 |
} |
|
12191 |
} |
| 12184 |
newtextlen = 0; |
|
12192 |
newtextlen = 0; |
| 12185 |
lastspace = 0L; |
|
12193 |
lastspace = 0L; |
| 12186 |
laststart = lastspace; |
|
12194 |
laststart = lastspace; |
| 12187 |
current = 0L; |
|
12195 |
current = 0L; |
| 12188 |
while (current < (long )textlen) { |
|
12196 |
while (current < (long )textlen) { |
| 12189 |
if (chk <= 0) { |
|
12197 |
if (chk <= 0) { |
| 12190 |
alloced += (size_t )((int )(((((long )textlen - current) + 1L) / linelength + 1L) * (long )breakcharlen) + 1); |
|
12198 |
alloced += (size_t )((int )(((((long )textlen - current) + 1L) / linelength + 1L) * (long )breakcharlen) + 1); |
| 12191 |
tmp___5 = _erealloc((void *)newtext, alloced, 0); |
|
12199 |
tmp___5 = _erealloc((void *)newtext, alloced, 0); |
| 12192 |
newtext = (char *)tmp___5; |
|
12200 |
newtext = (char *)tmp___5; |
| 12193 |
chk = (int )(((long )textlen - current) / linelength) + 1; |
|
12201 |
chk = (int )(((long )textlen - current) / linelength) + 1; |
| 12194 |
} else { |
|
12202 |
} else { |
| 12195 |
|
|
12203 |
|
| 12196 |
} |
|
12204 |
} |
| 12197 |
if ((int const )*(text + current) == (int const )*(breakchar + 0)) { |
|
12205 |
if ((int const )*(text + current) == (int const )*(breakchar + 0)) { |
| 12198 |
if (current + (long )breakcharlen < (long )textlen) { |
|
12206 |
if (current + (long )breakcharlen < (long )textlen) { |
| 12199 |
if (0) { |
|
12207 |
if (0) { |
| 12200 |
if (0) { |
|
12208 |
if (0) { |
| 12201 |
__s1_len = strlen(text + current); |
|
12209 |
__s1_len = strlen(text + current); |
| 12202 |
__s2_len = strlen(breakchar); |
|
12210 |
__s2_len = strlen(breakchar); |
| 12203 |
if (! ((size_t )((void const *)((text + current) + 1)) - (size_t )((void const *)(text + current)) == 1U)) { |
|
12211 |
if (! ((size_t )((void const *)((text + current) + 1)) - (size_t )((void const *)(text + current)) == 1U)) { |
| 12204 |
goto _L___2; |
|
12212 |
goto _L___2; |
| 12205 |
} else |
|
12213 |
} else |
| 12206 |
if (__s1_len >= 4U) { |
|
12214 |
if (__s1_len >= 4U) { |
| 12207 |
_L___2: |
|
12215 |
_L___2: |
| 12208 |
if (! ((size_t )((void const *)(breakchar + 1)) - (size_t )((void const *)breakchar) == 1U)) { |
|
12216 |
if (! ((size_t )((void const *)(breakchar + 1)) - (size_t )((void const *)breakchar) == 1U)) { |
| 12209 |
tmp___14 = 1; |
|
12217 |
tmp___14 = 1; |
| 12210 |
} else |
|
12218 |
} else |
| 12211 |
if (__s2_len >= 4U) { |
|
12219 |
if (__s2_len >= 4U) { |
| 12212 |
tmp___14 = 1; |
|
12220 |
tmp___14 = 1; |
| 12213 |
} else { |
|
12221 |
} else { |
| 12214 |
tmp___14 = 0; |
|
12222 |
tmp___14 = 0; |
| 12215 |
} |
|
12223 |
} |
| 12216 |
} else { |
|
12224 |
} else { |
| 12217 |
tmp___14 = 0; |
|
12225 |
tmp___14 = 0; |
| 12218 |
} |
|
12226 |
} |
| 12219 |
if (tmp___14) { |
|
12227 |
if (tmp___14) { |
| 12220 |
tmp___9 = __builtin_strcmp(text + current, breakchar); |
|
12228 |
tmp___9 = __builtin_strcmp(text + current, breakchar); |
| 12221 |
tmp___13 = tmp___9; |
|
12229 |
tmp___13 = tmp___9; |
| 12222 |
} else { |
|
12230 |
} else { |
| 12223 |
tmp___12 = __builtin_strcmp(text + current, breakchar); |
|
12231 |
tmp___12 = __builtin_strcmp(text + current, breakchar); |
| 12224 |
tmp___13 = tmp___12; |
|
12232 |
tmp___13 = tmp___12; |
| 12225 |
} |
|
12233 |
} |
| 12226 |
} else { |
|
12234 |
} else { |
| 12227 |
tmp___12 = __builtin_strcmp(text + current, breakchar); |
|
12235 |
tmp___12 = __builtin_strcmp(text + current, breakchar); |
| 12228 |
tmp___13 = tmp___12; |
|
12236 |
tmp___13 = tmp___12; |
| 12229 |
} |
|
12237 |
} |
| 12230 |
tmp___16 = tmp___13; |
|
12238 |
tmp___16 = tmp___13; |
| 12231 |
} else { |
|
12239 |
} else { |
| 12232 |
tmp___15 = strncmp(text + current, breakchar, (size_t )breakcharlen); |
|
12240 |
tmp___15 = strncmp(text + current, breakchar, (size_t )breakcharlen); |
| 12233 |
tmp___16 = tmp___15; |
|
12241 |
tmp___16 = tmp___15; |
| 12234 |
} |
|
12242 |
} |
| 12235 |
if (tmp___16) { |
|
12243 |
if (tmp___16) { |
| 12236 |
goto _L___4; |
|
12244 |
goto _L___4; |
| 12237 |
} else { |
|
12245 |
} else { |
| 12238 |
memcpy((void *)(newtext + newtextlen), |
|
12246 |
memcpy((void *)(newtext + newtextlen), |
| 12239 |
(void const *)(text + laststart), |
|
12247 |
(void const *)(text + laststart), |
| 12240 |
(size_t )((current - laststart) + (long )breakcharlen)); |
|
12248 |
(size_t )((current - laststart) + (long )breakcharlen)); |
| 12241 |
newtextlen = (int )((long )newtextlen + ((current - laststart) + (long )breakcharlen)); |
|
12249 |
newtextlen = (int )((long )newtextlen + ((current - laststart) + (long )breakcharlen)); |
| 12242 |
current += (long )(breakcharlen - 1); |
|
12250 |
current += (long )(breakcharlen - 1); |
| 12243 |
lastspace = current + 1L; |
|
12251 |
lastspace = current + 1L; |
| 12244 |
laststart = lastspace; |
|
12252 |
laststart = lastspace; |
| 12245 |
chk --; |
|
12253 |
chk --; |
| 12246 |
} |
|
12254 |
} |
| 12247 |
} else { |
|
12255 |
} else { |
| 12248 |
goto _L___4; |
|
12256 |
goto _L___4; |
| 12249 |
} |
|
12257 |
} |
| 12250 |
} else |
|
12258 |
} else |
| 12251 |
_L___4: |
|
12259 |
_L___4: |
| 12252 |
_L___3: |
|
12260 |
_L___3: |
| 12253 |
if ((int const )*(text + current) == 32) { |
|
12261 |
if ((int const )*(text + current) == 32) { |
| 12254 |
if (current - laststart >= linelength) { |
|
12262 |
if (current - laststart >= linelength) { |
| 12255 |
memcpy((void *)(newtext + newtextlen), |
|
12263 |
memcpy((void *)(newtext + newtextlen), |
| 12256 |
(void const *)(text + laststart), |
|
12264 |
(void const *)(text + laststart), |
| 12257 |
(size_t )(current - laststart)); |
|
12265 |
(size_t )(current - laststart)); |
| 12258 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
|
12266 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
| 12259 |
memcpy((void *)(newtext + newtextlen), |
|
12267 |
memcpy((void *)(newtext + newtextlen), |
| 12260 |
(void const *)breakchar, |
|
12268 |
(void const *)breakchar, |
| 12261 |
(size_t )breakcharlen); |
|
12269 |
(size_t )breakcharlen); |
| 12262 |
newtextlen += breakcharlen; |
|
12270 |
newtextlen += breakcharlen; |
| 12263 |
laststart = current + 1L; |
|
12271 |
laststart = current + 1L; |
| 12264 |
chk --; |
|
12272 |
chk --; |
| 12265 |
} else { |
|
12273 |
} else { |
| 12266 |
|
|
12274 |
|
| 12267 |
} |
|
12275 |
} |
| 12268 |
lastspace = current; |
|
12276 |
lastspace = current; |
| 12269 |
} else |
|
12277 |
} else |
| 12270 |
if (current - laststart >= linelength) { |
|
12278 |
if (current - laststart >= linelength) { |
| 12271 |
if (docut) { |
|
12279 |
if (docut) { |
| 12272 |
if (laststart >= lastspace) { |
|
12280 |
if (laststart >= lastspace) { |
| 12273 |
memcpy((void *)(newtext + newtextlen), |
|
12281 |
memcpy((void *)(newtext + newtextlen), |
| 12274 |
(void const *)(text + laststart), |
|
12282 |
(void const *)(text + laststart), |
| 12275 |
(size_t )(current - laststart)); |
|
12283 |
(size_t )(current - laststart)); |
| 12276 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
|
12284 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
| 12277 |
memcpy((void *)(newtext + newtextlen), |
|
12285 |
memcpy((void *)(newtext + newtextlen), |
| 12278 |
(void const *)breakchar, |
|
12286 |
(void const *)breakchar, |
| 12279 |
(size_t )breakcharlen); |
|
12287 |
(size_t )breakcharlen); |
| 12280 |
newtextlen += breakcharlen; |
|
12288 |
newtextlen += breakcharlen; |
| 12281 |
lastspace = current; |
|
12289 |
lastspace = current; |
| 12282 |
laststart = lastspace; |
|
12290 |
laststart = lastspace; |
| 12283 |
chk --; |
|
12291 |
chk --; |
| 12284 |
} else { |
|
12292 |
} else { |
| 12285 |
goto _L___0; |
|
12293 |
goto _L___0; |
| 12286 |
} |
|
12294 |
} |
| 12287 |
} else { |
|
12295 |
} else { |
| 12288 |
goto _L___0; |
|
12296 |
goto _L___0; |
| 12289 |
} |
|
12297 |
} |
| 12290 |
} else |
|
12298 |
} else |
| 12291 |
_L___0: |
|
12299 |
_L___0: |
| 12292 |
_L: |
|
12300 |
_L: |
| 12293 |
if (current - laststart >= linelength) { |
|
12301 |
if (current - laststart >= linelength) { |
| 12294 |
if (laststart < lastspace) { |
|
12302 |
if (laststart < lastspace) { |
| 12295 |
memcpy((void *)(newtext + newtextlen), |
|
12303 |
memcpy((void *)(newtext + newtextlen), |
| 12296 |
(void const *)(text + laststart), |
|
12304 |
(void const *)(text + laststart), |
| 12297 |
(size_t )(lastspace - laststart)); |
|
12305 |
(size_t )(lastspace - laststart)); |
| 12298 |
newtextlen = (int )((long )newtextlen + (lastspace - laststart)); |
|
12306 |
newtextlen = (int )((long )newtextlen + (lastspace - laststart)); |
| 12299 |
memcpy((void *)(newtext + newtextlen), |
|
12307 |
memcpy((void *)(newtext + newtextlen), |
| 12300 |
(void const *)breakchar, |
|
12308 |
(void const *)breakchar, |
| 12301 |
(size_t )breakcharlen); |
|
12309 |
(size_t )breakcharlen); |
| 12302 |
newtextlen += breakcharlen; |
|
12310 |
newtextlen += breakcharlen; |
| 12303 |
lastspace ++; |
|
12311 |
lastspace ++; |
| 12304 |
laststart = lastspace; |
|
12312 |
laststart = lastspace; |
| 12305 |
chk --; |
|
12313 |
chk --; |
| 12306 |
} else { |
|
12314 |
} else { |
| 12307 |
|
|
12315 |
|
| 12308 |
} |
|
12316 |
} |
| 12309 |
} else { |
|
12317 |
} else { |
| 12310 |
|
|
12318 |
|
| 12311 |
} |
|
12319 |
} |
| 12312 |
current ++; |
|
12320 |
current ++; |
| 12313 |
} |
|
12321 |
} |
| 12314 |
if (laststart != current) { |
|
12322 |
if (laststart != current) { |
| 12315 |
memcpy((void *)(newtext + newtextlen), |
|
12323 |
memcpy((void *)(newtext + newtextlen), |
| 12316 |
(void const *)(text + laststart), |
|
12324 |
(void const *)(text + laststart), |
| 12317 |
(size_t )(current - laststart)); |
|
12325 |
(size_t )(current - laststart)); |
| 12318 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
|
12326 |
newtextlen = (int )((long )newtextlen + (current - laststart)); |
| 12319 |
} else { |
|
12327 |
} else { |
| 12320 |
|
|
12328 |
|
| 12321 |
} |
|
12329 |
} |
| 12322 |
*(newtext + newtextlen) = (char )'\000'; |
|
12330 |
*(newtext + newtextlen) = (char )'\000'; |
| 12323 |
tmp___19 = _erealloc((void *)newtext, (size_t )(newtextlen + 1), 0); |
|
12331 |
tmp___19 = _erealloc((void *)newtext, (size_t )(newtextlen + 1), 0); |
| 12324 |
newtext = (char *)tmp___19; |
|
12332 |
newtext = (char *)tmp___19; |
| 12325 |
while (1) { |
|
12333 |
while (1) { |
| 12326 |
__s___0 = (char const *)newtext; |
|
12334 |
__s___0 = (char const *)newtext; |
| 12327 |
__l___0 = newtextlen; |
|
12335 |
__l___0 = newtextlen; |
| 12328 |
__z___3 = return_value; |
|
12336 |
__z___3 = return_value; |
| 12329 |
__z___3->value.str.len = __l___0; |
|
12337 |
__z___3->value.str.len = __l___0; |
| 12330 |
__z___3->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
12338 |
__z___3->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 12331 |
__z___3->type = (zend_uchar )6; |
|
12339 |
__z___3->type = (zend_uchar )6; |
| 12332 |
break; |
|
12340 |
break; |
| 12333 |
} |
|
12341 |
} |
| 12334 |
return; |
|
12342 |
return; |
| 12335 |
} |
|
12343 |
} |
| 12336 |
} |
|
12344 |
} |
| 12337 |
} |
|
12345 |
} |
| 12338 |
void __attribute__((__visibility__("default"))) php_explode(zval *delim , |
|
12346 |
void __attribute__((__visibility__("default"))) php_explode(zval *delim , |
| 12339 |
zval *str , |
|
12347 |
zval *str , |
| 12340 |
zval *return_value , |
|
12348 |
zval *return_value , |
| 12341 |
long limit ) |
|
12349 |
long limit ) |
| 12342 |
{ |
|
12350 |
{ |
| 12343 |
char *p1 ; |
|
12351 |
char *p1 ; |
| 12344 |
char *p2 ; |
|
12352 |
char *p2 ; |
| 12345 |
char *endp ; |
|
12353 |
char *endp ; |
| 12346 |
|
|
12354 |
|
| 12347 |
{ |
|
12355 |
{ |
| 12348 |
endp = str->value.str.val + str->value.str.len; |
|
12356 |
endp = str->value.str.val + str->value.str.len; |
| 12349 |
p1 = str->value.str.val; |
|
12357 |
p1 = str->value.str.val; |
| 12350 |
p2 = zend_memnstr(str->value.str.val, delim->value.str.val, |
|
12358 |
p2 = zend_memnstr(str->value.str.val, delim->value.str.val, |
| 12351 |
delim->value.str.len, endp); |
|
12359 |
delim->value.str.len, endp); |
| 12352 |
if ((unsigned int )p2 == (unsigned int )((void *)0)) { |
|
12360 |
if ((unsigned int )p2 == (unsigned int )((void *)0)) { |
| 12353 |
add_next_index_stringl(return_value, (char const *)p1, |
|
12361 |
add_next_index_stringl(return_value, (char const *)p1, |
| 12354 |
(uint )str->value.str.len, 1); |
|
12362 |
(uint )str->value.str.len, 1); |
| 12355 |
} else { |
|
12363 |
} else { |
| 12356 |
while (1) { |
|
12364 |
while (1) { |
| 12357 |
add_next_index_stringl(return_value, (char const *)p1, (uint )(p2 - p1), |
|
12365 |
add_next_index_stringl(return_value, (char const *)p1, (uint )(p2 - p1), |
| 12358 |
1); |
|
12366 |
1); |
| 12359 |
p1 = p2 + delim->value.str.len; |
|
12367 |
p1 = p2 + delim->value.str.len; |
| 12360 |
p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp); |
|
12368 |
p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp); |
| 12361 |
if ((unsigned int )p2 != (unsigned int )((void *)0)) { |
|
12369 |
if ((unsigned int )p2 != (unsigned int )((void *)0)) { |
| 12362 |
limit --; |
|
12370 |
limit --; |
| 12363 |
if (limit > 1L) { |
|
12371 |
if (limit > 1L) { |
| 12364 |
|
|
12372 |
|
| 12365 |
} else { |
|
12373 |
} else { |
| 12366 |
break; |
|
12374 |
break; |
| 12367 |
} |
|
12375 |
} |
| 12368 |
} else { |
|
12376 |
} else { |
| 12369 |
break; |
|
12377 |
break; |
| 12370 |
} |
|
12378 |
} |
| 12371 |
} |
|
12379 |
} |
| 12372 |
if ((unsigned int )p1 <= (unsigned int )endp) { |
|
12380 |
if ((unsigned int )p1 <= (unsigned int )endp) { |
| 12373 |
add_next_index_stringl(return_value, (char const *)p1, |
|
12381 |
add_next_index_stringl(return_value, (char const *)p1, |
| 12374 |
(uint )(endp - p1), 1); |
|
12382 |
(uint )(endp - p1), 1); |
| 12375 |
} else { |
|
12383 |
} else { |
| 12376 |
|
|
12384 |
|
| 12377 |
} |
|
12385 |
} |
| 12378 |
} |
|
12386 |
} |
| 12379 |
return; |
|
12387 |
return; |
| 12380 |
} |
|
12388 |
} |
| 12381 |
} |
|
12389 |
} |
| 12382 |
void __attribute__((__visibility__("default"))) php_explode_negative_limit(zval *delim , |
|
12390 |
void __attribute__((__visibility__("default"))) php_explode_negative_limit(zval *delim , |
| 12383 |
zval *str , |
|
12391 |
zval *str , |
| 12384 |
zval *return_value , |
|
12392 |
zval *return_value , |
| 12385 |
long limit ) |
|
12393 |
long limit ) |
| 12386 |
{ |
|
12394 |
{ |
| 12387 |
char *p1 ; |
|
12395 |
char *p1 ; |
| 12388 |
char *p2 ; |
|
12396 |
char *p2 ; |
| 12389 |
char *endp ; |
|
12397 |
char *endp ; |
| 12390 |
int allocated ; |
|
12398 |
int allocated ; |
| 12391 |
int found ; |
|
12399 |
int found ; |
| 12392 |
long i ; |
|
12400 |
long i ; |
| 12393 |
long to_return ; |
|
12401 |
long to_return ; |
| 12394 |
char **positions ; |
|
12402 |
char **positions ; |
| 12395 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
12403 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 12396 |
int tmp___0 ; |
|
12404 |
int tmp___0 ; |
| 12397 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
12405 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 12398 |
int tmp___2 ; |
|
12406 |
int tmp___2 ; |
| 12399 |
|
|
12407 |
|
| 12400 |
{ |
|
12408 |
{ |
| 12401 |
endp = str->value.str.val + str->value.str.len; |
|
12409 |
endp = str->value.str.val + str->value.str.len; |
| 12402 |
p1 = str->value.str.val; |
|
12410 |
p1 = str->value.str.val; |
| 12403 |
p2 = zend_memnstr(str->value.str.val, delim->value.str.val, |
|
12411 |
p2 = zend_memnstr(str->value.str.val, delim->value.str.val, |
| 12404 |
delim->value.str.len, endp); |
|
12412 |
delim->value.str.len, endp); |
| 12405 |
if ((unsigned int )p2 == (unsigned int )((void *)0)) { |
|
12413 |
if ((unsigned int )p2 == (unsigned int )((void *)0)) { |
| 12406 |
|
|
12414 |
|
| 12407 |
} else { |
|
12415 |
} else { |
| 12408 |
allocated = 64; |
|
12416 |
allocated = 64; |
| 12409 |
found = 0; |
|
12417 |
found = 0; |
| 12410 |
tmp = _emalloc((unsigned int )allocated * sizeof(char *)); |
|
12418 |
tmp = _emalloc((unsigned int )allocated * sizeof(char *)); |
| 12411 |
positions = (char **)tmp; |
|
12419 |
positions = (char **)tmp; |
| 12412 |
tmp___0 = found; |
|
12420 |
tmp___0 = found; |
| 12413 |
found ++; |
|
12421 |
found ++; |
| 12414 |
*(positions + tmp___0) = p1; |
|
12422 |
*(positions + tmp___0) = p1; |
| 12415 |
while (1) { |
|
12423 |
while (1) { |
| 12416 |
if (found >= allocated) { |
|
12424 |
if (found >= allocated) { |
| 12417 |
allocated = found + 64; |
|
12425 |
allocated = found + 64; |
| 12418 |
tmp___1 = _erealloc((void *)positions, |
|
12426 |
tmp___1 = _erealloc((void *)positions, |
| 12419 |
(unsigned int )allocated * sizeof(char *), 0); |
|
12427 |
(unsigned int )allocated * sizeof(char *), 0); |
| 12420 |
positions = (char **)tmp___1; |
|
12428 |
positions = (char **)tmp___1; |
| 12421 |
} else { |
|
12429 |
} else { |
| 12422 |
|
|
12430 |
|
| 12423 |
} |
|
12431 |
} |
| 12424 |
tmp___2 = found; |
|
12432 |
tmp___2 = found; |
| 12425 |
found ++; |
|
12433 |
found ++; |
| 12426 |
p1 = p2 + delim->value.str.len; |
|
12434 |
p1 = p2 + delim->value.str.len; |
| 12427 |
*(positions + tmp___2) = p1; |
|
12435 |
*(positions + tmp___2) = p1; |
| 12428 |
p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp); |
|
12436 |
p2 = zend_memnstr(p1, delim->value.str.val, delim->value.str.len, endp); |
| 12429 |
if ((unsigned int )p2 != (unsigned int )((void *)0)) { |
|
12437 |
if ((unsigned int )p2 != (unsigned int )((void *)0)) { |
| 12430 |
|
|
12438 |
|
| 12431 |
} else { |
|
12439 |
} else { |
| 12432 |
break; |
|
12440 |
break; |
| 12433 |
} |
|
12441 |
} |
| 12434 |
} |
|
12442 |
} |
| 12435 |
to_return = limit + (long )found; |
|
12443 |
to_return = limit + (long )found; |
| 12436 |
i = 0L; |
|
12444 |
i = 0L; |
| 12437 |
while (i < to_return) { |
|
12445 |
while (i < to_return) { |
| 12438 |
add_next_index_stringl(return_value, (char const *)*(positions + i), |
|
12446 |
add_next_index_stringl(return_value, (char const *)*(positions + i), |
| 12439 |
(uint )((*(positions + (i + 1L)) - delim->value.str.len) - *(positions + i)), |
|
12447 |
(uint )((*(positions + (i + 1L)) - delim->value.str.len) - *(positions + i)), |
| 12440 |
1); |
|
12448 |
1); |
| 12441 |
i ++; |
|
12449 |
i ++; |
| 12442 |
} |
|
12450 |
} |
| 12443 |
_efree((void *)positions); |
|
12451 |
_efree((void *)positions); |
| 12444 |
} |
|
12452 |
} |
| 12445 |
return; |
|
12453 |
return; |
| 12446 |
} |
|
12454 |
} |
| 12447 |
} |
|
12455 |
} |
| 12448 |
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , |
|
12456 |
void zif_explode(int ht , zval *return_value , zval **return_value_ptr , |
| 12449 |
zval *this_ptr , int return_value_used ) |
|
12457 |
zval *this_ptr , int return_value_used ) |
| 12450 |
{ |
|
12458 |
{ |
| 12451 |
char *str ; |
|
12459 |
char *str ; |
| 12452 |
char *delim ; |
|
12460 |
char *delim ; |
| 12453 |
int str_len ; |
|
12461 |
int str_len ; |
| 12454 |
int delim_len ; |
|
12462 |
int delim_len ; |
| 12455 |
long limit ; |
|
12463 |
long limit ; |
| 12456 |
zval zdelim ; |
|
12464 |
zval zdelim ; |
| 12457 |
zval zstr ; |
|
12465 |
zval zstr ; |
| 12458 |
int __attribute__((__visibility__("default"))) tmp ; |
|
12466 |
int __attribute__((__visibility__("default"))) tmp ; |
| 12459 |
zval *__z ; |
|
12467 |
zval *__z ; |
| 12460 |
char const *__s ; |
|
12468 |
char const *__s ; |
| 12461 |
int __l ; |
|
12469 |
int __l ; |
| 12462 |
zval *__z___0 ; |
|
12470 |
zval *__z___0 ; |
| 12463 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
12471 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 12464 |
char const *__s___0 ; |
|
12472 |
char const *__s___0 ; |
| 12465 |
int __l___0 ; |
|
12473 |
int __l___0 ; |
| 12466 |
zval *__z___1 ; |
|
12474 |
zval *__z___1 ; |
| 12467 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
12475 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 12468 |
|
|
12476 |
|
| 12469 |
{ |
|
12477 |
{ |
| 12470 |
str_len = 0; |
|
12478 |
str_len = 0; |
| 12471 |
delim_len = 0; |
|
12479 |
delim_len = 0; |
| 12472 |
limit = 2147483647L; |
|
12480 |
limit = 2147483647L; |
| 12473 |
tmp = zend_parse_parameters(ht, "ss|l", & delim, & delim_len, & str, |
|
12481 |
tmp = zend_parse_parameters(ht, "ss|l", & delim, & delim_len, & str, |
| 12474 |
& str_len, & limit); |
|
12482 |
& str_len, & limit); |
| 12475 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
12483 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 12476 |
return; |
|
12484 |
return; |
| 12477 |
} else { |
|
12485 |
} else { |
| 12478 |
|
|
12486 |
|
| 12479 |
} |
|
12487 |
} |
| 12480 |
if (delim_len == 0) { |
|
12488 |
if (delim_len == 0) { |
| 12481 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
|
12489 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
| 12482 |
while (1) { |
|
12490 |
while (1) { |
| 12483 |
__z = return_value; |
|
12491 |
__z = return_value; |
| 12484 |
__z->value.lval = 0L; |
|
12492 |
__z->value.lval = 0L; |
| 12485 |
__z->type = (zend_uchar )3; |
|
12493 |
__z->type = (zend_uchar )3; |
| 12486 |
break; |
|
12494 |
break; |
| 12487 |
} |
|
12495 |
} |
| 12488 |
return; |
|
12496 |
return; |
| 12489 |
} else { |
|
12497 |
} else { |
| 12490 |
|
|
12498 |
|
| 12491 |
} |
|
12499 |
} |
| 12492 |
_array_init(return_value, (uint )0); |
|
12500 |
_array_init(return_value, (uint )0); |
| 12493 |
if (str_len == 0) { |
|
12501 |
if (str_len == 0) { |
| 12494 |
if (limit >= 0L) { |
|
12502 |
if (limit >= 0L) { |
| 12495 |
add_next_index_stringl(return_value, "", sizeof("") - 1U, 1); |
|
12503 |
add_next_index_stringl(return_value, "", sizeof("") - 1U, 1); |
| 12496 |
} else { |
|
12504 |
} else { |
| 12497 |
|
|
12505 |
|
| 12498 |
} |
|
12506 |
} |
| 12499 |
return; |
|
12507 |
return; |
| 12500 |
} else { |
|
12508 |
} else { |
| 12501 |
|
|
12509 |
|
| 12502 |
} |
|
12510 |
} |
| 12503 |
while (1) { |
|
12511 |
while (1) { |
| 12504 |
__s = (char const *)str; |
|
12512 |
__s = (char const *)str; |
| 12505 |
__l = str_len; |
|
12513 |
__l = str_len; |
| 12506 |
__z___0 = & zstr; |
|
12514 |
__z___0 = & zstr; |
| 12507 |
__z___0->value.str.len = __l; |
|
12515 |
__z___0->value.str.len = __l; |
| 12508 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
12516 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 12509 |
__z___0->type = (zend_uchar )6; |
|
12517 |
__z___0->type = (zend_uchar )6; |
| 12510 |
break; |
|
12518 |
break; |
| 12511 |
} |
|
12519 |
} |
| 12512 |
while (1) { |
|
12520 |
while (1) { |
| 12513 |
__s___0 = (char const *)delim; |
|
12521 |
__s___0 = (char const *)delim; |
| 12514 |
__l___0 = delim_len; |
|
12522 |
__l___0 = delim_len; |
| 12515 |
__z___1 = & zdelim; |
|
12523 |
__z___1 = & zdelim; |
| 12516 |
__z___1->value.str.len = __l___0; |
|
12524 |
__z___1->value.str.len = __l___0; |
| 12517 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
12525 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 12518 |
__z___1->type = (zend_uchar )6; |
|
12526 |
__z___1->type = (zend_uchar )6; |
| 12519 |
break; |
|
12527 |
break; |
| 12520 |
} |
|
12528 |
} |
| 12521 |
if (limit > 1L) { |
|
12529 |
if (limit > 1L) { |
| 12522 |
php_explode(& zdelim, & zstr, return_value, limit); |
|
12530 |
php_explode(& zdelim, & zstr, return_value, limit); |
| 12523 |
} else |
|
12531 |
} else |
| 12524 |
if (limit < 0L) { |
|
12532 |
if (limit < 0L) { |
| 12525 |
php_explode_negative_limit(& zdelim, & zstr, return_value, limit); |
|
12533 |
php_explode_negative_limit(& zdelim, & zstr, return_value, limit); |
| 12526 |
} else { |
|
12534 |
} else { |
| 12527 |
add_index_stringl(return_value, (ulong )0, (char const *)str, |
|
12535 |
add_index_stringl(return_value, (ulong )0, (char const *)str, |
| 12528 |
(uint )str_len, 1); |
|
12536 |
(uint )str_len, 1); |
| 12529 |
} |
|
12537 |
} |
| 12530 |
return; |
|
12538 |
return; |
| 12531 |
} |
|
12539 |
} |
| 12532 |
} |
|
12540 |
} |
| 12533 |
void __attribute__((__visibility__("default"))) php_implode(zval *delim , |
|
12541 |
void __attribute__((__visibility__("default"))) php_implode(zval *delim , |
| 12534 |
zval *arr , |
|
12542 |
zval *arr , |
| 12535 |
zval *return_value ) |
|
12543 |
zval *return_value ) |
| 12536 |
{ |
|
12544 |
{ |
| 12537 |
zval **tmp ; |
|
12545 |
zval **tmp ; |
| 12538 |
HashPosition pos ; |
|
12546 |
HashPosition pos ; |
| 12539 |
smart_str implstr ; |
|
12547 |
smart_str implstr ; |
| 12540 |
int numelems ; |
|
12548 |
int numelems ; |
| 12541 |
int i ; |
|
12549 |
int i ; |
| 12542 |
zval tmp_val ; |
|
12550 |
zval tmp_val ; |
| 12543 |
int str_len ; |
|
12551 |
int str_len ; |
| 12544 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
12552 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 12545 |
zval *__z ; |
|
12553 |
zval *__z ; |
| 12546 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
12554 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 12547 |
register size_t __nl ; |
|
12555 |
register size_t __nl ; |
| 12548 |
smart_str *__dest ; |
|
12556 |
smart_str *__dest ; |
| 12549 |
void *tmp___2 ; |
|
12557 |
void *tmp___2 ; |
| 12550 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
12558 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 12551 |
void *tmp___4 ; |
|
12559 |
void *tmp___4 ; |
| 12552 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
|
12560 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
| 12553 |
char stmp[12] ; |
|
12561 |
char stmp[12] ; |
| 12554 |
int __attribute__((__visibility__("default"))) tmp___6 ; |
|
12562 |
int __attribute__((__visibility__("default"))) tmp___6 ; |
| 12555 |
register size_t __nl___0 ; |
|
12563 |
register size_t __nl___0 ; |
| 12556 |
smart_str *__dest___0 ; |
|
12564 |
smart_str *__dest___0 ; |
| 12557 |
void *tmp___7 ; |
|
12565 |
void *tmp___7 ; |
| 12558 |
void __attribute__((__visibility__("default"))) *tmp___8 ; |
|
12566 |
void __attribute__((__visibility__("default"))) *tmp___8 ; |
| 12559 |
void *tmp___9 ; |
|
12567 |
void *tmp___9 ; |
| 12560 |
void __attribute__((__visibility__("default"))) *tmp___10 ; |
|
12568 |
void __attribute__((__visibility__("default"))) *tmp___10 ; |
| 12561 |
register size_t __nl___1 ; |
|
12569 |
register size_t __nl___1 ; |
| 12562 |
smart_str *__dest___1 ; |
|
12570 |
smart_str *__dest___1 ; |
| 12563 |
void *tmp___11 ; |
|
12571 |
void *tmp___11 ; |
| 12564 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
|
12572 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
| 12565 |
void *tmp___13 ; |
|
12573 |
void *tmp___13 ; |
| 12566 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
|
12574 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
| 12567 |
char *stmp___0 ; |
|
12575 |
char *stmp___0 ; |
| 12568 |
int __attribute__((__visibility__("default"))) tmp___15 ; |
|
12576 |
int __attribute__((__visibility__("default"))) tmp___15 ; |
| 12569 |
register size_t __nl___2 ; |
|
12577 |
register size_t __nl___2 ; |
| 12570 |
smart_str *__dest___2 ; |
|
12578 |
smart_str *__dest___2 ; |
| 12571 |
void *tmp___16 ; |
|
12579 |
void *tmp___16 ; |
| 12572 |
void __attribute__((__visibility__("default"))) *tmp___17 ; |
|
12580 |
void __attribute__((__visibility__("default"))) *tmp___17 ; |
| 12573 |
void *tmp___18 ; |
|
12581 |
void *tmp___18 ; |
| 12574 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
|
12582 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
| 12575 |
int copy ; |
|
12583 |
int copy ; |
| 12576 |
zval expr ; |
|
12584 |
zval expr ; |
| 12577 |
register size_t __nl___3 ; |
|
12585 |
register size_t __nl___3 ; |
| 12578 |
smart_str *__dest___3 ; |
|
12586 |
smart_str *__dest___3 ; |
| 12579 |
void *tmp___20 ; |
|
12587 |
void *tmp___20 ; |
| 12580 |
void __attribute__((__visibility__("default"))) *tmp___21 ; |
|
12588 |
void __attribute__((__visibility__("default"))) *tmp___21 ; |
| 12581 |
void *tmp___22 ; |
|
12589 |
void *tmp___22 ; |
| 12582 |
void __attribute__((__visibility__("default"))) *tmp___23 ; |
|
12590 |
void __attribute__((__visibility__("default"))) *tmp___23 ; |
| 12583 |
register size_t __nl___4 ; |
|
12591 |
register size_t __nl___4 ; |
| 12584 |
smart_str *__dest___4 ; |
|
12592 |
smart_str *__dest___4 ; |
| 12585 |
void *tmp___24 ; |
|
12593 |
void *tmp___24 ; |
| 12586 |
void __attribute__((__visibility__("default"))) *tmp___25 ; |
|
12594 |
void __attribute__((__visibility__("default"))) *tmp___25 ; |
| 12587 |
void *tmp___26 ; |
|
12595 |
void *tmp___26 ; |
| 12588 |
void __attribute__((__visibility__("default"))) *tmp___27 ; |
|
12596 |
void __attribute__((__visibility__("default"))) *tmp___27 ; |
| 12589 |
register size_t __nl___5 ; |
|
12597 |
register size_t __nl___5 ; |
| 12590 |
smart_str *__dest___5 ; |
|
12598 |
smart_str *__dest___5 ; |
| 12591 |
void *tmp___28 ; |
|
12599 |
void *tmp___28 ; |
| 12592 |
void __attribute__((__visibility__("default"))) *tmp___29 ; |
|
12600 |
void __attribute__((__visibility__("default"))) *tmp___29 ; |
| 12593 |
void *tmp___30 ; |
|
12601 |
void *tmp___30 ; |
| 12594 |
void __attribute__((__visibility__("default"))) *tmp___31 ; |
|
12602 |
void __attribute__((__visibility__("default"))) *tmp___31 ; |
| 12595 |
int __attribute__((__visibility__("default"))) tmp___32 ; |
|
12603 |
int __attribute__((__visibility__("default"))) tmp___32 ; |
| 12596 |
char const *__s ; |
|
12604 |
char const *__s ; |
| 12597 |
int __l ; |
|
12605 |
int __l ; |
| 12598 |
zval *__z___0 ; |
|
12606 |
zval *__z___0 ; |
| 12599 |
char __attribute__((__visibility__("default"))) *tmp___33 ; |
|
12607 |
char __attribute__((__visibility__("default"))) *tmp___33 ; |
| 12600 |
smart_str *__s___0 ; |
|
12608 |
smart_str *__s___0 ; |
| 12601 |
size_t tmp___34 ; |
|
12609 |
size_t tmp___34 ; |
| 12602 |
zval *__z___1 ; |
|
12610 |
zval *__z___1 ; |
| 12603 |
char __attribute__((__visibility__("default"))) *tmp___35 ; |
|
12611 |
char __attribute__((__visibility__("default"))) *tmp___35 ; |
| 12604 |
|
|
12612 |
|
| 12605 |
{ |
|
12613 |
{ |
| 12606 |
implstr.c = (char *)0; |
|
12614 |
implstr.c = (char *)0; |
| 12607 |
implstr.len = 0U; |
|
12615 |
implstr.len = 0U; |
| 12608 |
implstr.a = 0U; |
|
12616 |
implstr.a = 0U; |
| 12609 |
i = 0; |
|
12617 |
i = 0; |
| 12610 |
tmp___0 = zend_hash_num_elements((HashTable const *)arr->value.ht); |
|
12618 |
tmp___0 = zend_hash_num_elements((HashTable const *)arr->value.ht); |
| 12611 |
numelems = (int )tmp___0; |
|
12619 |
numelems = (int )tmp___0; |
| 12612 |
if (numelems == 0) { |
|
12620 |
if (numelems == 0) { |
| 12613 |
while (1) { |
|
12621 |
while (1) { |
| 12614 |
__z = return_value; |
|
12622 |
__z = return_value; |
| 12615 |
__z->value.str.len = 0; |
|
12623 |
__z->value.str.len = 0; |
| 12616 |
tmp___1 = _estrndup("", sizeof("") - 1U); |
|
12624 |
tmp___1 = _estrndup("", sizeof("") - 1U); |
| 12617 |
__z->value.str.val = (char *)tmp___1; |
|
12625 |
__z->value.str.val = (char *)tmp___1; |
| 12618 |
__z->type = (zend_uchar )6; |
|
12626 |
__z->type = (zend_uchar )6; |
| 12619 |
break; |
|
12627 |
break; |
| 12620 |
} |
|
12628 |
} |
| 12621 |
return; |
|
12629 |
return; |
| 12622 |
} else { |
|
12630 |
} else { |
| 12623 |
|
|
12631 |
|
| 12624 |
} |
|
12632 |
} |
| 12625 |
zend_hash_internal_pointer_reset_ex(arr->value.ht, & pos); |
|
12633 |
zend_hash_internal_pointer_reset_ex(arr->value.ht, & pos); |
| 12626 |
while (1) { |
|
12634 |
while (1) { |
| 12627 |
tmp___32 = zend_hash_get_current_data_ex(arr->value.ht, (void **)(& tmp), |
|
12635 |
tmp___32 = zend_hash_get_current_data_ex(arr->value.ht, (void **)(& tmp), |
| 12628 |
& pos); |
|
12636 |
& pos); |
| 12629 |
if (tmp___32 == (int __attribute__((__visibility__("default"))) )0) { |
|
12637 |
if (tmp___32 == (int __attribute__((__visibility__("default"))) )0) { |
| 12630 |
|
|
12638 |
|
| 12631 |
} else { |
|
12639 |
} else { |
| 12632 |
break; |
|
12640 |
break; |
| 12633 |
} |
|
12641 |
} |
| 12634 |
switch ((int )(*tmp)->type) { |
|
12642 |
switch ((int )(*tmp)->type) { |
| 12635 |
case 6: |
|
12643 |
case 6: |
| 12636 |
while (1) { |
|
12644 |
while (1) { |
| 12637 |
__dest = & implstr; |
|
12645 |
__dest = & implstr; |
| 12638 |
while (1) { |
|
12646 |
while (1) { |
| 12639 |
if (! __dest->c) { |
|
12647 |
if (! __dest->c) { |
| 12640 |
__dest->len = (size_t )0; |
|
12648 |
__dest->len = (size_t )0; |
| 12641 |
__nl = (size_t )(*tmp)->value.str.len; |
|
12649 |
__nl = (size_t )(*tmp)->value.str.len; |
| 12642 |
if (__nl < 78U) { |
|
12650 |
if (__nl < 78U) { |
| 12643 |
__dest->a = (size_t )78; |
|
12651 |
__dest->a = (size_t )78; |
| 12644 |
} else { |
|
12652 |
} else { |
| 12645 |
__dest->a = __nl + 128U; |
|
12653 |
__dest->a = __nl + 128U; |
| 12646 |
} |
|
12654 |
} |
| 12647 |
tmp___3 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
|
12655 |
tmp___3 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
| 12648 |
__dest->c = (char *)((void *)tmp___3); |
|
12656 |
__dest->c = (char *)((void *)tmp___3); |
| 12649 |
} else { |
|
12657 |
} else { |
| 12650 |
__nl = __dest->len + (size_t )(*tmp)->value.str.len; |
|
12658 |
__nl = __dest->len + (size_t )(*tmp)->value.str.len; |
| 12651 |
if (__nl >= __dest->a) { |
|
12659 |
if (__nl >= __dest->a) { |
| 12652 |
__dest->a = __nl + 128U; |
|
12660 |
__dest->a = __nl + 128U; |
| 12653 |
tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
|
12661 |
tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
| 12654 |
__dest->c = (char *)((void *)tmp___5); |
|
12662 |
__dest->c = (char *)((void *)tmp___5); |
| 12655 |
} else { |
|
12663 |
} else { |
| 12656 |
|
|
12664 |
|
| 12657 |
} |
|
12665 |
} |
| 12658 |
} |
|
12666 |
} |
| 12659 |
break; |
|
12667 |
break; |
| 12660 |
} |
|
12668 |
} |
| 12661 |
memcpy((void *)(__dest->c + __dest->len), |
|
12669 |
memcpy((void *)(__dest->c + __dest->len), |
| 12662 |
(void const *)(*tmp)->value.str.val, |
|
12670 |
(void const *)(*tmp)->value.str.val, |
| 12663 |
(size_t )(*tmp)->value.str.len); |
|
12671 |
(size_t )(*tmp)->value.str.len); |
| 12664 |
__dest->len = __nl; |
|
12672 |
__dest->len = __nl; |
| 12665 |
break; |
|
12673 |
break; |
| 12666 |
} |
|
12674 |
} |
| 12667 |
break; |
|
12675 |
break; |
| 12668 |
case 1: |
|
12676 |
case 1: |
| 12669 |
tmp___6 = ap_php_slprintf(stmp, sizeof(stmp), "%ld", (*tmp)->value.lval); |
|
12677 |
tmp___6 = ap_php_slprintf(stmp, sizeof(stmp), "%ld", (*tmp)->value.lval); |
| 12670 |
str_len = (int )tmp___6; |
|
12678 |
str_len = (int )tmp___6; |
| 12671 |
while (1) { |
|
12679 |
while (1) { |
| 12672 |
__dest___0 = & implstr; |
|
12680 |
__dest___0 = & implstr; |
| 12673 |
while (1) { |
|
12681 |
while (1) { |
| 12674 |
if (! __dest___0->c) { |
|
12682 |
if (! __dest___0->c) { |
| 12675 |
__dest___0->len = (size_t )0; |
|
12683 |
__dest___0->len = (size_t )0; |
| 12676 |
__nl___0 = (size_t )str_len; |
|
12684 |
__nl___0 = (size_t )str_len; |
| 12677 |
if (__nl___0 < 78U) { |
|
12685 |
if (__nl___0 < 78U) { |
| 12678 |
__dest___0->a = (size_t )78; |
|
12686 |
__dest___0->a = (size_t )78; |
| 12679 |
} else { |
|
12687 |
} else { |
| 12680 |
__dest___0->a = __nl___0 + 128U; |
|
12688 |
__dest___0->a = __nl___0 + 128U; |
| 12681 |
} |
|
12689 |
} |
| 12682 |
tmp___8 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0); |
|
12690 |
tmp___8 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0); |
| 12683 |
__dest___0->c = (char *)((void *)tmp___8); |
|
12691 |
__dest___0->c = (char *)((void *)tmp___8); |
| 12684 |
} else { |
|
12692 |
} else { |
| 12685 |
__nl___0 = __dest___0->len + (size_t )str_len; |
|
12693 |
__nl___0 = __dest___0->len + (size_t )str_len; |
| 12686 |
if (__nl___0 >= __dest___0->a) { |
|
12694 |
if (__nl___0 >= __dest___0->a) { |
| 12687 |
__dest___0->a = __nl___0 + 128U; |
|
12695 |
__dest___0->a = __nl___0 + 128U; |
| 12688 |
tmp___10 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0); |
|
12696 |
tmp___10 = _erealloc((void *)__dest___0->c, __dest___0->a + 1U, 0); |
| 12689 |
__dest___0->c = (char *)((void *)tmp___10); |
|
12697 |
__dest___0->c = (char *)((void *)tmp___10); |
| 12690 |
} else { |
|
12698 |
} else { |
| 12691 |
|
|
12699 |
|
| 12692 |
} |
|
12700 |
} |
| 12693 |
} |
|
12701 |
} |
| 12694 |
break; |
|
12702 |
break; |
| 12695 |
} |
|
12703 |
} |
| 12696 |
memcpy((void *)(__dest___0->c + __dest___0->len), |
|
12704 |
memcpy((void *)(__dest___0->c + __dest___0->len), |
| 12697 |
(void const *)(stmp), (size_t )str_len); |
|
12705 |
(void const *)(stmp), (size_t )str_len); |
| 12698 |
__dest___0->len = __nl___0; |
|
12706 |
__dest___0->len = __nl___0; |
| 12699 |
break; |
|
12707 |
break; |
| 12700 |
} |
|
12708 |
} |
| 12701 |
break; |
|
12709 |
break; |
| 12702 |
case 3: |
|
12710 |
case 3: |
| 12703 |
if ((*tmp)->value.lval == 1L) { |
|
12711 |
if ((*tmp)->value.lval == 1L) { |
| 12704 |
while (1) { |
|
12712 |
while (1) { |
| 12705 |
__dest___1 = & implstr; |
|
12713 |
__dest___1 = & implstr; |
| 12706 |
while (1) { |
|
12714 |
while (1) { |
| 12707 |
if (! __dest___1->c) { |
|
12715 |
if (! __dest___1->c) { |
| 12708 |
__dest___1->len = (size_t )0; |
|
12716 |
__dest___1->len = (size_t )0; |
| 12709 |
__nl___1 = sizeof("1") - 1U; |
|
12717 |
__nl___1 = sizeof("1") - 1U; |
| 12710 |
if (__nl___1 < 78U) { |
|
12718 |
if (__nl___1 < 78U) { |
| 12711 |
__dest___1->a = (size_t )78; |
|
12719 |
__dest___1->a = (size_t )78; |
| 12712 |
} else { |
|
12720 |
} else { |
| 12713 |
__dest___1->a = __nl___1 + 128U; |
|
12721 |
__dest___1->a = __nl___1 + 128U; |
| 12714 |
} |
|
12722 |
} |
| 12715 |
tmp___12 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0); |
|
12723 |
tmp___12 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0); |
| 12716 |
__dest___1->c = (char *)((void *)tmp___12); |
|
12724 |
__dest___1->c = (char *)((void *)tmp___12); |
| 12717 |
} else { |
|
12725 |
} else { |
| 12718 |
__nl___1 = __dest___1->len + (sizeof("1") - 1U); |
|
12726 |
__nl___1 = __dest___1->len + (sizeof("1") - 1U); |
| 12719 |
if (__nl___1 >= __dest___1->a) { |
|
12727 |
if (__nl___1 >= __dest___1->a) { |
| 12720 |
__dest___1->a = __nl___1 + 128U; |
|
12728 |
__dest___1->a = __nl___1 + 128U; |
| 12721 |
tmp___14 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0); |
|
12729 |
tmp___14 = _erealloc((void *)__dest___1->c, __dest___1->a + 1U, 0); |
| 12722 |
__dest___1->c = (char *)((void *)tmp___14); |
|
12730 |
__dest___1->c = (char *)((void *)tmp___14); |
| 12723 |
} else { |
|
12731 |
} else { |
| 12724 |
|
|
12732 |
|
| 12725 |
} |
|
12733 |
} |
| 12726 |
} |
|
12734 |
} |
| 12727 |
break; |
|
12735 |
break; |
| 12728 |
} |
|
12736 |
} |
| 12729 |
memcpy((void *)(__dest___1->c + __dest___1->len), |
|
12737 |
memcpy((void *)(__dest___1->c + __dest___1->len), |
| 12730 |
(void const *)"1", sizeof("1") - 1U); |
|
12738 |
(void const *)"1", sizeof("1") - 1U); |
| 12731 |
__dest___1->len = __nl___1; |
|
12739 |
__dest___1->len = __nl___1; |
| 12732 |
break; |
|
12740 |
break; |
| 12733 |
} |
|
12741 |
} |
| 12734 |
} else { |
|
12742 |
} else { |
| 12735 |
|
|
12743 |
|
| 12736 |
} |
|
12744 |
} |
| 12737 |
break; |
|
12745 |
break; |
| 12738 |
case 0: |
|
12746 |
case 0: |
| 12739 |
break; |
|
12747 |
break; |
| 12740 |
case 2: |
|
12748 |
case 2: |
| 12741 |
tmp___15 = spprintf(& stmp___0, (size_t )0, "%.*G", |
|
12749 |
tmp___15 = spprintf(& stmp___0, (size_t )0, "%.*G", |
| 12742 |
(int )executor_globals.precision, (*tmp)->value.dval); |
|
12750 |
(int )executor_globals.precision, (*tmp)->value.dval); |
| 12743 |
str_len = (int )tmp___15; |
|
12751 |
str_len = (int )tmp___15; |
| 12744 |
while (1) { |
|
12752 |
while (1) { |
| 12745 |
__dest___2 = & implstr; |
|
12753 |
__dest___2 = & implstr; |
| 12746 |
while (1) { |
|
12754 |
while (1) { |
| 12747 |
if (! __dest___2->c) { |
|
12755 |
if (! __dest___2->c) { |
| 12748 |
__dest___2->len = (size_t )0; |
|
12756 |
__dest___2->len = (size_t )0; |
| 12749 |
__nl___2 = (size_t )str_len; |
|
12757 |
__nl___2 = (size_t )str_len; |
| 12750 |
if (__nl___2 < 78U) { |
|
12758 |
if (__nl___2 < 78U) { |
| 12751 |
__dest___2->a = (size_t )78; |
|
12759 |
__dest___2->a = (size_t )78; |
| 12752 |
} else { |
|
12760 |
} else { |
| 12753 |
__dest___2->a = __nl___2 + 128U; |
|
12761 |
__dest___2->a = __nl___2 + 128U; |
| 12754 |
} |
|
12762 |
} |
| 12755 |
tmp___17 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0); |
|
12763 |
tmp___17 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0); |
| 12756 |
__dest___2->c = (char *)((void *)tmp___17); |
|
12764 |
__dest___2->c = (char *)((void *)tmp___17); |
| 12757 |
} else { |
|
12765 |
} else { |
| 12758 |
__nl___2 = __dest___2->len + (size_t )str_len; |
|
12766 |
__nl___2 = __dest___2->len + (size_t )str_len; |
| 12759 |
if (__nl___2 >= __dest___2->a) { |
|
12767 |
if (__nl___2 >= __dest___2->a) { |
| 12760 |
__dest___2->a = __nl___2 + 128U; |
|
12768 |
__dest___2->a = __nl___2 + 128U; |
| 12761 |
tmp___19 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0); |
|
12769 |
tmp___19 = _erealloc((void *)__dest___2->c, __dest___2->a + 1U, 0); |
| 12762 |
__dest___2->c = (char *)((void *)tmp___19); |
|
12770 |
__dest___2->c = (char *)((void *)tmp___19); |
| 12763 |
} else { |
|
12771 |
} else { |
| 12764 |
|
|
12772 |
|
| 12765 |
} |
|
12773 |
} |
| 12766 |
} |
|
12774 |
} |
| 12767 |
break; |
|
12775 |
break; |
| 12768 |
} |
|
12776 |
} |
| 12769 |
memcpy((void *)(__dest___2->c + __dest___2->len), |
|
12777 |
memcpy((void *)(__dest___2->c + __dest___2->len), |
| 12770 |
(void const *)stmp___0, (size_t )str_len); |
|
12778 |
(void const *)stmp___0, (size_t )str_len); |
| 12771 |
__dest___2->len = __nl___2; |
|
12779 |
__dest___2->len = __nl___2; |
| 12772 |
break; |
|
12780 |
break; |
| 12773 |
} |
|
12781 |
} |
| 12774 |
_efree((void *)stmp___0); |
|
12782 |
_efree((void *)stmp___0); |
| 12775 |
break; |
|
12783 |
break; |
| 12776 |
case 5: |
|
12784 |
case 5: |
| 12777 |
zend_make_printable_zval(*tmp, & expr, & copy); |
|
12785 |
zend_make_printable_zval(*tmp, & expr, & copy); |
| 12778 |
while (1) { |
|
12786 |
while (1) { |
| 12779 |
__dest___3 = & implstr; |
|
12787 |
__dest___3 = & implstr; |
| 12780 |
while (1) { |
|
12788 |
while (1) { |
| 12781 |
if (! __dest___3->c) { |
|
12789 |
if (! __dest___3->c) { |
| 12782 |
__dest___3->len = (size_t )0; |
|
12790 |
__dest___3->len = (size_t )0; |
| 12783 |
__nl___3 = (size_t )expr.value.str.len; |
|
12791 |
__nl___3 = (size_t )expr.value.str.len; |
| 12784 |
if (__nl___3 < 78U) { |
|
12792 |
if (__nl___3 < 78U) { |
| 12785 |
__dest___3->a = (size_t )78; |
|
12793 |
__dest___3->a = (size_t )78; |
| 12786 |
} else { |
|
12794 |
} else { |
| 12787 |
__dest___3->a = __nl___3 + 128U; |
|
12795 |
__dest___3->a = __nl___3 + 128U; |
| 12788 |
} |
|
12796 |
} |
| 12789 |
tmp___21 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0); |
|
12797 |
tmp___21 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0); |
| 12790 |
__dest___3->c = (char *)((void *)tmp___21); |
|
12798 |
__dest___3->c = (char *)((void *)tmp___21); |
| 12791 |
} else { |
|
12799 |
} else { |
| 12792 |
__nl___3 = __dest___3->len + (size_t )expr.value.str.len; |
|
12800 |
__nl___3 = __dest___3->len + (size_t )expr.value.str.len; |
| 12793 |
if (__nl___3 >= __dest___3->a) { |
|
12801 |
if (__nl___3 >= __dest___3->a) { |
| 12794 |
__dest___3->a = __nl___3 + 128U; |
|
12802 |
__dest___3->a = __nl___3 + 128U; |
| 12795 |
tmp___23 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0); |
|
12803 |
tmp___23 = _erealloc((void *)__dest___3->c, __dest___3->a + 1U, 0); |
| 12796 |
__dest___3->c = (char *)((void *)tmp___23); |
|
12804 |
__dest___3->c = (char *)((void *)tmp___23); |
| 12797 |
} else { |
|
12805 |
} else { |
| 12798 |
|
|
12806 |
|
| 12799 |
} |
|
12807 |
} |
| 12800 |
} |
|
12808 |
} |
| 12801 |
break; |
|
12809 |
break; |
| 12802 |
} |
|
12810 |
} |
| 12803 |
memcpy((void *)(__dest___3->c + __dest___3->len), |
|
12811 |
memcpy((void *)(__dest___3->c + __dest___3->len), |
| 12804 |
(void const *)expr.value.str.val, |
|
12812 |
(void const *)expr.value.str.val, |
| 12805 |
(size_t )expr.value.str.len); |
|
12813 |
(size_t )expr.value.str.len); |
| 12806 |
__dest___3->len = __nl___3; |
|
12814 |
__dest___3->len = __nl___3; |
| 12807 |
break; |
|
12815 |
break; |
| 12808 |
} |
|
12816 |
} |
| 12809 |
if (copy) { |
|
12817 |
if (copy) { |
| 12810 |
_zval_dtor(& expr); |
|
12818 |
_zval_dtor(& expr); |
| 12811 |
} else { |
|
12819 |
} else { |
| 12812 |
|
|
12820 |
|
| 12813 |
} |
|
12821 |
} |
| 12814 |
break; |
|
12822 |
break; |
| 12815 |
default: |
|
12823 |
default: |
| 12816 |
tmp_val = *(*tmp); |
|
12824 |
tmp_val = *(*tmp); |
| 12817 |
_zval_copy_ctor(& tmp_val); |
|
12825 |
_zval_copy_ctor(& tmp_val); |
| 12818 |
if ((int )tmp_val.type != 6) { |
|
12826 |
if ((int )tmp_val.type != 6) { |
| 12819 |
_convert_to_string(& tmp_val); |
|
12827 |
_convert_to_string(& tmp_val); |
| 12820 |
} else { |
|
12828 |
} else { |
| 12821 |
|
|
12829 |
|
| 12822 |
} |
|
12830 |
} |
| 12823 |
while (1) { |
|
12831 |
while (1) { |
| 12824 |
__dest___4 = & implstr; |
|
12832 |
__dest___4 = & implstr; |
| 12825 |
while (1) { |
|
12833 |
while (1) { |
| 12826 |
if (! __dest___4->c) { |
|
12834 |
if (! __dest___4->c) { |
| 12827 |
__dest___4->len = (size_t )0; |
|
12835 |
__dest___4->len = (size_t )0; |
| 12828 |
__nl___4 = (size_t )tmp_val.value.str.len; |
|
12836 |
__nl___4 = (size_t )tmp_val.value.str.len; |
| 12829 |
if (__nl___4 < 78U) { |
|
12837 |
if (__nl___4 < 78U) { |
| 12830 |
__dest___4->a = (size_t )78; |
|
12838 |
__dest___4->a = (size_t )78; |
| 12831 |
} else { |
|
12839 |
} else { |
| 12832 |
__dest___4->a = __nl___4 + 128U; |
|
12840 |
__dest___4->a = __nl___4 + 128U; |
| 12833 |
} |
|
12841 |
} |
| 12834 |
tmp___25 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0); |
|
12842 |
tmp___25 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0); |
| 12835 |
__dest___4->c = (char *)((void *)tmp___25); |
|
12843 |
__dest___4->c = (char *)((void *)tmp___25); |
| 12836 |
} else { |
|
12844 |
} else { |
| 12837 |
__nl___4 = __dest___4->len + (size_t )tmp_val.value.str.len; |
|
12845 |
__nl___4 = __dest___4->len + (size_t )tmp_val.value.str.len; |
| 12838 |
if (__nl___4 >= __dest___4->a) { |
|
12846 |
if (__nl___4 >= __dest___4->a) { |
| 12839 |
__dest___4->a = __nl___4 + 128U; |
|
12847 |
__dest___4->a = __nl___4 + 128U; |
| 12840 |
tmp___27 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0); |
|
12848 |
tmp___27 = _erealloc((void *)__dest___4->c, __dest___4->a + 1U, 0); |
| 12841 |
__dest___4->c = (char *)((void *)tmp___27); |
|
12849 |
__dest___4->c = (char *)((void *)tmp___27); |
| 12842 |
} else { |
|
12850 |
} else { |
| 12843 |
|
|
12851 |
|
| 12844 |
} |
|
12852 |
} |
| 12845 |
} |
|
12853 |
} |
| 12846 |
break; |
|
12854 |
break; |
| 12847 |
} |
|
12855 |
} |
| 12848 |
memcpy((void *)(__dest___4->c + __dest___4->len), |
|
12856 |
memcpy((void *)(__dest___4->c + __dest___4->len), |
| 12849 |
(void const *)tmp_val.value.str.val, |
|
12857 |
(void const *)tmp_val.value.str.val, |
| 12850 |
(size_t )tmp_val.value.str.len); |
|
12858 |
(size_t )tmp_val.value.str.len); |
| 12851 |
__dest___4->len = __nl___4; |
|
12859 |
__dest___4->len = __nl___4; |
| 12852 |
break; |
|
12860 |
break; |
| 12853 |
} |
|
12861 |
} |
| 12854 |
_zval_dtor(& tmp_val); |
|
12862 |
_zval_dtor(& tmp_val); |
| 12855 |
break; |
|
12863 |
break; |
| 12856 |
} |
|
12864 |
} |
| 12857 |
i ++; |
|
12865 |
i ++; |
| 12858 |
if (i != numelems) { |
|
12866 |
if (i != numelems) { |
| 12859 |
while (1) { |
|
12867 |
while (1) { |
| 12860 |
__dest___5 = & implstr; |
|
12868 |
__dest___5 = & implstr; |
| 12861 |
while (1) { |
|
12869 |
while (1) { |
| 12862 |
if (! __dest___5->c) { |
|
12870 |
if (! __dest___5->c) { |
| 12863 |
__dest___5->len = (size_t )0; |
|
12871 |
__dest___5->len = (size_t )0; |
| 12864 |
__nl___5 = (size_t )delim->value.str.len; |
|
12872 |
__nl___5 = (size_t )delim->value.str.len; |
| 12865 |
if (__nl___5 < 78U) { |
|
12873 |
if (__nl___5 < 78U) { |
| 12866 |
__dest___5->a = (size_t )78; |
|
12874 |
__dest___5->a = (size_t )78; |
| 12867 |
} else { |
|
12875 |
} else { |
| 12868 |
__dest___5->a = __nl___5 + 128U; |
|
12876 |
__dest___5->a = __nl___5 + 128U; |
| 12869 |
} |
|
12877 |
} |
| 12870 |
tmp___29 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0); |
|
12878 |
tmp___29 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0); |
| 12871 |
__dest___5->c = (char *)((void *)tmp___29); |
|
12879 |
__dest___5->c = (char *)((void *)tmp___29); |
| 12872 |
} else { |
|
12880 |
} else { |
| 12873 |
__nl___5 = __dest___5->len + (size_t )delim->value.str.len; |
|
12881 |
__nl___5 = __dest___5->len + (size_t )delim->value.str.len; |
| 12874 |
if (__nl___5 >= __dest___5->a) { |
|
12882 |
if (__nl___5 >= __dest___5->a) { |
| 12875 |
__dest___5->a = __nl___5 + 128U; |
|
12883 |
__dest___5->a = __nl___5 + 128U; |
| 12876 |
tmp___31 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0); |
|
12884 |
tmp___31 = _erealloc((void *)__dest___5->c, __dest___5->a + 1U, 0); |
| 12877 |
__dest___5->c = (char *)((void *)tmp___31); |
|
12885 |
__dest___5->c = (char *)((void *)tmp___31); |
| 12878 |
} else { |
|
12886 |
} else { |
| 12879 |
|
|
12887 |
|
| 12880 |
} |
|
12888 |
} |
| 12881 |
} |
|
12889 |
} |
| 12882 |
break; |
|
12890 |
break; |
| 12883 |
} |
|
12891 |
} |
| 12884 |
memcpy((void *)(__dest___5->c + __dest___5->len), |
|
12892 |
memcpy((void *)(__dest___5->c + __dest___5->len), |
| 12885 |
(void const *)delim->value.str.val, |
|
12893 |
(void const *)delim->value.str.val, |
| 12886 |
(size_t )delim->value.str.len); |
|
12894 |
(size_t )delim->value.str.len); |
| 12887 |
__dest___5->len = __nl___5; |
|
12895 |
__dest___5->len = __nl___5; |
| 12888 |
break; |
|
12896 |
break; |
| 12889 |
} |
|
12897 |
} |
| 12890 |
} else { |
|
12898 |
} else { |
| 12891 |
|
|
12899 |
|
| 12892 |
} |
|
12900 |
} |
| 12893 |
zend_hash_move_forward_ex(arr->value.ht, & pos); |
|
12901 |
zend_hash_move_forward_ex(arr->value.ht, & pos); |
| 12894 |
} |
|
12902 |
} |
| 12895 |
while (1) { |
|
12903 |
while (1) { |
| 12896 |
if (implstr.c) { |
|
12904 |
if (implstr.c) { |
| 12897 |
*(implstr.c + implstr.len) = (char )'\000'; |
|
12905 |
*(implstr.c + implstr.len) = (char )'\000'; |
| 12898 |
} else { |
|
12906 |
} else { |
| 12899 |
|
|
12907 |
|
| 12900 |
} |
|
12908 |
} |
| 12901 |
break; |
|
12909 |
break; |
| 12902 |
} |
|
12910 |
} |
| 12903 |
if (implstr.len) { |
|
12911 |
if (implstr.len) { |
| 12904 |
while (1) { |
|
12912 |
while (1) { |
| 12905 |
__s = (char const *)implstr.c; |
|
12913 |
__s = (char const *)implstr.c; |
| 12906 |
__l = (int )implstr.len; |
|
12914 |
__l = (int )implstr.len; |
| 12907 |
__z___0 = return_value; |
|
12915 |
__z___0 = return_value; |
| 12908 |
__z___0->value.str.len = __l; |
|
12916 |
__z___0->value.str.len = __l; |
| 12909 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
12917 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 12910 |
__z___0->type = (zend_uchar )6; |
|
12918 |
__z___0->type = (zend_uchar )6; |
| 12911 |
break; |
|
12919 |
break; |
| 12912 |
} |
|
12920 |
} |
| 12913 |
return; |
|
12921 |
return; |
| 12914 |
} else { |
|
12922 |
} else { |
| 12915 |
while (1) { |
|
12923 |
while (1) { |
| 12916 |
__s___0 = & implstr; |
|
12924 |
__s___0 = & implstr; |
| 12917 |
if (__s___0->c) { |
|
12925 |
if (__s___0->c) { |
| 12918 |
_efree((void *)__s___0->c); |
|
12926 |
_efree((void *)__s___0->c); |
| 12919 |
__s___0->c = (char *)((void *)0); |
|
12927 |
__s___0->c = (char *)((void *)0); |
| 12920 |
} else { |
|
12928 |
} else { |
| 12921 |
|
|
12929 |
|
| 12922 |
} |
|
12930 |
} |
| 12923 |
tmp___34 = (size_t )0; |
|
12931 |
tmp___34 = (size_t )0; |
| 12924 |
__s___0->len = tmp___34; |
|
12932 |
__s___0->len = tmp___34; |
| 12925 |
__s___0->a = tmp___34; |
|
12933 |
__s___0->a = tmp___34; |
| 12926 |
break; |
|
12934 |
break; |
| 12927 |
} |
|
12935 |
} |
| 12928 |
while (1) { |
|
12936 |
while (1) { |
| 12929 |
__z___1 = return_value; |
|
12937 |
__z___1 = return_value; |
| 12930 |
__z___1->value.str.len = 0; |
|
12938 |
__z___1->value.str.len = 0; |
| 12931 |
tmp___35 = _estrndup("", sizeof("") - 1U); |
|
12939 |
tmp___35 = _estrndup("", sizeof("") - 1U); |
| 12932 |
__z___1->value.str.val = (char *)tmp___35; |
|
12940 |
__z___1->value.str.val = (char *)tmp___35; |
| 12933 |
__z___1->type = (zend_uchar )6; |
|
12941 |
__z___1->type = (zend_uchar )6; |
| 12934 |
break; |
|
12942 |
break; |
| 12935 |
} |
|
12943 |
} |
| 12936 |
return; |
|
12944 |
return; |
| 12937 |
} |
|
12945 |
} |
| 12938 |
} |
|
12946 |
} |
| 12939 |
} |
|
12947 |
} |
| 12940 |
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , |
|
12948 |
void zif_implode(int ht , zval *return_value , zval **return_value_ptr , |
| 12941 |
zval *this_ptr , int return_value_used ) |
|
12949 |
zval *this_ptr , int return_value_used ) |
| 12942 |
{ |
|
12950 |
{ |
| 12943 |
zval **arg1 ; |
|
12951 |
zval **arg1 ; |
| 12944 |
zval **arg2 ; |
|
12952 |
zval **arg2 ; |
| 12945 |
zval *delim ; |
|
12953 |
zval *delim ; |
| 12946 |
zval *arr ; |
|
12954 |
zval *arr ; |
| 12947 |
int __attribute__((__visibility__("default"))) tmp ; |
|
12955 |
int __attribute__((__visibility__("default"))) tmp ; |
| 12948 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
12956 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 12949 |
char const *__s ; |
|
12957 |
char const *__s ; |
| 12950 |
int __l ; |
|
12958 |
int __l ; |
| 12951 |
zval *__z ; |
|
12959 |
zval *__z ; |
| 12952 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
12960 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 12953 |
zval *new_zv ; |
|
12961 |
zval *new_zv ; |
| 12954 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
|
12962 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
| 12955 |
zend_uint tmp___3 ; |
|
12963 |
zend_uint tmp___3 ; |
| 12956 |
zval *new_zv___0 ; |
|
12964 |
zval *new_zv___0 ; |
| 12957 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
|
12965 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
| 12958 |
zend_uint tmp___5 ; |
|
12966 |
zend_uint tmp___5 ; |
| 12959 |
zend_bool tmp___6 ; |
|
12967 |
zend_bool tmp___6 ; |
| 12960 |
zval *new_zv___1 ; |
|
12968 |
zval *new_zv___1 ; |
| 12961 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
|
12969 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
| 12962 |
zend_uint tmp___8 ; |
|
12970 |
zend_uint tmp___8 ; |
| 12963 |
zend_bool tmp___9 ; |
|
12971 |
zend_bool tmp___9 ; |
| 12964 |
|
|
12972 |
|
| 12965 |
{ |
|
12973 |
{ |
| 12966 |
arg1 = (zval **)((void *)0); |
|
12974 |
arg1 = (zval **)((void *)0); |
| 12967 |
arg2 = (zval **)((void *)0); |
|
12975 |
arg2 = (zval **)((void *)0); |
| 12968 |
tmp = zend_parse_parameters(ht, "Z|Z", & arg1, & arg2); |
|
12976 |
tmp = zend_parse_parameters(ht, "Z|Z", & arg1, & arg2); |
| 12969 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
12977 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 12970 |
return; |
|
12978 |
return; |
| 12971 |
} else { |
|
12979 |
} else { |
| 12972 |
|
|
12980 |
|
| 12973 |
} |
|
12981 |
} |
| 12974 |
if ((unsigned int )arg2 == (unsigned int )((void *)0)) { |
|
12982 |
if ((unsigned int )arg2 == (unsigned int )((void *)0)) { |
| 12975 |
if ((int )(*arg1)->type != 4) { |
|
12983 |
if ((int )(*arg1)->type != 4) { |
| 12976 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
12984 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 12977 |
"Argument must be an array"); |
|
12985 |
"Argument must be an array"); |
| 12978 |
return; |
|
12986 |
return; |
| 12979 |
} else { |
|
12987 |
} else { |
| 12980 |
|
|
12988 |
|
| 12981 |
} |
|
12989 |
} |
| 12982 |
while (1) { |
|
12990 |
while (1) { |
| 12983 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
12991 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 12984 |
delim = (zval *)tmp___0; |
|
12992 |
delim = (zval *)tmp___0; |
| 12985 |
((zval_gc_info *)delim)->u.buffered = (gc_root_buffer *)((void *)0); |
|
12993 |
((zval_gc_info *)delim)->u.buffered = (gc_root_buffer *)((void *)0); |
| 12986 |
break; |
|
12994 |
break; |
| 12987 |
} |
|
12995 |
} |
| 12988 |
delim->refcount__gc = (zend_uint )1; |
|
12996 |
delim->refcount__gc = (zend_uint )1; |
| 12989 |
delim->is_ref__gc = (zend_uchar )0; |
|
12997 |
delim->is_ref__gc = (zend_uchar )0; |
| 12990 |
while (1) { |
|
12998 |
while (1) { |
| 12991 |
__s = ""; |
|
12999 |
__s = ""; |
| 12992 |
__l = (int )(sizeof("") - 1U); |
|
13000 |
__l = (int )(sizeof("") - 1U); |
| 12993 |
__z = delim; |
|
13001 |
__z = delim; |
| 12994 |
__z->value.str.len = __l; |
|
13002 |
__z->value.str.len = __l; |
| 12995 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
13003 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 12996 |
__z->type = (zend_uchar )6; |
|
13004 |
__z->type = (zend_uchar )6; |
| 12997 |
break; |
|
13005 |
break; |
| 12998 |
} |
|
13006 |
} |
| 12999 |
while (1) { |
|
13007 |
while (1) { |
| 13000 |
tmp___3 = zval_refcount_p(*arg1); |
|
13008 |
tmp___3 = zval_refcount_p(*arg1); |
| 13001 |
if (tmp___3 > 1U) { |
|
13009 |
if (tmp___3 > 1U) { |
| 13002 |
zval_delref_p(*arg1); |
|
13010 |
zval_delref_p(*arg1); |
| 13003 |
while (1) { |
|
13011 |
while (1) { |
| 13004 |
tmp___2 = _emalloc(sizeof(zval_gc_info )); |
|
13012 |
tmp___2 = _emalloc(sizeof(zval_gc_info )); |
| 13005 |
new_zv = (zval *)tmp___2; |
|
13013 |
new_zv = (zval *)tmp___2; |
| 13006 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
13014 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 13007 |
break; |
|
13015 |
break; |
| 13008 |
} |
|
13016 |
} |
| 13009 |
while (1) { |
|
13017 |
while (1) { |
| 13010 |
while (1) { |
|
13018 |
while (1) { |
| 13011 |
new_zv->value = (*arg1)->value; |
|
13019 |
new_zv->value = (*arg1)->value; |
| 13012 |
new_zv->type = (*arg1)->type; |
|
13020 |
new_zv->type = (*arg1)->type; |
| 13013 |
break; |
|
13021 |
break; |
| 13014 |
} |
|
13022 |
} |
| 13015 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
13023 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 13016 |
zval_unset_isref_p(new_zv); |
|
13024 |
zval_unset_isref_p(new_zv); |
| 13017 |
break; |
|
13025 |
break; |
| 13018 |
} |
|
13026 |
} |
| 13019 |
*arg1 = new_zv; |
|
13027 |
*arg1 = new_zv; |
| 13020 |
_zval_copy_ctor(new_zv); |
|
13028 |
_zval_copy_ctor(new_zv); |
| 13021 |
} else { |
|
13029 |
} else { |
| 13022 |
|
|
13030 |
|
| 13023 |
} |
|
13031 |
} |
| 13024 |
break; |
|
13032 |
break; |
| 13025 |
} |
|
13033 |
} |
| 13026 |
arr = *arg1; |
|
13034 |
arr = *arg1; |
| 13027 |
} else |
|
13035 |
} else |
| 13028 |
if ((int )(*arg1)->type == 4) { |
|
13036 |
if ((int )(*arg1)->type == 4) { |
| 13029 |
arr = *arg1; |
|
13037 |
arr = *arg1; |
| 13030 |
if ((int )(*arg2)->type != 6) { |
|
13038 |
if ((int )(*arg2)->type != 6) { |
| 13031 |
tmp___6 = zval_isref_p(*arg2); |
|
13039 |
tmp___6 = zval_isref_p(*arg2); |
| 13032 |
if (tmp___6) { |
|
13040 |
if (tmp___6) { |
| 13033 |
|
|
13041 |
|
| 13034 |
} else { |
|
13042 |
} else { |
| 13035 |
while (1) { |
|
13043 |
while (1) { |
| 13036 |
tmp___5 = zval_refcount_p(*arg2); |
|
13044 |
tmp___5 = zval_refcount_p(*arg2); |
| 13037 |
if (tmp___5 > 1U) { |
|
13045 |
if (tmp___5 > 1U) { |
| 13038 |
zval_delref_p(*arg2); |
|
13046 |
zval_delref_p(*arg2); |
| 13039 |
while (1) { |
|
13047 |
while (1) { |
| 13040 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
|
13048 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
| 13041 |
new_zv___0 = (zval *)tmp___4; |
|
13049 |
new_zv___0 = (zval *)tmp___4; |
| 13042 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
|
13050 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
| 13043 |
break; |
|
13051 |
break; |
| 13044 |
} |
|
13052 |
} |
| 13045 |
while (1) { |
|
13053 |
while (1) { |
| 13046 |
while (1) { |
|
13054 |
while (1) { |
| 13047 |
new_zv___0->value = (*arg2)->value; |
|
13055 |
new_zv___0->value = (*arg2)->value; |
| 13048 |
new_zv___0->type = (*arg2)->type; |
|
13056 |
new_zv___0->type = (*arg2)->type; |
| 13049 |
break; |
|
13057 |
break; |
| 13050 |
} |
|
13058 |
} |
| 13051 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
|
13059 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
| 13052 |
zval_unset_isref_p(new_zv___0); |
|
13060 |
zval_unset_isref_p(new_zv___0); |
| 13053 |
break; |
|
13061 |
break; |
| 13054 |
} |
|
13062 |
} |
| 13055 |
*arg2 = new_zv___0; |
|
13063 |
*arg2 = new_zv___0; |
| 13056 |
_zval_copy_ctor(new_zv___0); |
|
13064 |
_zval_copy_ctor(new_zv___0); |
| 13057 |
} else { |
|
13065 |
} else { |
| 13058 |
|
|
13066 |
|
| 13059 |
} |
|
13067 |
} |
| 13060 |
break; |
|
13068 |
break; |
| 13061 |
} |
|
13069 |
} |
| 13062 |
} |
|
13070 |
} |
| 13063 |
if ((int )(*arg2)->type != 6) { |
|
13071 |
if ((int )(*arg2)->type != 6) { |
| 13064 |
_convert_to_string(*arg2); |
|
13072 |
_convert_to_string(*arg2); |
| 13065 |
} else { |
|
13073 |
} else { |
| 13066 |
|
|
13074 |
|
| 13067 |
} |
|
13075 |
} |
| 13068 |
} else { |
|
13076 |
} else { |
| 13069 |
|
|
13077 |
|
| 13070 |
} |
|
13078 |
} |
| 13071 |
delim = *arg2; |
|
13079 |
delim = *arg2; |
| 13072 |
} else |
|
13080 |
} else |
| 13073 |
if ((int )(*arg2)->type == 4) { |
|
13081 |
if ((int )(*arg2)->type == 4) { |
| 13074 |
arr = *arg2; |
|
13082 |
arr = *arg2; |
| 13075 |
if ((int )(*arg1)->type != 6) { |
|
13083 |
if ((int )(*arg1)->type != 6) { |
| 13076 |
tmp___9 = zval_isref_p(*arg1); |
|
13084 |
tmp___9 = zval_isref_p(*arg1); |
| 13077 |
if (tmp___9) { |
|
13085 |
if (tmp___9) { |
| 13078 |
|
|
13086 |
|
| 13079 |
} else { |
|
13087 |
} else { |
| 13080 |
while (1) { |
|
13088 |
while (1) { |
| 13081 |
tmp___8 = zval_refcount_p(*arg1); |
|
13089 |
tmp___8 = zval_refcount_p(*arg1); |
| 13082 |
if (tmp___8 > 1U) { |
|
13090 |
if (tmp___8 > 1U) { |
| 13083 |
zval_delref_p(*arg1); |
|
13091 |
zval_delref_p(*arg1); |
| 13084 |
while (1) { |
|
13092 |
while (1) { |
| 13085 |
tmp___7 = _emalloc(sizeof(zval_gc_info )); |
|
13093 |
tmp___7 = _emalloc(sizeof(zval_gc_info )); |
| 13086 |
new_zv___1 = (zval *)tmp___7; |
|
13094 |
new_zv___1 = (zval *)tmp___7; |
| 13087 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
|
13095 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
| 13088 |
break; |
|
13096 |
break; |
| 13089 |
} |
|
13097 |
} |
| 13090 |
while (1) { |
|
13098 |
while (1) { |
| 13091 |
while (1) { |
|
13099 |
while (1) { |
| 13092 |
new_zv___1->value = (*arg1)->value; |
|
13100 |
new_zv___1->value = (*arg1)->value; |
| 13093 |
new_zv___1->type = (*arg1)->type; |
|
13101 |
new_zv___1->type = (*arg1)->type; |
| 13094 |
break; |
|
13102 |
break; |
| 13095 |
} |
|
13103 |
} |
| 13096 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
|
13104 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
| 13097 |
zval_unset_isref_p(new_zv___1); |
|
13105 |
zval_unset_isref_p(new_zv___1); |
| 13098 |
break; |
|
13106 |
break; |
| 13099 |
} |
|
13107 |
} |
| 13100 |
*arg1 = new_zv___1; |
|
13108 |
*arg1 = new_zv___1; |
| 13101 |
_zval_copy_ctor(new_zv___1); |
|
13109 |
_zval_copy_ctor(new_zv___1); |
| 13102 |
} else { |
|
13110 |
} else { |
| 13103 |
|
|
13111 |
|
| 13104 |
} |
|
13112 |
} |
| 13105 |
break; |
|
13113 |
break; |
| 13106 |
} |
|
13114 |
} |
| 13107 |
} |
|
13115 |
} |
| 13108 |
if ((int )(*arg1)->type != 6) { |
|
13116 |
if ((int )(*arg1)->type != 6) { |
| 13109 |
_convert_to_string(*arg1); |
|
13117 |
_convert_to_string(*arg1); |
| 13110 |
} else { |
|
13118 |
} else { |
| 13111 |
|
|
13119 |
|
| 13112 |
} |
|
13120 |
} |
| 13113 |
} else { |
|
13121 |
} else { |
| 13114 |
|
|
13122 |
|
| 13115 |
} |
|
13123 |
} |
| 13116 |
delim = *arg1; |
|
13124 |
delim = *arg1; |
| 13117 |
} else { |
|
13125 |
} else { |
| 13118 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
13126 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 13119 |
"Invalid arguments passed"); |
|
13127 |
"Invalid arguments passed"); |
| 13120 |
return; |
|
13128 |
return; |
| 13121 |
} |
|
13129 |
} |
| 13122 |
php_implode(delim, arr, return_value); |
|
13130 |
php_implode(delim, arr, return_value); |
| 13123 |
if ((unsigned int )arg2 == (unsigned int )((void *)0)) { |
|
13131 |
if ((unsigned int )arg2 == (unsigned int )((void *)0)) { |
| 13124 |
while (1) { |
|
13132 |
while (1) { |
| 13125 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)delim)->u.buffered & 4294967292UL)) { |
|
13133 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)delim)->u.buffered & 4294967292UL)) { |
| 13126 |
gc_remove_zval_from_buffer(delim); |
|
13134 |
gc_remove_zval_from_buffer(delim); |
| 13127 |
} else { |
|
13135 |
} else { |
| 13128 |
|
|
13136 |
|
| 13129 |
} |
|
13137 |
} |
| 13130 |
_efree((void *)delim); |
|
13138 |
_efree((void *)delim); |
| 13131 |
break; |
|
13139 |
break; |
| 13132 |
} |
|
13140 |
} |
| 13133 |
} else { |
|
13141 |
} else { |
| 13134 |
|
|
13142 |
|
| 13135 |
} |
|
13143 |
} |
| 13136 |
return; |
|
13144 |
return; |
| 13137 |
} |
|
13145 |
} |
| 13138 |
} |
|
13146 |
} |
| 13139 |
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , |
|
13147 |
void zif_strtok(int ht , zval *return_value , zval **return_value_ptr , |
| 13140 |
zval *this_ptr , int return_value_used ) |
|
13148 |
zval *this_ptr , int return_value_used ) |
| 13141 |
{ |
|
13149 |
{ |
| 13142 |
char *str ; |
|
13150 |
char *str ; |
| 13143 |
char *tok ; |
|
13151 |
char *tok ; |
| 13144 |
int str_len ; |
|
13152 |
int str_len ; |
| 13145 |
int tok_len ; |
|
13153 |
int tok_len ; |
| 13146 |
zval *zv ; |
|
13154 |
zval *zv ; |
| 13147 |
char *token ; |
|
13155 |
char *token ; |
| 13148 |
char *token_end ; |
|
13156 |
char *token_end ; |
| 13149 |
char *p ; |
|
13157 |
char *p ; |
| 13150 |
char *pe ; |
|
13158 |
char *pe ; |
| 13151 |
int skipped ; |
|
13159 |
int skipped ; |
| 13152 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13160 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13153 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13161 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13154 |
char const *__s ; |
|
13162 |
char const *__s ; |
| 13155 |
int __l ; |
|
13163 |
int __l ; |
| 13156 |
zval *__z ; |
|
13164 |
zval *__z ; |
| 13157 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13165 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13158 |
zval *__z___0 ; |
|
13166 |
zval *__z___0 ; |
| 13159 |
char *tmp___2 ; |
|
13167 |
char *tmp___2 ; |
| 13160 |
zval *__z___1 ; |
|
13168 |
zval *__z___1 ; |
| 13161 |
char const *__s___0 ; |
|
13169 |
char const *__s___0 ; |
| 13162 |
int __l___0 ; |
|
13170 |
int __l___0 ; |
| 13163 |
zval *__z___2 ; |
|
13171 |
zval *__z___2 ; |
| 13164 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
13172 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 13165 |
zval *__z___3 ; |
|
13173 |
zval *__z___3 ; |
| 13166 |
char *tmp___4 ; |
|
13174 |
char *tmp___4 ; |
| 13167 |
|
|
13175 |
|
| 13168 |
{ |
|
13176 |
{ |
| 13169 |
tok = (char *)((void *)0); |
|
13177 |
tok = (char *)((void *)0); |
| 13170 |
tok_len = 0; |
|
13178 |
tok_len = 0; |
| 13171 |
skipped = 0; |
|
13179 |
skipped = 0; |
| |
|
-+ |
13180 |
{ |
| 13172 |
tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & tok, & tok_len); |
= |
13181 |
tmp = zend_parse_parameters(ht, "s|s", & str, & str_len, & tok, & tok_len); |
| |
|
-+ |
13182 |
if (tok_len < 0) { |
| |
|
|
13183 |
return; |
| |
|
|
13184 |
} |
| |
|
|
13185 |
if (str_len < 0) { |
| |
|
|
13186 |
return; |
| |
|
|
13187 |
} |
| |
|
|
13188 |
} |
| 13173 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
13189 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13174 |
return; |
|
13190 |
return; |
| 13175 |
} else { |
|
13191 |
} else { |
| 13176 |
|
|
13192 |
|
| 13177 |
} |
|
13193 |
} |
| 13178 |
if (ht == 1) { |
|
13194 |
if (ht == 1) { |
| 13179 |
tok = str; |
|
13195 |
tok = str; |
| 13180 |
tok_len = str_len; |
|
13196 |
tok_len = str_len; |
| 13181 |
} else { |
|
13197 |
} else { |
| 13182 |
if (basic_globals.strtok_zval) { |
|
13198 |
if (basic_globals.strtok_zval) { |
| 13183 |
_zval_ptr_dtor(& basic_globals.strtok_zval); |
|
13199 |
_zval_ptr_dtor(& basic_globals.strtok_zval); |
| 13184 |
} else { |
|
13200 |
} else { |
| 13185 |
|
|
13201 |
|
| 13186 |
} |
|
13202 |
} |
| 13187 |
while (1) { |
|
13203 |
while (1) { |
| 13188 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
13204 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 13189 |
zv = (zval *)tmp___0; |
|
13205 |
zv = (zval *)tmp___0; |
| 13190 |
((zval_gc_info *)zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
13206 |
((zval_gc_info *)zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 13191 |
break; |
|
13207 |
break; |
| 13192 |
} |
|
13208 |
} |
| 13193 |
zv->refcount__gc = (zend_uint )1; |
|
13209 |
zv->refcount__gc = (zend_uint )1; |
| 13194 |
zv->is_ref__gc = (zend_uchar )0; |
|
13210 |
zv->is_ref__gc = (zend_uchar )0; |
| 13195 |
while (1) { |
|
13211 |
while (1) { |
| 13196 |
__s = (char const *)str; |
|
13212 |
__s = (char const *)str; |
| 13197 |
__l = str_len; |
|
13213 |
__l = str_len; |
| 13198 |
__z = zv; |
|
13214 |
__z = zv; |
| 13199 |
__z->value.str.len = __l; |
|
13215 |
__z->value.str.len = __l; |
| 13200 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
13216 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 13201 |
__z->value.str.val = (char *)tmp___1; |
|
13217 |
__z->value.str.val = (char *)tmp___1; |
| 13202 |
__z->type = (zend_uchar )6; |
|
13218 |
__z->type = (zend_uchar )6; |
| 13203 |
break; |
|
13219 |
break; |
| 13204 |
} |
|
13220 |
} |
| 13205 |
basic_globals.strtok_zval = zv; |
|
13221 |
basic_globals.strtok_zval = zv; |
| 13206 |
basic_globals.strtok_string = zv->value.str.val; |
|
13222 |
basic_globals.strtok_string = zv->value.str.val; |
| 13207 |
basic_globals.strtok_last = basic_globals.strtok_string; |
|
13223 |
basic_globals.strtok_last = basic_globals.strtok_string; |
| 13208 |
basic_globals.strtok_len = (ulong )str_len; |
|
13224 |
basic_globals.strtok_len = (ulong )str_len; |
| 13209 |
} |
|
13225 |
} |
| 13210 |
p = basic_globals.strtok_last; |
|
13226 |
p = basic_globals.strtok_last; |
| 13211 |
pe = basic_globals.strtok_string + basic_globals.strtok_len; |
|
13227 |
pe = basic_globals.strtok_string + basic_globals.strtok_len; |
| 13212 |
if (! p) { |
|
13228 |
if (! p) { |
| 13213 |
goto _L; |
|
13229 |
goto _L; |
| 13214 |
} else |
|
13230 |
} else |
| 13215 |
if ((unsigned int )p >= (unsigned int )pe) { |
|
13231 |
if ((unsigned int )p >= (unsigned int )pe) { |
| 13216 |
_L: |
|
13232 |
_L: |
| 13217 |
while (1) { |
|
13233 |
while (1) { |
| 13218 |
__z___0 = return_value; |
|
13234 |
__z___0 = return_value; |
| 13219 |
__z___0->value.lval = 0L; |
|
13235 |
__z___0->value.lval = 0L; |
| 13220 |
__z___0->type = (zend_uchar )3; |
|
13236 |
__z___0->type = (zend_uchar )3; |
| 13221 |
break; |
|
13237 |
break; |
| 13222 |
} |
|
13238 |
} |
| 13223 |
return; |
|
13239 |
return; |
| 13224 |
} else { |
|
13240 |
} else { |
| 13225 |
|
|
13241 |
|
| 13226 |
} |
|
13242 |
} |
| 13227 |
token = tok; |
|
13243 |
token = tok; |
| 13228 |
token_end = token + tok_len; |
|
13244 |
token_end = token + tok_len; |
| 13229 |
while ((unsigned int )token < (unsigned int )token_end) { |
|
13245 |
while ((unsigned int )token < (unsigned int )token_end) { |
| 13230 |
tmp___2 = token; |
|
13246 |
tmp___2 = token; |
| 13231 |
token ++; |
|
13247 |
token ++; |
| 13232 |
basic_globals.strtok_table[(unsigned char )*tmp___2] = (char)1; |
|
13248 |
basic_globals.strtok_table[(unsigned char )*tmp___2] = (char)1; |
| 13233 |
} |
|
13249 |
} |
| 13234 |
while (basic_globals.strtok_table[(unsigned char )*p]) { |
|
13250 |
while (basic_globals.strtok_table[(unsigned char )*p]) { |
| 13235 |
p ++; |
|
13251 |
p ++; |
| 13236 |
if ((unsigned int )p >= (unsigned int )pe) { |
|
13252 |
if ((unsigned int )p >= (unsigned int )pe) { |
| 13237 |
basic_globals.strtok_last = (char *)((void *)0); |
|
13253 |
basic_globals.strtok_last = (char *)((void *)0); |
| 13238 |
while (1) { |
|
13254 |
while (1) { |
| 13239 |
__z___1 = return_value; |
|
13255 |
__z___1 = return_value; |
| 13240 |
__z___1->value.lval = 0L; |
|
13256 |
__z___1->value.lval = 0L; |
| 13241 |
__z___1->type = (zend_uchar )3; |
|
13257 |
__z___1->type = (zend_uchar )3; |
| 13242 |
break; |
|
13258 |
break; |
| 13243 |
} |
|
13259 |
} |
| 13244 |
goto restore; |
|
13260 |
goto restore; |
| 13245 |
} else { |
|
13261 |
} else { |
| 13246 |
|
|
13262 |
|
| 13247 |
} |
|
13263 |
} |
| 13248 |
skipped ++; |
|
13264 |
skipped ++; |
| 13249 |
} |
|
13265 |
} |
| 13250 |
while (1) { |
|
13266 |
while (1) { |
| 13251 |
p ++; |
|
13267 |
p ++; |
| 13252 |
if ((unsigned int )p < (unsigned int )pe) { |
|
13268 |
if ((unsigned int )p < (unsigned int )pe) { |
| 13253 |
|
|
13269 |
|
| 13254 |
} else { |
|
13270 |
} else { |
| 13255 |
break; |
|
13271 |
break; |
| 13256 |
} |
|
13272 |
} |
| 13257 |
if (basic_globals.strtok_table[(unsigned char )*p]) { |
|
13273 |
if (basic_globals.strtok_table[(unsigned char )*p]) { |
| 13258 |
goto return_token; |
|
13274 |
goto return_token; |
| 13259 |
} else { |
|
13275 |
} else { |
| 13260 |
|
|
13276 |
|
| 13261 |
} |
|
13277 |
} |
| 13262 |
} |
|
13278 |
} |
| 13263 |
if (p - basic_globals.strtok_last) { |
|
13279 |
if (p - basic_globals.strtok_last) { |
| 13264 |
return_token: |
|
13280 |
return_token: |
| 13265 |
while (1) { |
|
13281 |
while (1) { |
| 13266 |
__s___0 = (char const *)(basic_globals.strtok_last + skipped); |
|
13282 |
__s___0 = (char const *)(basic_globals.strtok_last + skipped); |
| 13267 |
__l___0 = (p - basic_globals.strtok_last) - skipped; |
|
13283 |
__l___0 = (p - basic_globals.strtok_last) - skipped; |
| 13268 |
__z___2 = return_value; |
|
13284 |
__z___2 = return_value; |
| 13269 |
__z___2->value.str.len = __l___0; |
|
13285 |
__z___2->value.str.len = __l___0; |
| 13270 |
tmp___3 = _estrndup(__s___0, (unsigned int )__l___0); |
|
13286 |
tmp___3 = _estrndup(__s___0, (unsigned int )__l___0); |
| 13271 |
__z___2->value.str.val = (char *)tmp___3; |
|
13287 |
__z___2->value.str.val = (char *)tmp___3; |
| 13272 |
__z___2->type = (zend_uchar )6; |
|
13288 |
__z___2->type = (zend_uchar )6; |
| 13273 |
break; |
|
13289 |
break; |
| 13274 |
} |
|
13290 |
} |
| 13275 |
basic_globals.strtok_last = p + 1; |
|
13291 |
basic_globals.strtok_last = p + 1; |
| 13276 |
} else { |
|
13292 |
} else { |
| 13277 |
while (1) { |
|
13293 |
while (1) { |
| 13278 |
__z___3 = return_value; |
|
13294 |
__z___3 = return_value; |
| 13279 |
__z___3->value.lval = 0L; |
|
13295 |
__z___3->value.lval = 0L; |
| 13280 |
__z___3->type = (zend_uchar )3; |
|
13296 |
__z___3->type = (zend_uchar )3; |
| 13281 |
break; |
|
13297 |
break; |
| 13282 |
} |
|
13298 |
} |
| 13283 |
basic_globals.strtok_last = (char *)((void *)0); |
|
13299 |
basic_globals.strtok_last = (char *)((void *)0); |
| 13284 |
} |
|
13300 |
} |
| 13285 |
restore: |
|
13301 |
restore: |
| 13286 |
token = tok; |
|
13302 |
token = tok; |
| 13287 |
while ((unsigned int )token < (unsigned int )token_end) { |
|
13303 |
while ((unsigned int )token < (unsigned int )token_end) { |
| 13288 |
tmp___4 = token; |
|
13304 |
tmp___4 = token; |
| 13289 |
token ++; |
|
13305 |
token ++; |
| 13290 |
basic_globals.strtok_table[(unsigned char )*tmp___4] = (char)0; |
|
13306 |
basic_globals.strtok_table[(unsigned char )*tmp___4] = (char)0; |
| 13291 |
} |
|
13307 |
} |
| 13292 |
return; |
|
13308 |
return; |
| 13293 |
} |
|
13309 |
} |
| 13294 |
} |
|
13310 |
} |
| 13295 |
char __attribute__((__visibility__("default"))) *php_strtoupper(char *s , |
|
13311 |
char __attribute__((__visibility__("default"))) *php_strtoupper(char *s , |
| 13296 |
size_t len ) |
|
13312 |
size_t len ) |
| 13297 |
{ |
|
13313 |
{ |
| 13298 |
unsigned char *c ; |
|
13314 |
unsigned char *c ; |
| 13299 |
unsigned char *e ; |
|
13315 |
unsigned char *e ; |
| 13300 |
int __res ; |
|
13316 |
int __res ; |
| 13301 |
int __c ; |
|
13317 |
int __c ; |
| 13302 |
__int32_t const **tmp ; |
|
13318 |
__int32_t const **tmp ; |
| 13303 |
__int32_t const **tmp___0 ; |
|
13319 |
__int32_t const **tmp___0 ; |
| 13304 |
|
|
13320 |
|
| 13305 |
{ |
|
13321 |
{ |
| 13306 |
c = (unsigned char *)s; |
|
13322 |
c = (unsigned char *)s; |
| 13307 |
e = c + len; |
|
13323 |
e = c + len; |
| 13308 |
while ((unsigned int )c < (unsigned int )e) { |
|
13324 |
while ((unsigned int )c < (unsigned int )e) { |
| 13309 |
if (sizeof(*c) > 1U) { |
|
13325 |
if (sizeof(*c) > 1U) { |
| 13310 |
__res = toupper((int )*c); |
|
13326 |
__res = toupper((int )*c); |
| 13311 |
} else { |
|
13327 |
} else { |
| 13312 |
tmp___0 = __ctype_toupper_loc(); |
|
13328 |
tmp___0 = __ctype_toupper_loc(); |
| 13313 |
__res = (int )*(*tmp___0 + (int )*c); |
|
13329 |
__res = (int )*(*tmp___0 + (int )*c); |
| 13314 |
} |
|
13330 |
} |
| 13315 |
*c = (unsigned char )__res; |
|
13331 |
*c = (unsigned char )__res; |
| 13316 |
c ++; |
|
13332 |
c ++; |
| 13317 |
} |
|
13333 |
} |
| 13318 |
return ((char __attribute__((__visibility__("default"))) *)s); |
|
13334 |
return ((char __attribute__((__visibility__("default"))) *)s); |
| 13319 |
} |
|
13335 |
} |
| 13320 |
} |
|
13336 |
} |
| 13321 |
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , |
|
13337 |
void zif_strtoupper(int ht , zval *return_value , zval **return_value_ptr , |
| 13322 |
zval *this_ptr , int return_value_used ) |
|
13338 |
zval *this_ptr , int return_value_used ) |
| 13323 |
{ |
|
13339 |
{ |
| 13324 |
char *arg ; |
|
13340 |
char *arg ; |
| 13325 |
int arglen ; |
|
13341 |
int arglen ; |
| 13326 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13342 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13327 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13343 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13328 |
char const *__s ; |
|
13344 |
char const *__s ; |
| 13329 |
int __l ; |
|
13345 |
int __l ; |
| 13330 |
zval *__z ; |
|
13346 |
zval *__z ; |
| 13331 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13347 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13332 |
|
|
13348 |
|
| 13333 |
{ |
|
13349 |
{ |
| 13334 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
|
13350 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
| 13335 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
13351 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13336 |
return; |
|
13352 |
return; |
| 13337 |
} else { |
|
13353 |
} else { |
| 13338 |
|
|
13354 |
|
| 13339 |
} |
|
13355 |
} |
| 13340 |
tmp___0 = _estrndup((char const *)arg, (unsigned int )arglen); |
|
13356 |
tmp___0 = _estrndup((char const *)arg, (unsigned int )arglen); |
| 13341 |
arg = (char *)tmp___0; |
|
13357 |
arg = (char *)tmp___0; |
| 13342 |
php_strtoupper(arg, (size_t )arglen); |
|
13358 |
php_strtoupper(arg, (size_t )arglen); |
| 13343 |
while (1) { |
|
13359 |
while (1) { |
| 13344 |
__s = (char const *)arg; |
|
13360 |
__s = (char const *)arg; |
| 13345 |
__l = arglen; |
|
13361 |
__l = arglen; |
| 13346 |
__z = return_value; |
|
13362 |
__z = return_value; |
| 13347 |
__z->value.str.len = __l; |
|
13363 |
__z->value.str.len = __l; |
| 13348 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
13364 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 13349 |
__z->type = (zend_uchar )6; |
|
13365 |
__z->type = (zend_uchar )6; |
| 13350 |
break; |
|
13366 |
break; |
| 13351 |
} |
|
13367 |
} |
| 13352 |
return; |
|
13368 |
return; |
| 13353 |
} |
|
13369 |
} |
| 13354 |
} |
|
13370 |
} |
| 13355 |
char __attribute__((__visibility__("default"))) *php_strtolower(char *s , |
|
13371 |
char __attribute__((__visibility__("default"))) *php_strtolower(char *s , |
| 13356 |
size_t len ) |
|
13372 |
size_t len ) |
| 13357 |
{ |
|
13373 |
{ |
| 13358 |
unsigned char *c ; |
|
13374 |
unsigned char *c ; |
| 13359 |
unsigned char *e ; |
|
13375 |
unsigned char *e ; |
| 13360 |
int __res ; |
|
13376 |
int __res ; |
| 13361 |
int __c ; |
|
13377 |
int __c ; |
| 13362 |
__int32_t const **tmp ; |
|
13378 |
__int32_t const **tmp ; |
| 13363 |
__int32_t const **tmp___0 ; |
|
13379 |
__int32_t const **tmp___0 ; |
| 13364 |
|
|
13380 |
|
| 13365 |
{ |
|
13381 |
{ |
| 13366 |
c = (unsigned char *)s; |
|
13382 |
c = (unsigned char *)s; |
| 13367 |
e = c + len; |
|
13383 |
e = c + len; |
| 13368 |
while ((unsigned int )c < (unsigned int )e) { |
|
13384 |
while ((unsigned int )c < (unsigned int )e) { |
| 13369 |
if (sizeof(*c) > 1U) { |
|
13385 |
if (sizeof(*c) > 1U) { |
| 13370 |
__res = tolower((int )*c); |
|
13386 |
__res = tolower((int )*c); |
| 13371 |
} else { |
|
13387 |
} else { |
| 13372 |
tmp___0 = __ctype_tolower_loc(); |
|
13388 |
tmp___0 = __ctype_tolower_loc(); |
| 13373 |
__res = (int )*(*tmp___0 + (int )*c); |
|
13389 |
__res = (int )*(*tmp___0 + (int )*c); |
| 13374 |
} |
|
13390 |
} |
| 13375 |
*c = (unsigned char )__res; |
|
13391 |
*c = (unsigned char )__res; |
| 13376 |
c ++; |
|
13392 |
c ++; |
| 13377 |
} |
|
13393 |
} |
| 13378 |
return ((char __attribute__((__visibility__("default"))) *)s); |
|
13394 |
return ((char __attribute__((__visibility__("default"))) *)s); |
| 13379 |
} |
|
13395 |
} |
| 13380 |
} |
|
13396 |
} |
| 13381 |
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , |
|
13397 |
void zif_strtolower(int ht , zval *return_value , zval **return_value_ptr , |
| 13382 |
zval *this_ptr , int return_value_used ) |
|
13398 |
zval *this_ptr , int return_value_used ) |
| 13383 |
{ |
|
13399 |
{ |
| 13384 |
char *str ; |
|
13400 |
char *str ; |
| 13385 |
int arglen ; |
|
13401 |
int arglen ; |
| 13386 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13402 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13387 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13403 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13388 |
char const *__s ; |
|
13404 |
char const *__s ; |
| 13389 |
int __l ; |
|
13405 |
int __l ; |
| 13390 |
zval *__z ; |
|
13406 |
zval *__z ; |
| 13391 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13407 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13392 |
|
|
13408 |
|
| 13393 |
{ |
|
13409 |
{ |
| 13394 |
tmp = zend_parse_parameters(ht, "s", & str, & arglen); |
|
13410 |
tmp = zend_parse_parameters(ht, "s", & str, & arglen); |
| 13395 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
13411 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13396 |
return; |
|
13412 |
return; |
| 13397 |
} else { |
|
13413 |
} else { |
| 13398 |
|
|
13414 |
|
| 13399 |
} |
|
13415 |
} |
| 13400 |
tmp___0 = _estrndup((char const *)str, (unsigned int )arglen); |
|
13416 |
tmp___0 = _estrndup((char const *)str, (unsigned int )arglen); |
| 13401 |
str = (char *)tmp___0; |
|
13417 |
str = (char *)tmp___0; |
| 13402 |
php_strtolower(str, (size_t )arglen); |
|
13418 |
php_strtolower(str, (size_t )arglen); |
| 13403 |
while (1) { |
|
13419 |
while (1) { |
| 13404 |
__s = (char const *)str; |
|
13420 |
__s = (char const *)str; |
| 13405 |
__l = arglen; |
|
13421 |
__l = arglen; |
| 13406 |
__z = return_value; |
|
13422 |
__z = return_value; |
| 13407 |
__z->value.str.len = __l; |
|
13423 |
__z->value.str.len = __l; |
| 13408 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
13424 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 13409 |
__z->type = (zend_uchar )6; |
|
13425 |
__z->type = (zend_uchar )6; |
| 13410 |
break; |
|
13426 |
break; |
| 13411 |
} |
|
13427 |
} |
| 13412 |
return; |
|
13428 |
return; |
| 13413 |
} |
|
13429 |
} |
| 13414 |
} |
|
13430 |
} |
| 13415 |
void __attribute__((__visibility__("default"))) php_basename(char *s , |
|
13431 |
void __attribute__((__visibility__("default"))) php_basename(char *s , |
| 13416 |
size_t len , |
|
13432 |
size_t len , |
| 13417 |
char *suffix , |
|
13433 |
char *suffix , |
| 13418 |
size_t sufflen , |
|
13434 |
size_t sufflen , |
| 13419 |
char **p_ret , |
|
13435 |
char **p_ret , |
| 13420 |
size_t *p_len ) |
|
13436 |
size_t *p_len ) |
| 13421 |
{ |
|
13437 |
{ |
| 13422 |
char *ret ; |
|
13438 |
char *ret ; |
| 13423 |
char *c ; |
|
13439 |
char *c ; |
| 13424 |
char *comp ; |
|
13440 |
char *comp ; |
| 13425 |
char *cend ; |
|
13441 |
char *cend ; |
| 13426 |
size_t inc_len ; |
|
13442 |
size_t inc_len ; |
| 13427 |
size_t cnt ; |
|
13443 |
size_t cnt ; |
| 13428 |
int state ; |
|
13444 |
int state ; |
| 13429 |
int tmp ; |
|
13445 |
int tmp ; |
| 13430 |
int tmp___0 ; |
|
13446 |
int tmp___0 ; |
| 13431 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13447 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13432 |
|
|
13448 |
|
| 13433 |
{ |
|
13449 |
{ |
| 13434 |
ret = (char *)((void *)0); |
|
13450 |
ret = (char *)((void *)0); |
| 13435 |
cend = s; |
|
13451 |
cend = s; |
| 13436 |
comp = cend; |
|
13452 |
comp = cend; |
| 13437 |
c = comp; |
|
13453 |
c = comp; |
| 13438 |
cnt = len; |
|
13454 |
cnt = len; |
| 13439 |
state = 0; |
|
13455 |
state = 0; |
| 13440 |
while (cnt > 0U) { |
|
13456 |
while (cnt > 0U) { |
| 13441 |
if ((int )*c == 0) { |
|
13457 |
if ((int )*c == 0) { |
| 13442 |
inc_len = (size_t )1; |
|
13458 |
inc_len = (size_t )1; |
| 13443 |
} else { |
|
13459 |
} else { |
| 13444 |
tmp = mblen((char const *)c, cnt); |
|
13460 |
tmp = mblen((char const *)c, cnt); |
| 13445 |
inc_len = (size_t )tmp; |
|
13461 |
inc_len = (size_t )tmp; |
| 13446 |
} |
|
13462 |
} |
| 13447 |
switch (inc_len) { |
|
13463 |
switch (inc_len) { |
| 13448 |
case 4294967295U: |
|
13464 |
case 4294967295U: |
| 13449 |
case 4294967294U: |
|
13465 |
case 4294967294U: |
| 13450 |
inc_len = (size_t )1; |
|
13466 |
inc_len = (size_t )1; |
| 13451 |
mblen((char const *)((void *)0), (size_t )0); |
|
13467 |
mblen((char const *)((void *)0), (size_t )0); |
| 13452 |
break; |
|
13468 |
break; |
| 13453 |
case 0U: |
|
13469 |
case 0U: |
| 13454 |
goto quit_loop; |
|
13470 |
goto quit_loop; |
| 13455 |
case 1U: |
|
13471 |
case 1U: |
| 13456 |
if ((int )*c == 47) { |
|
13472 |
if ((int )*c == 47) { |
| 13457 |
if (state == 1) { |
|
13473 |
if (state == 1) { |
| 13458 |
state = 0; |
|
13474 |
state = 0; |
| 13459 |
cend = c; |
|
13475 |
cend = c; |
| 13460 |
} else { |
|
13476 |
} else { |
| 13461 |
|
|
13477 |
|
| 13462 |
} |
|
13478 |
} |
| 13463 |
} else |
|
13479 |
} else |
| 13464 |
if (state == 0) { |
|
13480 |
if (state == 0) { |
| 13465 |
comp = c; |
|
13481 |
comp = c; |
| 13466 |
state = 1; |
|
13482 |
state = 1; |
| 13467 |
} else { |
|
13483 |
} else { |
| 13468 |
|
|
13484 |
|
| 13469 |
} |
|
13485 |
} |
| 13470 |
break; |
|
13486 |
break; |
| 13471 |
default: |
|
13487 |
default: |
| 13472 |
if (state == 0) { |
|
13488 |
if (state == 0) { |
| 13473 |
comp = c; |
|
13489 |
comp = c; |
| 13474 |
state = 1; |
|
13490 |
state = 1; |
| 13475 |
} else { |
|
13491 |
} else { |
| 13476 |
|
|
13492 |
|
| 13477 |
} |
|
13493 |
} |
| 13478 |
break; |
|
13494 |
break; |
| 13479 |
} |
|
13495 |
} |
| 13480 |
c += inc_len; |
|
13496 |
c += inc_len; |
| 13481 |
cnt -= inc_len; |
|
13497 |
cnt -= inc_len; |
| 13482 |
} |
|
13498 |
} |
| 13483 |
quit_loop: |
|
13499 |
quit_loop: |
| 13484 |
if (state == 1) { |
|
13500 |
if (state == 1) { |
| 13485 |
cend = c; |
|
13501 |
cend = c; |
| 13486 |
} else { |
|
13502 |
} else { |
| 13487 |
|
|
13503 |
|
| 13488 |
} |
|
13504 |
} |
| 13489 |
if ((unsigned int )suffix != (unsigned int )((void *)0)) { |
|
13505 |
if ((unsigned int )suffix != (unsigned int )((void *)0)) { |
| 13490 |
if (sufflen < (uint )(cend - comp)) { |
|
13506 |
if (sufflen < (uint )(cend - comp)) { |
| 13491 |
tmp___0 = memcmp((void const *)(cend - sufflen), (void const *)suffix, |
|
13507 |
tmp___0 = memcmp((void const *)(cend - sufflen), (void const *)suffix, |
| 13492 |
sufflen); |
|
13508 |
sufflen); |
| 13493 |
if (tmp___0 == 0) { |
|
13509 |
if (tmp___0 == 0) { |
| 13494 |
cend -= sufflen; |
|
13510 |
cend -= sufflen; |
| 13495 |
} else { |
|
13511 |
} else { |
| 13496 |
|
|
13512 |
|
| 13497 |
} |
|
13513 |
} |
| 13498 |
} else { |
|
13514 |
} else { |
| 13499 |
|
|
13515 |
|
| 13500 |
} |
|
13516 |
} |
| 13501 |
} else { |
|
13517 |
} else { |
| 13502 |
|
|
13518 |
|
| 13503 |
} |
|
13519 |
} |
| 13504 |
len = (size_t )(cend - comp); |
|
13520 |
len = (size_t )(cend - comp); |
| 13505 |
if (p_ret) { |
|
13521 |
if (p_ret) { |
| 13506 |
tmp___1 = _emalloc(len + 1U); |
|
13522 |
tmp___1 = _emalloc(len + 1U); |
| 13507 |
ret = (char *)tmp___1; |
|
13523 |
ret = (char *)tmp___1; |
| 13508 |
memcpy((void *)ret, (void const *)comp, |
|
13524 |
memcpy((void *)ret, (void const *)comp, |
| 13509 |
len); |
|
13525 |
len); |
| 13510 |
*(ret + len) = (char )'\000'; |
|
13526 |
*(ret + len) = (char )'\000'; |
| 13511 |
*p_ret = ret; |
|
13527 |
*p_ret = ret; |
| 13512 |
} else { |
|
13528 |
} else { |
| 13513 |
|
|
13529 |
|
| 13514 |
} |
|
13530 |
} |
| 13515 |
if (p_len) { |
|
13531 |
if (p_len) { |
| 13516 |
*p_len = len; |
|
13532 |
*p_len = len; |
| 13517 |
} else { |
|
13533 |
} else { |
| 13518 |
|
|
13534 |
|
| 13519 |
} |
|
13535 |
} |
| 13520 |
return; |
|
13536 |
return; |
| 13521 |
} |
|
13537 |
} |
| 13522 |
} |
|
13538 |
} |
| 13523 |
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , |
|
13539 |
void zif_basename(int ht , zval *return_value , zval **return_value_ptr , |
| 13524 |
zval *this_ptr , int return_value_used ) |
|
13540 |
zval *this_ptr , int return_value_used ) |
| 13525 |
{ |
|
13541 |
{ |
| 13526 |
char *string ; |
|
13542 |
char *string ; |
| 13527 |
char *suffix ; |
|
13543 |
char *suffix ; |
| 13528 |
char *ret ; |
|
13544 |
char *ret ; |
| 13529 |
int string_len ; |
|
13545 |
int string_len ; |
| 13530 |
int suffix_len ; |
|
13546 |
int suffix_len ; |
| 13531 |
size_t ret_len ; |
|
13547 |
size_t ret_len ; |
| 13532 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13548 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13533 |
char const *__s ; |
|
13549 |
char const *__s ; |
| 13534 |
int __l ; |
|
13550 |
int __l ; |
| 13535 |
zval *__z ; |
|
13551 |
zval *__z ; |
| 13536 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13552 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13537 |
|
|
13553 |
|
| 13538 |
{ |
|
13554 |
{ |
| 13539 |
suffix = (char *)((void *)0); |
|
13555 |
suffix = (char *)((void *)0); |
| 13540 |
suffix_len = 0; |
|
13556 |
suffix_len = 0; |
| |
|
-+ |
13557 |
{ |
| 13541 |
tmp = zend_parse_parameters(ht, "s|s", & string, & string_len, & suffix, |
= |
13558 |
tmp = zend_parse_parameters(ht, "s|s", & string, & string_len, & suffix, |
| 13542 |
& suffix_len); |
|
13559 |
& suffix_len); |
| |
|
-+ |
13560 |
if (suffix_len < 0) { |
| |
|
|
13561 |
return; |
| |
|
|
13562 |
} |
| |
|
|
13563 |
if (string_len < 0) { |
| |
|
|
13564 |
return; |
| |
|
|
13565 |
} |
| |
|
|
13566 |
} |
| 13543 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
13567 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13544 |
return; |
|
13568 |
return; |
| 13545 |
} else { |
|
13569 |
} else { |
| 13546 |
|
|
13570 |
|
| 13547 |
} |
|
13571 |
} |
| 13548 |
php_basename(string, (size_t )string_len, suffix, (size_t )suffix_len, & ret, |
|
13572 |
php_basename(string, (size_t )string_len, suffix, (size_t )suffix_len, & ret, |
| 13549 |
& ret_len); |
|
13573 |
& ret_len); |
| 13550 |
while (1) { |
|
13574 |
while (1) { |
| 13551 |
__s = (char const *)ret; |
|
13575 |
__s = (char const *)ret; |
| 13552 |
__l = (int )ret_len; |
|
13576 |
__l = (int )ret_len; |
| 13553 |
__z = return_value; |
|
13577 |
__z = return_value; |
| 13554 |
__z->value.str.len = __l; |
|
13578 |
__z->value.str.len = __l; |
| 13555 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
13579 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 13556 |
__z->type = (zend_uchar )6; |
|
13580 |
__z->type = (zend_uchar )6; |
| 13557 |
break; |
|
13581 |
break; |
| 13558 |
} |
|
13582 |
} |
| 13559 |
return; |
|
13583 |
return; |
| 13560 |
} |
|
13584 |
} |
| 13561 |
} |
|
13585 |
} |
| 13562 |
size_t __attribute__((__visibility__("default"))) php_dirname(char *path , |
|
13586 |
size_t __attribute__((__visibility__("default"))) php_dirname(char *path , |
| 13563 |
size_t len ) |
|
13587 |
size_t len ) |
| 13564 |
{ |
|
13588 |
{ |
| 13565 |
size_t __attribute__((__visibility__("default"))) tmp ; |
|
13589 |
size_t __attribute__((__visibility__("default"))) tmp ; |
| 13566 |
|
|
13590 |
|
| 13567 |
{ |
|
13591 |
{ |
| 13568 |
tmp = zend_dirname(path, len); |
|
13592 |
tmp = zend_dirname(path, len); |
| 13569 |
return (tmp); |
|
13593 |
return (tmp); |
| 13570 |
} |
|
13594 |
} |
| 13571 |
} |
|
13595 |
} |
| 13572 |
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , |
|
13596 |
void zif_dirname(int ht , zval *return_value , zval **return_value_ptr , |
| 13573 |
zval *this_ptr , int return_value_used ) |
|
13597 |
zval *this_ptr , int return_value_used ) |
| 13574 |
{ |
|
13598 |
{ |
| 13575 |
char *str ; |
|
13599 |
char *str ; |
| 13576 |
char *ret ; |
|
13600 |
char *ret ; |
| 13577 |
int str_len ; |
|
13601 |
int str_len ; |
| 13578 |
size_t ret_len ; |
|
13602 |
size_t ret_len ; |
| 13579 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13603 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13580 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13604 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13581 |
size_t __attribute__((__visibility__("default"))) tmp___1 ; |
|
13605 |
size_t __attribute__((__visibility__("default"))) tmp___1 ; |
| 13582 |
char const *__s ; |
|
13606 |
char const *__s ; |
| 13583 |
int __l ; |
|
13607 |
int __l ; |
| 13584 |
zval *__z ; |
|
13608 |
zval *__z ; |
| 13585 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
13609 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 13586 |
|
|
13610 |
|
| 13587 |
{ |
|
13611 |
{ |
| 13588 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
13612 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 13589 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
13613 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13590 |
return; |
|
13614 |
return; |
| 13591 |
} else { |
|
13615 |
} else { |
| 13592 |
|
|
13616 |
|
| 13593 |
} |
|
13617 |
} |
| 13594 |
tmp___0 = _estrndup((char const *)str, (unsigned int )str_len); |
|
13618 |
tmp___0 = _estrndup((char const *)str, (unsigned int )str_len); |
| 13595 |
ret = (char *)tmp___0; |
|
13619 |
ret = (char *)tmp___0; |
| 13596 |
tmp___1 = php_dirname(ret, (size_t )str_len); |
|
13620 |
tmp___1 = php_dirname(ret, (size_t )str_len); |
| 13597 |
ret_len = (size_t )tmp___1; |
|
13621 |
ret_len = (size_t )tmp___1; |
| 13598 |
while (1) { |
|
13622 |
while (1) { |
| 13599 |
__s = (char const *)ret; |
|
13623 |
__s = (char const *)ret; |
| 13600 |
__l = (int )ret_len; |
|
13624 |
__l = (int )ret_len; |
| 13601 |
__z = return_value; |
|
13625 |
__z = return_value; |
| 13602 |
__z->value.str.len = __l; |
|
13626 |
__z->value.str.len = __l; |
| 13603 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
13627 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 13604 |
__z->type = (zend_uchar )6; |
|
13628 |
__z->type = (zend_uchar )6; |
| 13605 |
break; |
|
13629 |
break; |
| 13606 |
} |
|
13630 |
} |
| 13607 |
return; |
|
13631 |
return; |
| 13608 |
} |
|
13632 |
} |
| 13609 |
} |
|
13633 |
} |
| 13610 |
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , |
|
13634 |
void zif_pathinfo(int ht , zval *return_value , zval **return_value_ptr , |
| 13611 |
zval *this_ptr , int return_value_used ) |
|
13635 |
zval *this_ptr , int return_value_used ) |
| 13612 |
{ |
|
13636 |
{ |
| 13613 |
zval *tmp ; |
|
13637 |
zval *tmp ; |
| 13614 |
char *path ; |
|
13638 |
char *path ; |
| 13615 |
char *ret ; |
|
13639 |
char *ret ; |
| 13616 |
int path_len ; |
|
13640 |
int path_len ; |
| 13617 |
int have_basename ; |
|
13641 |
int have_basename ; |
| 13618 |
size_t ret_len ; |
|
13642 |
size_t ret_len ; |
| 13619 |
long opt ; |
|
13643 |
long opt ; |
| 13620 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
13644 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 13621 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13645 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13622 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
13646 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 13623 |
size_t tmp___3 ; |
|
13647 |
size_t tmp___3 ; |
| 13624 |
size_t tmp___4 ; |
|
13648 |
size_t tmp___4 ; |
| 13625 |
char const *p ; |
|
13649 |
char const *p ; |
| 13626 |
int idx ; |
|
13650 |
int idx ; |
| 13627 |
void const *tmp___5 ; |
|
13651 |
void const *tmp___5 ; |
| 13628 |
size_t tmp___6 ; |
|
13652 |
size_t tmp___6 ; |
| 13629 |
char const *p___0 ; |
|
13653 |
char const *p___0 ; |
| 13630 |
int idx___0 ; |
|
13654 |
int idx___0 ; |
| 13631 |
void const *tmp___7 ; |
|
13655 |
void const *tmp___7 ; |
| 13632 |
size_t tmp___8 ; |
|
13656 |
size_t tmp___8 ; |
| 13633 |
zend_uchar is_ref ; |
|
13657 |
zend_uchar is_ref ; |
| 13634 |
zend_bool tmp___9 ; |
|
13658 |
zend_bool tmp___9 ; |
| 13635 |
zend_uint refcount ; |
|
13659 |
zend_uint refcount ; |
| 13636 |
zend_uint tmp___10 ; |
|
13660 |
zend_uint tmp___10 ; |
| 13637 |
zval **element ; |
|
13661 |
zval **element ; |
| 13638 |
zend_uchar is_ref___0 ; |
|
13662 |
zend_uchar is_ref___0 ; |
| 13639 |
zend_bool tmp___11 ; |
|
13663 |
zend_bool tmp___11 ; |
| 13640 |
zend_uint refcount___0 ; |
|
13664 |
zend_uint refcount___0 ; |
| 13641 |
zend_uint tmp___12 ; |
|
13665 |
zend_uint tmp___12 ; |
| 13642 |
zval *__z ; |
|
13666 |
zval *__z ; |
| 13643 |
char __attribute__((__visibility__("default"))) *tmp___13 ; |
|
13667 |
char __attribute__((__visibility__("default"))) *tmp___13 ; |
| 13644 |
int __attribute__((__visibility__("default"))) tmp___14 ; |
|
13668 |
int __attribute__((__visibility__("default"))) tmp___14 ; |
| 13645 |
|
|
13669 |
|
| 13646 |
{ |
|
13670 |
{ |
| 13647 |
ret = (char *)((void *)0); |
|
13671 |
ret = (char *)((void *)0); |
| 13648 |
opt = 15L; |
|
13672 |
opt = 15L; |
| 13649 |
tmp___0 = zend_parse_parameters(ht, "s|l", & path, & path_len, & opt); |
|
13673 |
tmp___0 = zend_parse_parameters(ht, "s|l", & path, & path_len, & opt); |
| 13650 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
|
13674 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
| 13651 |
return; |
|
13675 |
return; |
| 13652 |
} else { |
|
13676 |
} else { |
| 13653 |
|
|
13677 |
|
| 13654 |
} |
|
13678 |
} |
| 13655 |
have_basename = (opt & 2L) == 2L; |
|
13679 |
have_basename = (opt & 2L) == 2L; |
| 13656 |
while (1) { |
|
13680 |
while (1) { |
| 13657 |
tmp___1 = _emalloc(sizeof(zval_gc_info )); |
|
13681 |
tmp___1 = _emalloc(sizeof(zval_gc_info )); |
| 13658 |
tmp = (zval *)tmp___1; |
|
13682 |
tmp = (zval *)tmp___1; |
| 13659 |
((zval_gc_info *)tmp)->u.buffered = (gc_root_buffer *)((void *)0); |
|
13683 |
((zval_gc_info *)tmp)->u.buffered = (gc_root_buffer *)((void *)0); |
| 13660 |
break; |
|
13684 |
break; |
| 13661 |
} |
|
13685 |
} |
| 13662 |
tmp->refcount__gc = (zend_uint )1; |
|
13686 |
tmp->refcount__gc = (zend_uint )1; |
| 13663 |
tmp->is_ref__gc = (zend_uchar )0; |
|
13687 |
tmp->is_ref__gc = (zend_uchar )0; |
| 13664 |
_array_init(tmp, (uint )0); |
|
13688 |
_array_init(tmp, (uint )0); |
| 13665 |
if ((opt & 1L) == 1L) { |
|
13689 |
if ((opt & 1L) == 1L) { |
| 13666 |
tmp___2 = _estrndup((char const *)path, (unsigned int )path_len); |
|
13690 |
tmp___2 = _estrndup((char const *)path, (unsigned int )path_len); |
| 13667 |
ret = (char *)tmp___2; |
|
13691 |
ret = (char *)tmp___2; |
| 13668 |
php_dirname(ret, (size_t )path_len); |
|
13692 |
php_dirname(ret, (size_t )path_len); |
| 13669 |
if (*ret) { |
|
13693 |
if (*ret) { |
| 13670 |
tmp___3 = strlen("dirname"); |
|
13694 |
tmp___3 = strlen("dirname"); |
| 13671 |
add_assoc_string_ex(tmp, "dirname", tmp___3 + 1U, ret, 1); |
|
13695 |
add_assoc_string_ex(tmp, "dirname", tmp___3 + 1U, ret, 1); |
| 13672 |
} else { |
|
13696 |
} else { |
| 13673 |
|
|
13697 |
|
| 13674 |
} |
|
13698 |
} |
| 13675 |
_efree((void *)ret); |
|
13699 |
_efree((void *)ret); |
| 13676 |
ret = (char *)((void *)0); |
|
13700 |
ret = (char *)((void *)0); |
| 13677 |
} else { |
|
13701 |
} else { |
| 13678 |
|
|
13702 |
|
| 13679 |
} |
|
13703 |
} |
| 13680 |
if (have_basename) { |
|
13704 |
if (have_basename) { |
| 13681 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
|
13705 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
| 13682 |
& ret, & ret_len); |
|
13706 |
& ret, & ret_len); |
| 13683 |
tmp___4 = strlen("basename"); |
|
13707 |
tmp___4 = strlen("basename"); |
| 13684 |
add_assoc_stringl_ex(tmp, "basename", tmp___4 + 1U, ret, ret_len, 0); |
|
13708 |
add_assoc_stringl_ex(tmp, "basename", tmp___4 + 1U, ret, ret_len, 0); |
| 13685 |
} else { |
|
13709 |
} else { |
| 13686 |
|
|
13710 |
|
| 13687 |
} |
|
13711 |
} |
| 13688 |
if ((opt & 4L) == 4L) { |
|
13712 |
if ((opt & 4L) == 4L) { |
| 13689 |
if (! have_basename) { |
|
13713 |
if (! have_basename) { |
| 13690 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
|
13714 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
| 13691 |
& ret, & ret_len); |
|
13715 |
& ret, & ret_len); |
| 13692 |
} else { |
|
13716 |
} else { |
| 13693 |
|
|
13717 |
|
| 13694 |
} |
|
13718 |
} |
| 13695 |
tmp___5 = zend_memrchr((void const *)ret, '.', ret_len); |
|
13719 |
tmp___5 = zend_memrchr((void const *)ret, '.', ret_len); |
| 13696 |
p = (char const *)tmp___5; |
|
13720 |
p = (char const *)tmp___5; |
| 13697 |
if (p) { |
|
13721 |
if (p) { |
| 13698 |
idx = p - (char const *)ret; |
|
13722 |
idx = p - (char const *)ret; |
| 13699 |
tmp___6 = strlen("extension"); |
|
13723 |
tmp___6 = strlen("extension"); |
| 13700 |
add_assoc_stringl_ex(tmp, "extension", tmp___6 + 1U, (ret + idx) + 1, |
|
13724 |
add_assoc_stringl_ex(tmp, "extension", tmp___6 + 1U, (ret + idx) + 1, |
| 13701 |
(ret_len - (size_t )idx) - 1U, 1); |
|
13725 |
(ret_len - (size_t )idx) - 1U, 1); |
| 13702 |
} else { |
|
13726 |
} else { |
| 13703 |
|
|
13727 |
|
| 13704 |
} |
|
13728 |
} |
| 13705 |
} else { |
|
13729 |
} else { |
| 13706 |
|
|
13730 |
|
| 13707 |
} |
|
13731 |
} |
| 13708 |
if ((opt & 8L) == 8L) { |
|
13732 |
if ((opt & 8L) == 8L) { |
| 13709 |
if (! have_basename) { |
|
13733 |
if (! have_basename) { |
| 13710 |
if (! ret) { |
|
13734 |
if (! ret) { |
| 13711 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
|
13735 |
php_basename(path, (size_t )path_len, (char *)((void *)0), (size_t )0, |
| 13712 |
& ret, & ret_len); |
|
13736 |
& ret, & ret_len); |
| 13713 |
} else { |
|
13737 |
} else { |
| 13714 |
|
|
13738 |
|
| 13715 |
} |
|
13739 |
} |
| 13716 |
} else { |
|
13740 |
} else { |
| 13717 |
|
|
13741 |
|
| 13718 |
} |
|
13742 |
} |
| 13719 |
tmp___7 = zend_memrchr((void const *)ret, '.', ret_len); |
|
13743 |
tmp___7 = zend_memrchr((void const *)ret, '.', ret_len); |
| 13720 |
p___0 = (char const *)tmp___7; |
|
13744 |
p___0 = (char const *)tmp___7; |
| 13721 |
if (p___0) { |
|
13745 |
if (p___0) { |
| 13722 |
idx___0 = p___0 - (char const *)ret; |
|
13746 |
idx___0 = p___0 - (char const *)ret; |
| 13723 |
} else { |
|
13747 |
} else { |
| 13724 |
idx___0 = (int )ret_len; |
|
13748 |
idx___0 = (int )ret_len; |
| 13725 |
} |
|
13749 |
} |
| 13726 |
tmp___8 = strlen("filename"); |
|
13750 |
tmp___8 = strlen("filename"); |
| 13727 |
add_assoc_stringl_ex(tmp, "filename", tmp___8 + 1U, ret, (uint )idx___0, 1); |
|
13751 |
add_assoc_stringl_ex(tmp, "filename", tmp___8 + 1U, ret, (uint )idx___0, 1); |
| 13728 |
} else { |
|
13752 |
} else { |
| 13729 |
|
|
13753 |
|
| 13730 |
} |
|
13754 |
} |
| 13731 |
if (! have_basename) { |
|
13755 |
if (! have_basename) { |
| 13732 |
if (ret) { |
|
13756 |
if (ret) { |
| 13733 |
_efree((void *)ret); |
|
13757 |
_efree((void *)ret); |
| 13734 |
} else { |
|
13758 |
} else { |
| 13735 |
|
|
13759 |
|
| 13736 |
} |
|
13760 |
} |
| 13737 |
} else { |
|
13761 |
} else { |
| 13738 |
|
|
13762 |
|
| 13739 |
} |
|
13763 |
} |
| 13740 |
if (opt == 15L) { |
|
13764 |
if (opt == 15L) { |
| 13741 |
tmp___9 = zval_isref_p(return_value); |
|
13765 |
tmp___9 = zval_isref_p(return_value); |
| 13742 |
is_ref = tmp___9; |
|
13766 |
is_ref = tmp___9; |
| 13743 |
tmp___10 = zval_refcount_p(return_value); |
|
13767 |
tmp___10 = zval_refcount_p(return_value); |
| 13744 |
refcount = tmp___10; |
|
13768 |
refcount = tmp___10; |
| 13745 |
while (1) { |
|
13769 |
while (1) { |
| 13746 |
return_value->value = tmp->value; |
|
13770 |
return_value->value = tmp->value; |
| 13747 |
return_value->type = tmp->type; |
|
13771 |
return_value->type = tmp->type; |
| 13748 |
break; |
|
13772 |
break; |
| 13749 |
} |
|
13773 |
} |
| 13750 |
tmp->type = (zend_uchar )0; |
|
13774 |
tmp->type = (zend_uchar )0; |
| 13751 |
_zval_ptr_dtor(& tmp); |
|
13775 |
_zval_ptr_dtor(& tmp); |
| 13752 |
zval_set_isref_to_p(return_value, is_ref); |
|
13776 |
zval_set_isref_to_p(return_value, is_ref); |
| 13753 |
zval_set_refcount_p(return_value, refcount); |
|
13777 |
zval_set_refcount_p(return_value, refcount); |
| 13754 |
return; |
|
13778 |
return; |
| 13755 |
} else { |
|
13779 |
} else { |
| 13756 |
tmp___14 = zend_hash_get_current_data_ex(tmp->value.ht, |
|
13780 |
tmp___14 = zend_hash_get_current_data_ex(tmp->value.ht, |
| 13757 |
(void **)(& element), |
|
13781 |
(void **)(& element), |
| 13758 |
(HashPosition *)((void *)0)); |
|
13782 |
(HashPosition *)((void *)0)); |
| 13759 |
if (tmp___14 == (int __attribute__((__visibility__("default"))) )0) { |
|
13783 |
if (tmp___14 == (int __attribute__((__visibility__("default"))) )0) { |
| 13760 |
tmp___11 = zval_isref_p(return_value); |
|
13784 |
tmp___11 = zval_isref_p(return_value); |
| 13761 |
is_ref___0 = tmp___11; |
|
13785 |
is_ref___0 = tmp___11; |
| 13762 |
tmp___12 = zval_refcount_p(return_value); |
|
13786 |
tmp___12 = zval_refcount_p(return_value); |
| 13763 |
refcount___0 = tmp___12; |
|
13787 |
refcount___0 = tmp___12; |
| 13764 |
while (1) { |
|
13788 |
while (1) { |
| 13765 |
return_value->value = (*element)->value; |
|
13789 |
return_value->value = (*element)->value; |
| 13766 |
return_value->type = (*element)->type; |
|
13790 |
return_value->type = (*element)->type; |
| 13767 |
break; |
|
13791 |
break; |
| 13768 |
} |
|
13792 |
} |
| 13769 |
_zval_copy_ctor(return_value); |
|
13793 |
_zval_copy_ctor(return_value); |
| 13770 |
zval_set_isref_to_p(return_value, is_ref___0); |
|
13794 |
zval_set_isref_to_p(return_value, is_ref___0); |
| 13771 |
zval_set_refcount_p(return_value, refcount___0); |
|
13795 |
zval_set_refcount_p(return_value, refcount___0); |
| 13772 |
} else { |
|
13796 |
} else { |
| 13773 |
while (1) { |
|
13797 |
while (1) { |
| 13774 |
__z = return_value; |
|
13798 |
__z = return_value; |
| 13775 |
__z->value.str.len = 0; |
|
13799 |
__z->value.str.len = 0; |
| 13776 |
tmp___13 = _estrndup("", sizeof("") - 1U); |
|
13800 |
tmp___13 = _estrndup("", sizeof("") - 1U); |
| 13777 |
__z->value.str.val = (char *)tmp___13; |
|
13801 |
__z->value.str.val = (char *)tmp___13; |
| 13778 |
__z->type = (zend_uchar )6; |
|
13802 |
__z->type = (zend_uchar )6; |
| 13779 |
break; |
|
13803 |
break; |
| 13780 |
} |
|
13804 |
} |
| 13781 |
} |
|
13805 |
} |
| 13782 |
} |
|
13806 |
} |
| 13783 |
_zval_ptr_dtor(& tmp); |
|
13807 |
_zval_ptr_dtor(& tmp); |
| 13784 |
return; |
|
13808 |
return; |
| 13785 |
} |
|
13809 |
} |
| 13786 |
} |
|
13810 |
} |
| 13787 |
char __attribute__((__visibility__("default"))) *php_stristr(char *s , |
|
13811 |
char __attribute__((__visibility__("default"))) *php_stristr(char *s , |
| 13788 |
char *t , |
|
13812 |
char *t , |
| 13789 |
size_t s_len , |
|
13813 |
size_t s_len , |
| 13790 |
size_t t_len ) |
|
13814 |
size_t t_len ) |
| 13791 |
{ |
|
13815 |
{ |
| 13792 |
char *tmp ; |
|
13816 |
char *tmp ; |
| 13793 |
|
|
13817 |
|
| 13794 |
{ |
|
13818 |
{ |
| 13795 |
php_strtolower(s, s_len); |
|
13819 |
php_strtolower(s, s_len); |
| 13796 |
php_strtolower(t, t_len); |
|
13820 |
php_strtolower(t, t_len); |
| 13797 |
tmp = zend_memnstr(s, t, (int )t_len, s + s_len); |
|
13821 |
tmp = zend_memnstr(s, t, (int )t_len, s + s_len); |
| 13798 |
return ((char __attribute__((__visibility__("default"))) *)tmp); |
|
13822 |
return ((char __attribute__((__visibility__("default"))) *)tmp); |
| 13799 |
} |
|
13823 |
} |
| 13800 |
} |
|
13824 |
} |
| 13801 |
size_t __attribute__((__visibility__("default"))) php_strspn(char *s1 , |
|
13825 |
size_t __attribute__((__visibility__("default"))) php_strspn(char *s1 , |
| 13802 |
char *s2 , |
|
13826 |
char *s2 , |
| 13803 |
char *s1_end , |
|
13827 |
char *s1_end , |
| 13804 |
char *s2_end ) |
|
13828 |
char *s2_end ) |
| 13805 |
{ |
|
13829 |
{ |
| 13806 |
register char const *p ; |
|
13830 |
register char const *p ; |
| 13807 |
register char const *spanp ; |
|
13831 |
register char const *spanp ; |
| 13808 |
register char c ; |
|
13832 |
register char c ; |
| 13809 |
char const *tmp ; |
|
13833 |
char const *tmp ; |
| 13810 |
|
|
13834 |
|
| 13811 |
{ |
|
13835 |
{ |
| 13812 |
p = (char const *)s1; |
|
13836 |
p = (char const *)s1; |
| 13813 |
c = (char )*p; |
|
13837 |
c = (char )*p; |
| 13814 |
cont: |
|
13838 |
cont: |
| 13815 |
spanp = (char const *)s2; |
|
13839 |
spanp = (char const *)s2; |
| 13816 |
while (1) { |
|
13840 |
while (1) { |
| 13817 |
if ((unsigned int )p != (unsigned int )s1_end) { |
|
13841 |
if ((unsigned int )p != (unsigned int )s1_end) { |
| 13818 |
if ((unsigned int )spanp != (unsigned int )s2_end) { |
|
13842 |
if ((unsigned int )spanp != (unsigned int )s2_end) { |
| 13819 |
|
|
13843 |
|
| 13820 |
} else { |
|
13844 |
} else { |
| 13821 |
break; |
|
13845 |
break; |
| 13822 |
} |
|
13846 |
} |
| 13823 |
} else { |
|
13847 |
} else { |
| 13824 |
break; |
|
13848 |
break; |
| 13825 |
} |
|
13849 |
} |
| 13826 |
tmp = spanp; |
|
13850 |
tmp = spanp; |
| 13827 |
spanp ++; |
|
13851 |
spanp ++; |
| 13828 |
if ((int const )*tmp == (int const )c) { |
|
13852 |
if ((int const )*tmp == (int const )c) { |
| 13829 |
p ++; |
|
13853 |
p ++; |
| 13830 |
c = (char )*p; |
|
13854 |
c = (char )*p; |
| 13831 |
goto cont; |
|
13855 |
goto cont; |
| 13832 |
} else { |
|
13856 |
} else { |
| 13833 |
|
|
13857 |
|
| 13834 |
} |
|
13858 |
} |
| 13835 |
} |
|
13859 |
} |
| 13836 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
|
13860 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
| 13837 |
} |
|
13861 |
} |
| 13838 |
} |
|
13862 |
} |
| 13839 |
size_t __attribute__((__visibility__("default"))) php_strcspn(char *s1 , |
|
13863 |
size_t __attribute__((__visibility__("default"))) php_strcspn(char *s1 , |
| 13840 |
char *s2 , |
|
13864 |
char *s2 , |
| 13841 |
char *s1_end , |
|
13865 |
char *s1_end , |
| 13842 |
char *s2_end ) |
|
13866 |
char *s2_end ) |
| 13843 |
{ |
|
13867 |
{ |
| 13844 |
register char const *p ; |
|
13868 |
register char const *p ; |
| 13845 |
register char const *spanp ; |
|
13869 |
register char const *spanp ; |
| 13846 |
register char c ; |
|
13870 |
register char c ; |
| 13847 |
char const *tmp ; |
|
13871 |
char const *tmp ; |
| 13848 |
|
|
13872 |
|
| 13849 |
{ |
|
13873 |
{ |
| 13850 |
c = *s1; |
|
13874 |
c = *s1; |
| 13851 |
p = (char const *)s1; |
|
13875 |
p = (char const *)s1; |
| 13852 |
while (1) { |
|
13876 |
while (1) { |
| 13853 |
spanp = (char const *)s2; |
|
13877 |
spanp = (char const *)s2; |
| 13854 |
while (1) { |
|
13878 |
while (1) { |
| 13855 |
if ((int const )*spanp == (int const )c) { |
|
13879 |
if ((int const )*spanp == (int const )c) { |
| 13856 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
|
13880 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
| 13857 |
} else |
|
13881 |
} else |
| 13858 |
if ((unsigned int )p == (unsigned int )s1_end) { |
|
13882 |
if ((unsigned int )p == (unsigned int )s1_end) { |
| 13859 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
|
13883 |
return ((size_t __attribute__((__visibility__("default"))) )(p - (char const *)s1)); |
| 13860 |
} else { |
|
13884 |
} else { |
| 13861 |
|
|
13885 |
|
| 13862 |
} |
|
13886 |
} |
| 13863 |
tmp = spanp; |
|
13887 |
tmp = spanp; |
| 13864 |
spanp ++; |
|
13888 |
spanp ++; |
| 13865 |
if ((unsigned int )tmp < (unsigned int )(s2_end - 1)) { |
|
13889 |
if ((unsigned int )tmp < (unsigned int )(s2_end - 1)) { |
| 13866 |
|
|
13890 |
|
| 13867 |
} else { |
|
13891 |
} else { |
| 13868 |
break; |
|
13892 |
break; |
| 13869 |
} |
|
13893 |
} |
| 13870 |
} |
|
13894 |
} |
| 13871 |
p ++; |
|
13895 |
p ++; |
| 13872 |
c = (char )*p; |
|
13896 |
c = (char )*p; |
| 13873 |
} |
|
13897 |
} |
| 13874 |
} |
|
13898 |
} |
| 13875 |
} |
|
13899 |
} |
| 13876 |
static int php_needle_char(zval *needle , char *target ) |
|
13900 |
static int php_needle_char(zval *needle , char *target ) |
| 13877 |
{ |
|
13901 |
{ |
| 13878 |
zval holder ; |
|
13902 |
zval holder ; |
| 13879 |
|
|
13903 |
|
| 13880 |
{ |
|
13904 |
{ |
| 13881 |
switch ((int )needle->type) { |
|
13905 |
switch ((int )needle->type) { |
| 13882 |
case 3: |
|
13906 |
case 3: |
| 13883 |
case 1: |
|
13907 |
case 1: |
| 13884 |
*target = (char )needle->value.lval; |
|
13908 |
*target = (char )needle->value.lval; |
| 13885 |
return (0); |
|
13909 |
return (0); |
| 13886 |
case 0: |
|
13910 |
case 0: |
| 13887 |
*target = (char )'\000'; |
|
13911 |
*target = (char )'\000'; |
| 13888 |
return (0); |
|
13912 |
return (0); |
| 13889 |
case 2: |
|
13913 |
case 2: |
| 13890 |
*target = (char )((int )needle->value.dval); |
|
13914 |
*target = (char )((int )needle->value.dval); |
| 13891 |
return (0); |
|
13915 |
return (0); |
| 13892 |
case 5: |
|
13916 |
case 5: |
| 13893 |
holder = *needle; |
|
13917 |
holder = *needle; |
| 13894 |
_zval_copy_ctor(& holder); |
|
13918 |
_zval_copy_ctor(& holder); |
| 13895 |
convert_to_long(& holder); |
|
13919 |
convert_to_long(& holder); |
| 13896 |
if ((int )holder.type != 1) { |
|
13920 |
if ((int )holder.type != 1) { |
| 13897 |
return (-1); |
|
13921 |
return (-1); |
| 13898 |
} else { |
|
13922 |
} else { |
| 13899 |
|
|
13923 |
|
| 13900 |
} |
|
13924 |
} |
| 13901 |
*target = (char )holder.value.lval; |
|
13925 |
*target = (char )holder.value.lval; |
| 13902 |
return (0); |
|
13926 |
return (0); |
| 13903 |
default: |
|
13927 |
default: |
| 13904 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
13928 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 13905 |
"needle is not a string or an integer"); |
|
13929 |
"needle is not a string or an integer"); |
| 13906 |
return (-1); |
|
13930 |
return (-1); |
| 13907 |
} |
|
13931 |
} |
| 13908 |
} |
|
13932 |
} |
| 13909 |
} |
|
13933 |
} |
| 13910 |
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , |
|
13934 |
void zif_stristr(int ht , zval *return_value , zval **return_value_ptr , |
| 13911 |
zval *this_ptr , int return_value_used ) |
|
13935 |
zval *this_ptr , int return_value_used ) |
| 13912 |
{ |
|
13936 |
{ |
| 13913 |
zval *needle ; |
|
13937 |
zval *needle ; |
| 13914 |
char *haystack ; |
|
13938 |
char *haystack ; |
| 13915 |
int haystack_len ; |
|
13939 |
int haystack_len ; |
| 13916 |
char *found ; |
|
13940 |
char *found ; |
| 13917 |
int found_offset ; |
|
13941 |
int found_offset ; |
| 13918 |
char *haystack_dup ; |
|
13942 |
char *haystack_dup ; |
| 13919 |
char needle_char[2] ; |
|
13943 |
char needle_char[2] ; |
| 13920 |
zend_bool part ; |
|
13944 |
zend_bool part ; |
| 13921 |
int __attribute__((__visibility__("default"))) tmp ; |
|
13945 |
int __attribute__((__visibility__("default"))) tmp ; |
| 13922 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
13946 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 13923 |
char *orig_needle ; |
|
13947 |
char *orig_needle ; |
| 13924 |
zval *__z ; |
|
13948 |
zval *__z ; |
| 13925 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
13949 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 13926 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
13950 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 13927 |
zval *__z___0 ; |
|
13951 |
zval *__z___0 ; |
| 13928 |
int tmp___3 ; |
|
13952 |
int tmp___3 ; |
| 13929 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
|
13953 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
| 13930 |
char const *__s ; |
|
13954 |
char const *__s ; |
| 13931 |
int __l ; |
|
13955 |
int __l ; |
| 13932 |
zval *__z___1 ; |
|
13956 |
zval *__z___1 ; |
| 13933 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
|
13957 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
| 13934 |
char const *__s___0 ; |
|
13958 |
char const *__s___0 ; |
| 13935 |
int __l___0 ; |
|
13959 |
int __l___0 ; |
| 13936 |
zval *__z___2 ; |
|
13960 |
zval *__z___2 ; |
| 13937 |
char __attribute__((__visibility__("default"))) *tmp___6 ; |
|
13961 |
char __attribute__((__visibility__("default"))) *tmp___6 ; |
| 13938 |
zval *__z___3 ; |
|
13962 |
zval *__z___3 ; |
| 13939 |
|
|
13963 |
|
| 13940 |
{ |
|
13964 |
{ |
| 13941 |
found = (char *)((void *)0); |
|
13965 |
found = (char *)((void *)0); |
| 13942 |
part = (zend_bool )0; |
|
13966 |
part = (zend_bool )0; |
| 13943 |
tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, |
|
13967 |
tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, |
| 13944 |
& part); |
|
13968 |
& part); |
| 13945 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
13969 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 13946 |
return; |
|
13970 |
return; |
| 13947 |
} else { |
|
13971 |
} else { |
| 13948 |
|
|
13972 |
|
| 13949 |
} |
|
13973 |
} |
| 13950 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
|
13974 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
| 13951 |
haystack_dup = (char *)tmp___0; |
|
13975 |
haystack_dup = (char *)tmp___0; |
| 13952 |
if ((int )needle->type == 6) { |
|
13976 |
if ((int )needle->type == 6) { |
| 13953 |
if (! needle->value.str.len) { |
|
13977 |
if (! needle->value.str.len) { |
| 13954 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
|
13978 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
| 13955 |
_efree((void *)haystack_dup); |
|
13979 |
_efree((void *)haystack_dup); |
| 13956 |
while (1) { |
|
13980 |
while (1) { |
| 13957 |
__z = return_value; |
|
13981 |
__z = return_value; |
| 13958 |
__z->value.lval = 0L; |
|
13982 |
__z->value.lval = 0L; |
| 13959 |
__z->type = (zend_uchar )3; |
|
13983 |
__z->type = (zend_uchar )3; |
| 13960 |
break; |
|
13984 |
break; |
| 13961 |
} |
|
13985 |
} |
| 13962 |
return; |
|
13986 |
return; |
| 13963 |
} else { |
|
13987 |
} else { |
| 13964 |
|
|
13988 |
|
| 13965 |
} |
|
13989 |
} |
| 13966 |
tmp___1 = _estrndup((char const *)needle->value.str.val, |
|
13990 |
tmp___1 = _estrndup((char const *)needle->value.str.val, |
| 13967 |
(unsigned int )needle->value.str.len); |
|
13991 |
(unsigned int )needle->value.str.len); |
| 13968 |
orig_needle = (char *)tmp___1; |
|
13992 |
orig_needle = (char *)tmp___1; |
| 13969 |
tmp___2 = php_stristr(haystack_dup, orig_needle, (size_t )haystack_len, |
|
13993 |
tmp___2 = php_stristr(haystack_dup, orig_needle, (size_t )haystack_len, |
| 13970 |
(size_t )needle->value.str.len); |
|
13994 |
(size_t )needle->value.str.len); |
| 13971 |
found = (char *)tmp___2; |
|
13995 |
found = (char *)tmp___2; |
| 13972 |
_efree((void *)orig_needle); |
|
13996 |
_efree((void *)orig_needle); |
| 13973 |
} else { |
|
13997 |
} else { |
| 13974 |
tmp___3 = php_needle_char(needle, needle_char); |
|
13998 |
tmp___3 = php_needle_char(needle, needle_char); |
| 13975 |
if (tmp___3 != 0) { |
|
13999 |
if (tmp___3 != 0) { |
| 13976 |
_efree((void *)haystack_dup); |
|
14000 |
_efree((void *)haystack_dup); |
| 13977 |
while (1) { |
|
14001 |
while (1) { |
| 13978 |
__z___0 = return_value; |
|
14002 |
__z___0 = return_value; |
| 13979 |
__z___0->value.lval = 0L; |
|
14003 |
__z___0->value.lval = 0L; |
| 13980 |
__z___0->type = (zend_uchar )3; |
|
14004 |
__z___0->type = (zend_uchar )3; |
| 13981 |
break; |
|
14005 |
break; |
| 13982 |
} |
|
14006 |
} |
| 13983 |
return; |
|
14007 |
return; |
| 13984 |
} else { |
|
14008 |
} else { |
| 13985 |
|
|
14009 |
|
| 13986 |
} |
|
14010 |
} |
| 13987 |
needle_char[1] = (char)0; |
|
14011 |
needle_char[1] = (char)0; |
| 13988 |
tmp___4 = php_stristr(haystack_dup, needle_char, (size_t )haystack_len, |
|
14012 |
tmp___4 = php_stristr(haystack_dup, needle_char, (size_t )haystack_len, |
| 13989 |
(size_t )1); |
|
14013 |
(size_t )1); |
| 13990 |
found = (char *)tmp___4; |
|
14014 |
found = (char *)tmp___4; |
| 13991 |
} |
|
14015 |
} |
| 13992 |
if (found) { |
|
14016 |
if (found) { |
| 13993 |
found_offset = found - haystack_dup; |
|
14017 |
found_offset = found - haystack_dup; |
| 13994 |
if (part) { |
|
14018 |
if (part) { |
| 13995 |
while (1) { |
|
14019 |
while (1) { |
| 13996 |
__s = (char const *)haystack; |
|
14020 |
__s = (char const *)haystack; |
| 13997 |
__l = found_offset; |
|
14021 |
__l = found_offset; |
| 13998 |
__z___1 = return_value; |
|
14022 |
__z___1 = return_value; |
| 13999 |
__z___1->value.str.len = __l; |
|
14023 |
__z___1->value.str.len = __l; |
| 14000 |
tmp___5 = _estrndup(__s, (unsigned int )__l); |
|
14024 |
tmp___5 = _estrndup(__s, (unsigned int )__l); |
| 14001 |
__z___1->value.str.val = (char *)tmp___5; |
|
14025 |
__z___1->value.str.val = (char *)tmp___5; |
| 14002 |
__z___1->type = (zend_uchar )6; |
|
14026 |
__z___1->type = (zend_uchar )6; |
| 14003 |
break; |
|
14027 |
break; |
| 14004 |
} |
|
14028 |
} |
| 14005 |
} else { |
|
14029 |
} else { |
| 14006 |
while (1) { |
|
14030 |
while (1) { |
| 14007 |
__s___0 = (char const *)(haystack + found_offset); |
|
14031 |
__s___0 = (char const *)(haystack + found_offset); |
| 14008 |
__l___0 = haystack_len - found_offset; |
|
14032 |
__l___0 = haystack_len - found_offset; |
| 14009 |
__z___2 = return_value; |
|
14033 |
__z___2 = return_value; |
| 14010 |
__z___2->value.str.len = __l___0; |
|
14034 |
__z___2->value.str.len = __l___0; |
| 14011 |
tmp___6 = _estrndup(__s___0, (unsigned int )__l___0); |
|
14035 |
tmp___6 = _estrndup(__s___0, (unsigned int )__l___0); |
| 14012 |
__z___2->value.str.val = (char *)tmp___6; |
|
14036 |
__z___2->value.str.val = (char *)tmp___6; |
| 14013 |
__z___2->type = (zend_uchar )6; |
|
14037 |
__z___2->type = (zend_uchar )6; |
| 14014 |
break; |
|
14038 |
break; |
| 14015 |
} |
|
14039 |
} |
| 14016 |
} |
|
14040 |
} |
| 14017 |
} else { |
|
14041 |
} else { |
| 14018 |
while (1) { |
|
14042 |
while (1) { |
| 14019 |
__z___3 = return_value; |
|
14043 |
__z___3 = return_value; |
| 14020 |
__z___3->value.lval = 0L; |
|
14044 |
__z___3->value.lval = 0L; |
| 14021 |
__z___3->type = (zend_uchar )3; |
|
14045 |
__z___3->type = (zend_uchar )3; |
| 14022 |
break; |
|
14046 |
break; |
| 14023 |
} |
|
14047 |
} |
| 14024 |
} |
|
14048 |
} |
| 14025 |
_efree((void *)haystack_dup); |
|
14049 |
_efree((void *)haystack_dup); |
| 14026 |
return; |
|
14050 |
return; |
| 14027 |
} |
|
14051 |
} |
| 14028 |
} |
|
14052 |
} |
| 14029 |
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , |
|
14053 |
void zif_strstr(int ht , zval *return_value , zval **return_value_ptr , |
| 14030 |
zval *this_ptr , int return_value_used ) |
|
14054 |
zval *this_ptr , int return_value_used ) |
| 14031 |
{ |
|
14055 |
{ |
| 14032 |
zval *needle ; |
|
14056 |
zval *needle ; |
| 14033 |
char *haystack ; |
|
14057 |
char *haystack ; |
| 14034 |
int haystack_len ; |
|
14058 |
int haystack_len ; |
| 14035 |
char *found ; |
|
14059 |
char *found ; |
| 14036 |
char needle_char[2] ; |
|
14060 |
char needle_char[2] ; |
| 14037 |
long found_offset ; |
|
14061 |
long found_offset ; |
| 14038 |
zend_bool part ; |
|
14062 |
zend_bool part ; |
| 14039 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14063 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14040 |
zval *__z ; |
|
14064 |
zval *__z ; |
| 14041 |
zval *__z___0 ; |
|
14065 |
zval *__z___0 ; |
| 14042 |
int tmp___0 ; |
|
14066 |
int tmp___0 ; |
| 14043 |
char const *__s ; |
|
14067 |
char const *__s ; |
| 14044 |
int __l ; |
|
14068 |
int __l ; |
| 14045 |
zval *__z___1 ; |
|
14069 |
zval *__z___1 ; |
| 14046 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
14070 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 14047 |
char const *__s___0 ; |
|
14071 |
char const *__s___0 ; |
| 14048 |
int __l___0 ; |
|
14072 |
int __l___0 ; |
| 14049 |
zval *__z___2 ; |
|
14073 |
zval *__z___2 ; |
| 14050 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
14074 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 14051 |
zval *__z___3 ; |
|
14075 |
zval *__z___3 ; |
| 14052 |
|
|
14076 |
|
| 14053 |
{ |
|
14077 |
{ |
| 14054 |
found = (char *)((void *)0); |
|
14078 |
found = (char *)((void *)0); |
| 14055 |
part = (zend_bool )0; |
|
14079 |
part = (zend_bool )0; |
| 14056 |
tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, |
|
14080 |
tmp = zend_parse_parameters(ht, "sz|b", & haystack, & haystack_len, & needle, |
| 14057 |
& part); |
|
14081 |
& part); |
| 14058 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14082 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14059 |
return; |
|
14083 |
return; |
| 14060 |
} else { |
|
14084 |
} else { |
| 14061 |
|
|
14085 |
|
| 14062 |
} |
|
14086 |
} |
| 14063 |
if ((int )needle->type == 6) { |
|
14087 |
if ((int )needle->type == 6) { |
| 14064 |
if (! needle->value.str.len) { |
|
14088 |
if (! needle->value.str.len) { |
| 14065 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
|
14089 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
| 14066 |
while (1) { |
|
14090 |
while (1) { |
| 14067 |
__z = return_value; |
|
14091 |
__z = return_value; |
| 14068 |
__z->value.lval = 0L; |
|
14092 |
__z->value.lval = 0L; |
| 14069 |
__z->type = (zend_uchar )3; |
|
14093 |
__z->type = (zend_uchar )3; |
| 14070 |
break; |
|
14094 |
break; |
| 14071 |
} |
|
14095 |
} |
| 14072 |
return; |
|
14096 |
return; |
| 14073 |
} else { |
|
14097 |
} else { |
| 14074 |
|
|
14098 |
|
| 14075 |
} |
|
14099 |
} |
| 14076 |
found = zend_memnstr(haystack, needle->value.str.val, needle->value.str.len, |
|
14100 |
found = zend_memnstr(haystack, needle->value.str.val, needle->value.str.len, |
| 14077 |
haystack + haystack_len); |
|
14101 |
haystack + haystack_len); |
| 14078 |
} else { |
|
14102 |
} else { |
| 14079 |
tmp___0 = php_needle_char(needle, needle_char); |
|
14103 |
tmp___0 = php_needle_char(needle, needle_char); |
| 14080 |
if (tmp___0 != 0) { |
|
14104 |
if (tmp___0 != 0) { |
| 14081 |
while (1) { |
|
14105 |
while (1) { |
| 14082 |
__z___0 = return_value; |
|
14106 |
__z___0 = return_value; |
| 14083 |
__z___0->value.lval = 0L; |
|
14107 |
__z___0->value.lval = 0L; |
| 14084 |
__z___0->type = (zend_uchar )3; |
|
14108 |
__z___0->type = (zend_uchar )3; |
| 14085 |
break; |
|
14109 |
break; |
| 14086 |
} |
|
14110 |
} |
| 14087 |
return; |
|
14111 |
return; |
| 14088 |
} else { |
|
14112 |
} else { |
| 14089 |
|
|
14113 |
|
| 14090 |
} |
|
14114 |
} |
| 14091 |
needle_char[1] = (char)0; |
|
14115 |
needle_char[1] = (char)0; |
| 14092 |
found = zend_memnstr(haystack, needle_char, 1, haystack + haystack_len); |
|
14116 |
found = zend_memnstr(haystack, needle_char, 1, haystack + haystack_len); |
| 14093 |
} |
|
14117 |
} |
| 14094 |
if (found) { |
|
14118 |
if (found) { |
| 14095 |
found_offset = (long )(found - haystack); |
|
14119 |
found_offset = (long )(found - haystack); |
| 14096 |
if (part) { |
|
14120 |
if (part) { |
| 14097 |
while (1) { |
|
14121 |
while (1) { |
| 14098 |
__s = (char const *)haystack; |
|
14122 |
__s = (char const *)haystack; |
| 14099 |
__l = (int )found_offset; |
|
14123 |
__l = (int )found_offset; |
| 14100 |
__z___1 = return_value; |
|
14124 |
__z___1 = return_value; |
| 14101 |
__z___1->value.str.len = __l; |
|
14125 |
__z___1->value.str.len = __l; |
| 14102 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
14126 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 14103 |
__z___1->value.str.val = (char *)tmp___1; |
|
14127 |
__z___1->value.str.val = (char *)tmp___1; |
| 14104 |
__z___1->type = (zend_uchar )6; |
|
14128 |
__z___1->type = (zend_uchar )6; |
| 14105 |
break; |
|
14129 |
break; |
| 14106 |
} |
|
14130 |
} |
| 14107 |
return; |
|
14131 |
return; |
| 14108 |
} else { |
|
14132 |
} else { |
| 14109 |
while (1) { |
|
14133 |
while (1) { |
| 14110 |
__s___0 = (char const *)found; |
|
14134 |
__s___0 = (char const *)found; |
| 14111 |
__l___0 = (int )((long )haystack_len - found_offset); |
|
14135 |
__l___0 = (int )((long )haystack_len - found_offset); |
| 14112 |
__z___2 = return_value; |
|
14136 |
__z___2 = return_value; |
| 14113 |
__z___2->value.str.len = __l___0; |
|
14137 |
__z___2->value.str.len = __l___0; |
| 14114 |
tmp___2 = _estrndup(__s___0, (unsigned int )__l___0); |
|
14138 |
tmp___2 = _estrndup(__s___0, (unsigned int )__l___0); |
| 14115 |
__z___2->value.str.val = (char *)tmp___2; |
|
14139 |
__z___2->value.str.val = (char *)tmp___2; |
| 14116 |
__z___2->type = (zend_uchar )6; |
|
14140 |
__z___2->type = (zend_uchar )6; |
| 14117 |
break; |
|
14141 |
break; |
| 14118 |
} |
|
14142 |
} |
| 14119 |
return; |
|
14143 |
return; |
| 14120 |
} |
|
14144 |
} |
| 14121 |
} else { |
|
14145 |
} else { |
| 14122 |
|
|
14146 |
|
| 14123 |
} |
|
14147 |
} |
| 14124 |
while (1) { |
|
14148 |
while (1) { |
| 14125 |
__z___3 = return_value; |
|
14149 |
__z___3 = return_value; |
| 14126 |
__z___3->value.lval = 0L; |
|
14150 |
__z___3->value.lval = 0L; |
| 14127 |
__z___3->type = (zend_uchar )3; |
|
14151 |
__z___3->type = (zend_uchar )3; |
| 14128 |
break; |
|
14152 |
break; |
| 14129 |
} |
|
14153 |
} |
| 14130 |
return; |
|
14154 |
return; |
| 14131 |
} |
|
14155 |
} |
| 14132 |
} |
|
14156 |
} |
| 14133 |
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , |
|
14157 |
void zif_strpos(int ht , zval *return_value , zval **return_value_ptr , |
| 14134 |
zval *this_ptr , int return_value_used ) |
|
14158 |
zval *this_ptr , int return_value_used ) |
| 14135 |
{ |
|
14159 |
{ |
| 14136 |
zval *needle ; |
|
14160 |
zval *needle ; |
| 14137 |
char *haystack ; |
|
14161 |
char *haystack ; |
| 14138 |
char *found ; |
|
14162 |
char *found ; |
| 14139 |
char needle_char[2] ; |
|
14163 |
char needle_char[2] ; |
| 14140 |
long offset ; |
|
14164 |
long offset ; |
| 14141 |
int haystack_len ; |
|
14165 |
int haystack_len ; |
| 14142 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14166 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14143 |
zval *__z ; |
|
14167 |
zval *__z ; |
| 14144 |
zval *__z___0 ; |
|
14168 |
zval *__z___0 ; |
| 14145 |
zval *__z___1 ; |
|
14169 |
zval *__z___1 ; |
| 14146 |
int tmp___0 ; |
|
14170 |
int tmp___0 ; |
| 14147 |
zval *__z___2 ; |
|
14171 |
zval *__z___2 ; |
| 14148 |
zval *__z___3 ; |
|
14172 |
zval *__z___3 ; |
| 14149 |
|
|
14173 |
|
| 14150 |
{ |
|
14174 |
{ |
| 14151 |
found = (char *)((void *)0); |
|
14175 |
found = (char *)((void *)0); |
| 14152 |
offset = 0L; |
|
14176 |
offset = 0L; |
| 14153 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, |
|
14177 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, |
| 14154 |
& offset); |
|
14178 |
& offset); |
| 14155 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14179 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14156 |
return; |
|
14180 |
return; |
| 14157 |
} else { |
|
14181 |
} else { |
| 14158 |
|
|
14182 |
|
| 14159 |
} |
|
14183 |
} |
| 14160 |
if (offset < 0L) { |
|
14184 |
if (offset < 0L) { |
| 14161 |
goto _L; |
|
14185 |
goto _L; |
| 14162 |
} else |
|
14186 |
} else |
| 14163 |
if (offset > (long )haystack_len) { |
|
14187 |
if (offset > (long )haystack_len) { |
| 14164 |
_L: |
|
14188 |
_L: |
| 14165 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14189 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14166 |
"Offset not contained in string"); |
|
14190 |
"Offset not contained in string"); |
| 14167 |
while (1) { |
|
14191 |
while (1) { |
| 14168 |
__z = return_value; |
|
14192 |
__z = return_value; |
| 14169 |
__z->value.lval = 0L; |
|
14193 |
__z->value.lval = 0L; |
| 14170 |
__z->type = (zend_uchar )3; |
|
14194 |
__z->type = (zend_uchar )3; |
| 14171 |
break; |
|
14195 |
break; |
| 14172 |
} |
|
14196 |
} |
| 14173 |
return; |
|
14197 |
return; |
| 14174 |
} else { |
|
14198 |
} else { |
| 14175 |
|
|
14199 |
|
| 14176 |
} |
|
14200 |
} |
| 14177 |
if ((int )needle->type == 6) { |
|
14201 |
if ((int )needle->type == 6) { |
| 14178 |
if (! needle->value.str.len) { |
|
14202 |
if (! needle->value.str.len) { |
| 14179 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
|
14203 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty delimiter"); |
| 14180 |
while (1) { |
|
14204 |
while (1) { |
| 14181 |
__z___0 = return_value; |
|
14205 |
__z___0 = return_value; |
| 14182 |
__z___0->value.lval = 0L; |
|
14206 |
__z___0->value.lval = 0L; |
| 14183 |
__z___0->type = (zend_uchar )3; |
|
14207 |
__z___0->type = (zend_uchar )3; |
| 14184 |
break; |
|
14208 |
break; |
| 14185 |
} |
|
14209 |
} |
| 14186 |
return; |
|
14210 |
return; |
| 14187 |
} else { |
|
14211 |
} else { |
| 14188 |
|
|
14212 |
|
| 14189 |
} |
|
14213 |
} |
| 14190 |
found = zend_memnstr(haystack + offset, needle->value.str.val, |
|
14214 |
found = zend_memnstr(haystack + offset, needle->value.str.val, |
| 14191 |
needle->value.str.len, haystack + haystack_len); |
|
14215 |
needle->value.str.len, haystack + haystack_len); |
| 14192 |
} else { |
|
14216 |
} else { |
| 14193 |
tmp___0 = php_needle_char(needle, needle_char); |
|
14217 |
tmp___0 = php_needle_char(needle, needle_char); |
| 14194 |
if (tmp___0 != 0) { |
|
14218 |
if (tmp___0 != 0) { |
| 14195 |
while (1) { |
|
14219 |
while (1) { |
| 14196 |
__z___1 = return_value; |
|
14220 |
__z___1 = return_value; |
| 14197 |
__z___1->value.lval = 0L; |
|
14221 |
__z___1->value.lval = 0L; |
| 14198 |
__z___1->type = (zend_uchar )3; |
|
14222 |
__z___1->type = (zend_uchar )3; |
| 14199 |
break; |
|
14223 |
break; |
| 14200 |
} |
|
14224 |
} |
| 14201 |
return; |
|
14225 |
return; |
| 14202 |
} else { |
|
14226 |
} else { |
| 14203 |
|
|
14227 |
|
| 14204 |
} |
|
14228 |
} |
| 14205 |
needle_char[1] = (char)0; |
|
14229 |
needle_char[1] = (char)0; |
| 14206 |
found = zend_memnstr(haystack + offset, needle_char, 1, |
|
14230 |
found = zend_memnstr(haystack + offset, needle_char, 1, |
| 14207 |
haystack + haystack_len); |
|
14231 |
haystack + haystack_len); |
| 14208 |
} |
|
14232 |
} |
| 14209 |
if (found) { |
|
14233 |
if (found) { |
| 14210 |
__z___2 = return_value; |
|
14234 |
__z___2 = return_value; |
| 14211 |
__z___2->value.lval = (long )(found - haystack); |
|
14235 |
__z___2->value.lval = (long )(found - haystack); |
| 14212 |
__z___2->type = (zend_uchar )1; |
|
14236 |
__z___2->type = (zend_uchar )1; |
| 14213 |
return; |
|
14237 |
return; |
| 14214 |
} else { |
|
14238 |
} else { |
| 14215 |
while (1) { |
|
14239 |
while (1) { |
| 14216 |
__z___3 = return_value; |
|
14240 |
__z___3 = return_value; |
| 14217 |
__z___3->value.lval = 0L; |
|
14241 |
__z___3->value.lval = 0L; |
| 14218 |
__z___3->type = (zend_uchar )3; |
|
14242 |
__z___3->type = (zend_uchar )3; |
| 14219 |
break; |
|
14243 |
break; |
| 14220 |
} |
|
14244 |
} |
| 14221 |
return; |
|
14245 |
return; |
| 14222 |
} |
|
14246 |
} |
| 14223 |
} |
|
14247 |
} |
| 14224 |
} |
|
14248 |
} |
| 14225 |
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , |
|
14249 |
void zif_stripos(int ht , zval *return_value , zval **return_value_ptr , |
| 14226 |
zval *this_ptr , int return_value_used ) |
|
14250 |
zval *this_ptr , int return_value_used ) |
| 14227 |
{ |
|
14251 |
{ |
| 14228 |
char *found ; |
|
14252 |
char *found ; |
| 14229 |
char *haystack ; |
|
14253 |
char *haystack ; |
| 14230 |
int haystack_len ; |
|
14254 |
int haystack_len ; |
| 14231 |
long offset ; |
|
14255 |
long offset ; |
| 14232 |
char *needle_dup ; |
|
14256 |
char *needle_dup ; |
| 14233 |
char *haystack_dup ; |
|
14257 |
char *haystack_dup ; |
| 14234 |
char needle_char[2] ; |
|
14258 |
char needle_char[2] ; |
| 14235 |
zval *needle ; |
|
14259 |
zval *needle ; |
| 14236 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14260 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14237 |
zval *__z ; |
|
14261 |
zval *__z ; |
| 14238 |
zval *__z___0 ; |
|
14262 |
zval *__z___0 ; |
| 14239 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
14263 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 14240 |
zval *__z___1 ; |
|
14264 |
zval *__z___1 ; |
| 14241 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
14265 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 14242 |
zval *__z___2 ; |
|
14266 |
zval *__z___2 ; |
| 14243 |
int tmp___2 ; |
|
14267 |
int tmp___2 ; |
| 14244 |
int __res ; |
|
14268 |
int __res ; |
| 14245 |
int __c ; |
|
14269 |
int __c ; |
| 14246 |
__int32_t const **tmp___3 ; |
|
14270 |
__int32_t const **tmp___3 ; |
| 14247 |
__int32_t const **tmp___4 ; |
|
14271 |
__int32_t const **tmp___4 ; |
| 14248 |
zval *__z___3 ; |
|
14272 |
zval *__z___3 ; |
| 14249 |
zval *__z___4 ; |
|
14273 |
zval *__z___4 ; |
| 14250 |
|
|
14274 |
|
| 14251 |
{ |
|
14275 |
{ |
| 14252 |
found = (char *)((void *)0); |
|
14276 |
found = (char *)((void *)0); |
| 14253 |
offset = 0L; |
|
14277 |
offset = 0L; |
| 14254 |
needle_dup = (char *)((void *)0); |
|
14278 |
needle_dup = (char *)((void *)0); |
| 14255 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, |
|
14279 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & needle, |
| 14256 |
& offset); |
|
14280 |
& offset); |
| 14257 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14281 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14258 |
return; |
|
14282 |
return; |
| 14259 |
} else { |
|
14283 |
} else { |
| 14260 |
|
|
14284 |
|
| 14261 |
} |
|
14285 |
} |
| 14262 |
if (offset < 0L) { |
|
14286 |
if (offset < 0L) { |
| 14263 |
goto _L; |
|
14287 |
goto _L; |
| 14264 |
} else |
|
14288 |
} else |
| 14265 |
if (offset > (long )haystack_len) { |
|
14289 |
if (offset > (long )haystack_len) { |
| 14266 |
_L: |
|
14290 |
_L: |
| 14267 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14291 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14268 |
"Offset not contained in string"); |
|
14292 |
"Offset not contained in string"); |
| 14269 |
while (1) { |
|
14293 |
while (1) { |
| 14270 |
__z = return_value; |
|
14294 |
__z = return_value; |
| 14271 |
__z->value.lval = 0L; |
|
14295 |
__z->value.lval = 0L; |
| 14272 |
__z->type = (zend_uchar )3; |
|
14296 |
__z->type = (zend_uchar )3; |
| 14273 |
break; |
|
14297 |
break; |
| 14274 |
} |
|
14298 |
} |
| 14275 |
return; |
|
14299 |
return; |
| 14276 |
} else { |
|
14300 |
} else { |
| 14277 |
|
|
14301 |
|
| 14278 |
} |
|
14302 |
} |
| 14279 |
if (haystack_len == 0) { |
|
14303 |
if (haystack_len == 0) { |
| 14280 |
while (1) { |
|
14304 |
while (1) { |
| 14281 |
__z___0 = return_value; |
|
14305 |
__z___0 = return_value; |
| 14282 |
__z___0->value.lval = 0L; |
|
14306 |
__z___0->value.lval = 0L; |
| 14283 |
__z___0->type = (zend_uchar )3; |
|
14307 |
__z___0->type = (zend_uchar )3; |
| 14284 |
break; |
|
14308 |
break; |
| 14285 |
} |
|
14309 |
} |
| 14286 |
return; |
|
14310 |
return; |
| 14287 |
} else { |
|
14311 |
} else { |
| 14288 |
|
|
14312 |
|
| 14289 |
} |
|
14313 |
} |
| 14290 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
|
14314 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
| 14291 |
haystack_dup = (char *)tmp___0; |
|
14315 |
haystack_dup = (char *)tmp___0; |
| 14292 |
php_strtolower(haystack_dup, (size_t )haystack_len); |
|
14316 |
php_strtolower(haystack_dup, (size_t )haystack_len); |
| 14293 |
if ((int )needle->type == 6) { |
|
14317 |
if ((int )needle->type == 6) { |
| 14294 |
if (needle->value.str.len == 0) { |
|
14318 |
if (needle->value.str.len == 0) { |
| 14295 |
goto _L___0; |
|
14319 |
goto _L___0; |
| 14296 |
} else |
|
14320 |
} else |
| 14297 |
if (needle->value.str.len > haystack_len) { |
|
14321 |
if (needle->value.str.len > haystack_len) { |
| 14298 |
_L___0: |
|
14322 |
_L___0: |
| 14299 |
_efree((void *)haystack_dup); |
|
14323 |
_efree((void *)haystack_dup); |
| 14300 |
while (1) { |
|
14324 |
while (1) { |
| 14301 |
__z___1 = return_value; |
|
14325 |
__z___1 = return_value; |
| 14302 |
__z___1->value.lval = 0L; |
|
14326 |
__z___1->value.lval = 0L; |
| 14303 |
__z___1->type = (zend_uchar )3; |
|
14327 |
__z___1->type = (zend_uchar )3; |
| 14304 |
break; |
|
14328 |
break; |
| 14305 |
} |
|
14329 |
} |
| 14306 |
return; |
|
14330 |
return; |
| 14307 |
} else { |
|
14331 |
} else { |
| 14308 |
|
|
14332 |
|
| 14309 |
} |
|
14333 |
} |
| 14310 |
tmp___1 = _estrndup((char const *)needle->value.str.val, |
|
14334 |
tmp___1 = _estrndup((char const *)needle->value.str.val, |
| 14311 |
(unsigned int )needle->value.str.len); |
|
14335 |
(unsigned int )needle->value.str.len); |
| 14312 |
needle_dup = (char *)tmp___1; |
|
14336 |
needle_dup = (char *)tmp___1; |
| 14313 |
php_strtolower(needle_dup, (size_t )needle->value.str.len); |
|
14337 |
php_strtolower(needle_dup, (size_t )needle->value.str.len); |
| 14314 |
found = zend_memnstr(haystack_dup + offset, needle_dup, |
|
14338 |
found = zend_memnstr(haystack_dup + offset, needle_dup, |
| 14315 |
needle->value.str.len, haystack_dup + haystack_len); |
|
14339 |
needle->value.str.len, haystack_dup + haystack_len); |
| 14316 |
} else { |
|
14340 |
} else { |
| 14317 |
tmp___2 = php_needle_char(needle, needle_char); |
|
14341 |
tmp___2 = php_needle_char(needle, needle_char); |
| 14318 |
if (tmp___2 != 0) { |
|
14342 |
if (tmp___2 != 0) { |
| 14319 |
_efree((void *)haystack_dup); |
|
14343 |
_efree((void *)haystack_dup); |
| 14320 |
while (1) { |
|
14344 |
while (1) { |
| 14321 |
__z___2 = return_value; |
|
14345 |
__z___2 = return_value; |
| 14322 |
__z___2->value.lval = 0L; |
|
14346 |
__z___2->value.lval = 0L; |
| 14323 |
__z___2->type = (zend_uchar )3; |
|
14347 |
__z___2->type = (zend_uchar )3; |
| 14324 |
break; |
|
14348 |
break; |
| 14325 |
} |
|
14349 |
} |
| 14326 |
return; |
|
14350 |
return; |
| 14327 |
} else { |
|
14351 |
} else { |
| 14328 |
|
|
14352 |
|
| 14329 |
} |
|
14353 |
} |
| 14330 |
if (sizeof(needle_char[0]) > 1U) { |
|
14354 |
if (sizeof(needle_char[0]) > 1U) { |
| 14331 |
__res = tolower((int )needle_char[0]); |
|
14355 |
__res = tolower((int )needle_char[0]); |
| 14332 |
} else { |
|
14356 |
} else { |
| 14333 |
tmp___4 = __ctype_tolower_loc(); |
|
14357 |
tmp___4 = __ctype_tolower_loc(); |
| 14334 |
__res = (int )*(*tmp___4 + (int )needle_char[0]); |
|
14358 |
__res = (int )*(*tmp___4 + (int )needle_char[0]); |
| 14335 |
} |
|
14359 |
} |
| 14336 |
needle_char[0] = (char )__res; |
|
14360 |
needle_char[0] = (char )__res; |
| 14337 |
needle_char[1] = (char )'\000'; |
|
14361 |
needle_char[1] = (char )'\000'; |
| 14338 |
found = zend_memnstr(haystack_dup + offset, needle_char, |
|
14362 |
found = zend_memnstr(haystack_dup + offset, needle_char, |
| 14339 |
(int )(sizeof(needle_char) - 1U), |
|
14363 |
(int )(sizeof(needle_char) - 1U), |
| 14340 |
haystack_dup + haystack_len); |
|
14364 |
haystack_dup + haystack_len); |
| 14341 |
} |
|
14365 |
} |
| 14342 |
_efree((void *)haystack_dup); |
|
14366 |
_efree((void *)haystack_dup); |
| 14343 |
if (needle_dup) { |
|
14367 |
if (needle_dup) { |
| 14344 |
_efree((void *)needle_dup); |
|
14368 |
_efree((void *)needle_dup); |
| 14345 |
} else { |
|
14369 |
} else { |
| 14346 |
|
|
14370 |
|
| 14347 |
} |
|
14371 |
} |
| 14348 |
if (found) { |
|
14372 |
if (found) { |
| 14349 |
__z___3 = return_value; |
|
14373 |
__z___3 = return_value; |
| 14350 |
__z___3->value.lval = (long )(found - haystack_dup); |
|
14374 |
__z___3->value.lval = (long )(found - haystack_dup); |
| 14351 |
__z___3->type = (zend_uchar )1; |
|
14375 |
__z___3->type = (zend_uchar )1; |
| 14352 |
return; |
|
14376 |
return; |
| 14353 |
} else { |
|
14377 |
} else { |
| 14354 |
while (1) { |
|
14378 |
while (1) { |
| 14355 |
__z___4 = return_value; |
|
14379 |
__z___4 = return_value; |
| 14356 |
__z___4->value.lval = 0L; |
|
14380 |
__z___4->value.lval = 0L; |
| 14357 |
__z___4->type = (zend_uchar )3; |
|
14381 |
__z___4->type = (zend_uchar )3; |
| 14358 |
break; |
|
14382 |
break; |
| 14359 |
} |
|
14383 |
} |
| 14360 |
return; |
|
14384 |
return; |
| 14361 |
} |
|
14385 |
} |
| 14362 |
} |
|
14386 |
} |
| 14363 |
} |
|
14387 |
} |
| 14364 |
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , |
|
14388 |
void zif_strrpos(int ht , zval *return_value , zval **return_value_ptr , |
| 14365 |
zval *this_ptr , int return_value_used ) |
|
14389 |
zval *this_ptr , int return_value_used ) |
| 14366 |
{ |
|
14390 |
{ |
| 14367 |
zval *zneedle ; |
|
14391 |
zval *zneedle ; |
| 14368 |
char *needle ; |
|
14392 |
char *needle ; |
| 14369 |
char *haystack ; |
|
14393 |
char *haystack ; |
| 14370 |
int needle_len ; |
|
14394 |
int needle_len ; |
| 14371 |
int haystack_len ; |
|
14395 |
int haystack_len ; |
| 14372 |
long offset ; |
|
14396 |
long offset ; |
| 14373 |
char *p ; |
|
14397 |
char *p ; |
| 14374 |
char *e ; |
|
14398 |
char *e ; |
| 14375 |
char ord_needle[2] ; |
|
14399 |
char ord_needle[2] ; |
| 14376 |
zval *__z ; |
|
14400 |
zval *__z ; |
| 14377 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14401 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14378 |
zval *__z___0 ; |
|
14402 |
zval *__z___0 ; |
| 14379 |
int tmp___0 ; |
|
14403 |
int tmp___0 ; |
| 14380 |
zval *__z___1 ; |
|
14404 |
zval *__z___1 ; |
| 14381 |
zval *__z___2 ; |
|
14405 |
zval *__z___2 ; |
| 14382 |
zval *__z___3 ; |
|
14406 |
zval *__z___3 ; |
| 14383 |
zval *__z___4 ; |
|
14407 |
zval *__z___4 ; |
| 14384 |
long tmp___1 ; |
|
14408 |
long tmp___1 ; |
| 14385 |
zval *__z___5 ; |
|
14409 |
zval *__z___5 ; |
| 14386 |
zval *__z___6 ; |
|
14410 |
zval *__z___6 ; |
| 14387 |
long tmp___2 ; |
|
14411 |
long tmp___2 ; |
| 14388 |
int tmp___3 ; |
|
14412 |
int tmp___3 ; |
| 14389 |
zval *__z___7 ; |
|
14413 |
zval *__z___7 ; |
| 14390 |
|
|
14414 |
|
| 14391 |
{ |
|
14415 |
{ |
| 14392 |
offset = 0L; |
|
14416 |
offset = 0L; |
| 14393 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, |
|
14417 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, |
| 14394 |
& offset); |
|
14418 |
& offset); |
| 14395 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14419 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14396 |
while (1) { |
|
14420 |
while (1) { |
| 14397 |
__z = return_value; |
|
14421 |
__z = return_value; |
| 14398 |
__z->value.lval = 0L; |
|
14422 |
__z->value.lval = 0L; |
| 14399 |
__z->type = (zend_uchar )3; |
|
14423 |
__z->type = (zend_uchar )3; |
| 14400 |
break; |
|
14424 |
break; |
| 14401 |
} |
|
14425 |
} |
| 14402 |
return; |
|
14426 |
return; |
| 14403 |
} else { |
|
14427 |
} else { |
| 14404 |
|
|
14428 |
|
| 14405 |
} |
|
14429 |
} |
| 14406 |
if ((int )zneedle->type == 6) { |
|
14430 |
if ((int )zneedle->type == 6) { |
| 14407 |
needle = zneedle->value.str.val; |
|
14431 |
needle = zneedle->value.str.val; |
| 14408 |
needle_len = zneedle->value.str.len; |
|
14432 |
needle_len = zneedle->value.str.len; |
| 14409 |
} else { |
|
14433 |
} else { |
| 14410 |
tmp___0 = php_needle_char(zneedle, ord_needle); |
|
14434 |
tmp___0 = php_needle_char(zneedle, ord_needle); |
| 14411 |
if (tmp___0 != 0) { |
|
14435 |
if (tmp___0 != 0) { |
| 14412 |
while (1) { |
|
14436 |
while (1) { |
| 14413 |
__z___0 = return_value; |
|
14437 |
__z___0 = return_value; |
| 14414 |
__z___0->value.lval = 0L; |
|
14438 |
__z___0->value.lval = 0L; |
| 14415 |
__z___0->type = (zend_uchar )3; |
|
14439 |
__z___0->type = (zend_uchar )3; |
| 14416 |
break; |
|
14440 |
break; |
| 14417 |
} |
|
14441 |
} |
| 14418 |
return; |
|
14442 |
return; |
| 14419 |
} else { |
|
14443 |
} else { |
| 14420 |
|
|
14444 |
|
| 14421 |
} |
|
14445 |
} |
| 14422 |
ord_needle[1] = (char )'\000'; |
|
14446 |
ord_needle[1] = (char )'\000'; |
| 14423 |
needle = ord_needle; |
|
14447 |
needle = ord_needle; |
| 14424 |
needle_len = 1; |
|
14448 |
needle_len = 1; |
| 14425 |
} |
|
14449 |
} |
| 14426 |
if (haystack_len == 0) { |
|
14450 |
if (haystack_len == 0) { |
| 14427 |
goto _L; |
|
14451 |
goto _L; |
| 14428 |
} else |
|
14452 |
} else |
| 14429 |
if (needle_len == 0) { |
|
14453 |
if (needle_len == 0) { |
| 14430 |
_L: |
|
14454 |
_L: |
| 14431 |
while (1) { |
|
14455 |
while (1) { |
| 14432 |
__z___1 = return_value; |
|
14456 |
__z___1 = return_value; |
| 14433 |
__z___1->value.lval = 0L; |
|
14457 |
__z___1->value.lval = 0L; |
| 14434 |
__z___1->type = (zend_uchar )3; |
|
14458 |
__z___1->type = (zend_uchar )3; |
| 14435 |
break; |
|
14459 |
break; |
| 14436 |
} |
|
14460 |
} |
| 14437 |
return; |
|
14461 |
return; |
| 14438 |
} else { |
|
14462 |
} else { |
| 14439 |
|
|
14463 |
|
| 14440 |
} |
|
14464 |
} |
| 14441 |
if (offset >= 0L) { |
|
14465 |
if (offset >= 0L) { |
| 14442 |
if (offset > (long )haystack_len) { |
|
14466 |
if (offset > (long )haystack_len) { |
| 14443 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14467 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14444 |
"Offset is greater than the length of haystack string"); |
|
14468 |
"Offset is greater than the length of haystack string"); |
| 14445 |
while (1) { |
|
14469 |
while (1) { |
| 14446 |
__z___2 = return_value; |
|
14470 |
__z___2 = return_value; |
| 14447 |
__z___2->value.lval = 0L; |
|
14471 |
__z___2->value.lval = 0L; |
| 14448 |
__z___2->type = (zend_uchar )3; |
|
14472 |
__z___2->type = (zend_uchar )3; |
| 14449 |
break; |
|
14473 |
break; |
| 14450 |
} |
|
14474 |
} |
| 14451 |
return; |
|
14475 |
return; |
| 14452 |
} else { |
|
14476 |
} else { |
| 14453 |
|
|
14477 |
|
| 14454 |
} |
|
14478 |
} |
| 14455 |
p = haystack + offset; |
|
14479 |
p = haystack + offset; |
| 14456 |
e = (haystack + haystack_len) - needle_len; |
|
14480 |
e = (haystack + haystack_len) - needle_len; |
| 14457 |
} else { |
|
14481 |
} else { |
| 14458 |
if (offset < -2147483647L) { |
|
14482 |
if (offset < -2147483647L) { |
| 14459 |
goto _L___0; |
|
14483 |
goto _L___0; |
| 14460 |
} else |
|
14484 |
} else |
| 14461 |
if (- offset > (long )haystack_len) { |
|
14485 |
if (- offset > (long )haystack_len) { |
| 14462 |
_L___0: |
|
14486 |
_L___0: |
| 14463 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14487 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14464 |
"Offset is greater than the length of haystack string"); |
|
14488 |
"Offset is greater than the length of haystack string"); |
| 14465 |
while (1) { |
|
14489 |
while (1) { |
| 14466 |
__z___3 = return_value; |
|
14490 |
__z___3 = return_value; |
| 14467 |
__z___3->value.lval = 0L; |
|
14491 |
__z___3->value.lval = 0L; |
| 14468 |
__z___3->type = (zend_uchar )3; |
|
14492 |
__z___3->type = (zend_uchar )3; |
| 14469 |
break; |
|
14493 |
break; |
| 14470 |
} |
|
14494 |
} |
| 14471 |
return; |
|
14495 |
return; |
| 14472 |
} else { |
|
14496 |
} else { |
| 14473 |
|
|
14497 |
|
| 14474 |
} |
|
14498 |
} |
| 14475 |
p = haystack; |
|
14499 |
p = haystack; |
| 14476 |
if ((long )needle_len > - offset) { |
|
14500 |
if ((long )needle_len > - offset) { |
| 14477 |
e = (haystack + haystack_len) - needle_len; |
|
14501 |
e = (haystack + haystack_len) - needle_len; |
| 14478 |
} else { |
|
14502 |
} else { |
| 14479 |
e = (haystack + haystack_len) + offset; |
|
14503 |
e = (haystack + haystack_len) + offset; |
| 14480 |
} |
|
14504 |
} |
| 14481 |
} |
|
14505 |
} |
| 14482 |
if (needle_len == 1) { |
|
14506 |
if (needle_len == 1) { |
| 14483 |
while ((unsigned int )e >= (unsigned int )p) { |
|
14507 |
while ((unsigned int )e >= (unsigned int )p) { |
| 14484 |
if ((int )*e == (int )*needle) { |
|
14508 |
if ((int )*e == (int )*needle) { |
| 14485 |
__z___4 = return_value; |
|
14509 |
__z___4 = return_value; |
| 14486 |
if (offset > 0L) { |
|
14510 |
if (offset > 0L) { |
| 14487 |
tmp___1 = offset; |
|
14511 |
tmp___1 = offset; |
| 14488 |
} else { |
|
14512 |
} else { |
| 14489 |
tmp___1 = 0L; |
|
14513 |
tmp___1 = 0L; |
| 14490 |
} |
|
14514 |
} |
| 14491 |
__z___4->value.lval = (long )(e - p) + tmp___1; |
|
14515 |
__z___4->value.lval = (long )(e - p) + tmp___1; |
| 14492 |
__z___4->type = (zend_uchar )1; |
|
14516 |
__z___4->type = (zend_uchar )1; |
| 14493 |
return; |
|
14517 |
return; |
| 14494 |
} else { |
|
14518 |
} else { |
| 14495 |
|
|
14519 |
|
| 14496 |
} |
|
14520 |
} |
| 14497 |
e --; |
|
14521 |
e --; |
| 14498 |
} |
|
14522 |
} |
| 14499 |
while (1) { |
|
14523 |
while (1) { |
| 14500 |
__z___5 = return_value; |
|
14524 |
__z___5 = return_value; |
| 14501 |
__z___5->value.lval = 0L; |
|
14525 |
__z___5->value.lval = 0L; |
| 14502 |
__z___5->type = (zend_uchar )3; |
|
14526 |
__z___5->type = (zend_uchar )3; |
| 14503 |
break; |
|
14527 |
break; |
| 14504 |
} |
|
14528 |
} |
| 14505 |
return; |
|
14529 |
return; |
| 14506 |
} else { |
|
14530 |
} else { |
| 14507 |
|
|
14531 |
|
| 14508 |
} |
|
14532 |
} |
| 14509 |
while ((unsigned int )e >= (unsigned int )p) { |
|
14533 |
while ((unsigned int )e >= (unsigned int )p) { |
| 14510 |
tmp___3 = memcmp((void const *)e, (void const *)needle, |
|
14534 |
tmp___3 = memcmp((void const *)e, (void const *)needle, |
| 14511 |
(size_t )needle_len); |
|
14535 |
(size_t )needle_len); |
| 14512 |
if (tmp___3 == 0) { |
|
14536 |
if (tmp___3 == 0) { |
| 14513 |
__z___6 = return_value; |
|
14537 |
__z___6 = return_value; |
| 14514 |
if (offset > 0L) { |
|
14538 |
if (offset > 0L) { |
| 14515 |
tmp___2 = offset; |
|
14539 |
tmp___2 = offset; |
| 14516 |
} else { |
|
14540 |
} else { |
| 14517 |
tmp___2 = 0L; |
|
14541 |
tmp___2 = 0L; |
| 14518 |
} |
|
14542 |
} |
| 14519 |
__z___6->value.lval = (long )(e - p) + tmp___2; |
|
14543 |
__z___6->value.lval = (long )(e - p) + tmp___2; |
| 14520 |
__z___6->type = (zend_uchar )1; |
|
14544 |
__z___6->type = (zend_uchar )1; |
| 14521 |
return; |
|
14545 |
return; |
| 14522 |
} else { |
|
14546 |
} else { |
| 14523 |
|
|
14547 |
|
| 14524 |
} |
|
14548 |
} |
| 14525 |
e --; |
|
14549 |
e --; |
| 14526 |
} |
|
14550 |
} |
| 14527 |
while (1) { |
|
14551 |
while (1) { |
| 14528 |
__z___7 = return_value; |
|
14552 |
__z___7 = return_value; |
| 14529 |
__z___7->value.lval = 0L; |
|
14553 |
__z___7->value.lval = 0L; |
| 14530 |
__z___7->type = (zend_uchar )3; |
|
14554 |
__z___7->type = (zend_uchar )3; |
| 14531 |
break; |
|
14555 |
break; |
| 14532 |
} |
|
14556 |
} |
| 14533 |
return; |
|
14557 |
return; |
| 14534 |
} |
|
14558 |
} |
| 14535 |
} |
|
14559 |
} |
| 14536 |
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , |
|
14560 |
void zif_strripos(int ht , zval *return_value , zval **return_value_ptr , |
| 14537 |
zval *this_ptr , int return_value_used ) |
|
14561 |
zval *this_ptr , int return_value_used ) |
| 14538 |
{ |
|
14562 |
{ |
| 14539 |
zval *zneedle ; |
|
14563 |
zval *zneedle ; |
| 14540 |
char *needle ; |
|
14564 |
char *needle ; |
| 14541 |
char *haystack ; |
|
14565 |
char *haystack ; |
| 14542 |
int needle_len ; |
|
14566 |
int needle_len ; |
| 14543 |
int haystack_len ; |
|
14567 |
int haystack_len ; |
| 14544 |
long offset ; |
|
14568 |
long offset ; |
| 14545 |
char *p ; |
|
14569 |
char *p ; |
| 14546 |
char *e ; |
|
14570 |
char *e ; |
| 14547 |
char ord_needle[2] ; |
|
14571 |
char ord_needle[2] ; |
| 14548 |
char *needle_dup ; |
|
14572 |
char *needle_dup ; |
| 14549 |
char *haystack_dup ; |
|
14573 |
char *haystack_dup ; |
| 14550 |
zval *__z ; |
|
14574 |
zval *__z ; |
| 14551 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14575 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14552 |
zval *__z___0 ; |
|
14576 |
zval *__z___0 ; |
| 14553 |
int tmp___0 ; |
|
14577 |
int tmp___0 ; |
| 14554 |
zval *__z___1 ; |
|
14578 |
zval *__z___1 ; |
| 14555 |
zval *__z___2 ; |
|
14579 |
zval *__z___2 ; |
| 14556 |
zval *__z___3 ; |
|
14580 |
zval *__z___3 ; |
| 14557 |
int __res ; |
|
14581 |
int __res ; |
| 14558 |
int __c ; |
|
14582 |
int __c ; |
| 14559 |
__int32_t const **tmp___1 ; |
|
14583 |
__int32_t const **tmp___1 ; |
| 14560 |
__int32_t const **tmp___2 ; |
|
14584 |
__int32_t const **tmp___2 ; |
| 14561 |
zval *__z___4 ; |
|
14585 |
zval *__z___4 ; |
| 14562 |
long tmp___3 ; |
|
14586 |
long tmp___3 ; |
| 14563 |
int __res___0 ; |
|
14587 |
int __res___0 ; |
| 14564 |
int __c___0 ; |
|
14588 |
int __c___0 ; |
| 14565 |
__int32_t const **tmp___4 ; |
|
14589 |
__int32_t const **tmp___4 ; |
| 14566 |
__int32_t const **tmp___5 ; |
|
14590 |
__int32_t const **tmp___5 ; |
| 14567 |
zval *__z___5 ; |
|
14591 |
zval *__z___5 ; |
| 14568 |
char __attribute__((__visibility__("default"))) *tmp___6 ; |
|
14592 |
char __attribute__((__visibility__("default"))) *tmp___6 ; |
| 14569 |
char __attribute__((__visibility__("default"))) *tmp___7 ; |
|
14593 |
char __attribute__((__visibility__("default"))) *tmp___7 ; |
| 14570 |
zval *__z___6 ; |
|
14594 |
zval *__z___6 ; |
| 14571 |
zval *__z___7 ; |
|
14595 |
zval *__z___7 ; |
| 14572 |
zval *__z___8 ; |
|
14596 |
zval *__z___8 ; |
| 14573 |
long tmp___8 ; |
|
14597 |
long tmp___8 ; |
| 14574 |
int tmp___9 ; |
|
14598 |
int tmp___9 ; |
| 14575 |
zval *__z___9 ; |
|
14599 |
zval *__z___9 ; |
| 14576 |
|
|
14600 |
|
| 14577 |
{ |
|
14601 |
{ |
| 14578 |
offset = 0L; |
|
14602 |
offset = 0L; |
| 14579 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, |
|
14603 |
tmp = zend_parse_parameters(ht, "sz|l", & haystack, & haystack_len, & zneedle, |
| 14580 |
& offset); |
|
14604 |
& offset); |
| 14581 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14605 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14582 |
while (1) { |
|
14606 |
while (1) { |
| 14583 |
__z = return_value; |
|
14607 |
__z = return_value; |
| 14584 |
__z->value.lval = 0L; |
|
14608 |
__z->value.lval = 0L; |
| 14585 |
__z->type = (zend_uchar )3; |
|
14609 |
__z->type = (zend_uchar )3; |
| 14586 |
break; |
|
14610 |
break; |
| 14587 |
} |
|
14611 |
} |
| 14588 |
return; |
|
14612 |
return; |
| 14589 |
} else { |
|
14613 |
} else { |
| 14590 |
|
|
14614 |
|
| 14591 |
} |
|
14615 |
} |
| 14592 |
if ((int )zneedle->type == 6) { |
|
14616 |
if ((int )zneedle->type == 6) { |
| 14593 |
needle = zneedle->value.str.val; |
|
14617 |
needle = zneedle->value.str.val; |
| 14594 |
needle_len = zneedle->value.str.len; |
|
14618 |
needle_len = zneedle->value.str.len; |
| 14595 |
} else { |
|
14619 |
} else { |
| 14596 |
tmp___0 = php_needle_char(zneedle, ord_needle); |
|
14620 |
tmp___0 = php_needle_char(zneedle, ord_needle); |
| 14597 |
if (tmp___0 != 0) { |
|
14621 |
if (tmp___0 != 0) { |
| 14598 |
while (1) { |
|
14622 |
while (1) { |
| 14599 |
__z___0 = return_value; |
|
14623 |
__z___0 = return_value; |
| 14600 |
__z___0->value.lval = 0L; |
|
14624 |
__z___0->value.lval = 0L; |
| 14601 |
__z___0->type = (zend_uchar )3; |
|
14625 |
__z___0->type = (zend_uchar )3; |
| 14602 |
break; |
|
14626 |
break; |
| 14603 |
} |
|
14627 |
} |
| 14604 |
return; |
|
14628 |
return; |
| 14605 |
} else { |
|
14629 |
} else { |
| 14606 |
|
|
14630 |
|
| 14607 |
} |
|
14631 |
} |
| 14608 |
ord_needle[1] = (char )'\000'; |
|
14632 |
ord_needle[1] = (char )'\000'; |
| 14609 |
needle = ord_needle; |
|
14633 |
needle = ord_needle; |
| 14610 |
needle_len = 1; |
|
14634 |
needle_len = 1; |
| 14611 |
} |
|
14635 |
} |
| 14612 |
if (haystack_len == 0) { |
|
14636 |
if (haystack_len == 0) { |
| 14613 |
goto _L; |
|
14637 |
goto _L; |
| 14614 |
} else |
|
14638 |
} else |
| 14615 |
if (needle_len == 0) { |
|
14639 |
if (needle_len == 0) { |
| 14616 |
_L: |
|
14640 |
_L: |
| 14617 |
while (1) { |
|
14641 |
while (1) { |
| 14618 |
__z___1 = return_value; |
|
14642 |
__z___1 = return_value; |
| 14619 |
__z___1->value.lval = 0L; |
|
14643 |
__z___1->value.lval = 0L; |
| 14620 |
__z___1->type = (zend_uchar )3; |
|
14644 |
__z___1->type = (zend_uchar )3; |
| 14621 |
break; |
|
14645 |
break; |
| 14622 |
} |
|
14646 |
} |
| 14623 |
return; |
|
14647 |
return; |
| 14624 |
} else { |
|
14648 |
} else { |
| 14625 |
|
|
14649 |
|
| 14626 |
} |
|
14650 |
} |
| 14627 |
if (needle_len == 1) { |
|
14651 |
if (needle_len == 1) { |
| 14628 |
if (offset >= 0L) { |
|
14652 |
if (offset >= 0L) { |
| 14629 |
if (offset > (long )haystack_len) { |
|
14653 |
if (offset > (long )haystack_len) { |
| 14630 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14654 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14631 |
"Offset is greater than the length of haystack string"); |
|
14655 |
"Offset is greater than the length of haystack string"); |
| 14632 |
while (1) { |
|
14656 |
while (1) { |
| 14633 |
__z___2 = return_value; |
|
14657 |
__z___2 = return_value; |
| 14634 |
__z___2->value.lval = 0L; |
|
14658 |
__z___2->value.lval = 0L; |
| 14635 |
__z___2->type = (zend_uchar )3; |
|
14659 |
__z___2->type = (zend_uchar )3; |
| 14636 |
break; |
|
14660 |
break; |
| 14637 |
} |
|
14661 |
} |
| 14638 |
return; |
|
14662 |
return; |
| 14639 |
} else { |
|
14663 |
} else { |
| 14640 |
|
|
14664 |
|
| 14641 |
} |
|
14665 |
} |
| 14642 |
p = haystack + offset; |
|
14666 |
p = haystack + offset; |
| 14643 |
e = (haystack + haystack_len) - 1; |
|
14667 |
e = (haystack + haystack_len) - 1; |
| 14644 |
} else { |
|
14668 |
} else { |
| 14645 |
p = haystack; |
|
14669 |
p = haystack; |
| 14646 |
if (offset < -2147483647L) { |
|
14670 |
if (offset < -2147483647L) { |
| 14647 |
goto _L___0; |
|
14671 |
goto _L___0; |
| 14648 |
} else |
|
14672 |
} else |
| 14649 |
if (- offset > (long )haystack_len) { |
|
14673 |
if (- offset > (long )haystack_len) { |
| 14650 |
_L___0: |
|
14674 |
_L___0: |
| 14651 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14675 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14652 |
"Offset is greater than the length of haystack string"); |
|
14676 |
"Offset is greater than the length of haystack string"); |
| 14653 |
while (1) { |
|
14677 |
while (1) { |
| 14654 |
__z___3 = return_value; |
|
14678 |
__z___3 = return_value; |
| 14655 |
__z___3->value.lval = 0L; |
|
14679 |
__z___3->value.lval = 0L; |
| 14656 |
__z___3->type = (zend_uchar )3; |
|
14680 |
__z___3->type = (zend_uchar )3; |
| 14657 |
break; |
|
14681 |
break; |
| 14658 |
} |
|
14682 |
} |
| 14659 |
return; |
|
14683 |
return; |
| 14660 |
} else { |
|
14684 |
} else { |
| 14661 |
|
|
14685 |
|
| 14662 |
} |
|
14686 |
} |
| 14663 |
e = (haystack + haystack_len) + offset; |
|
14687 |
e = (haystack + haystack_len) + offset; |
| 14664 |
} |
|
14688 |
} |
| 14665 |
if (sizeof(*needle) > 1U) { |
|
14689 |
if (sizeof(*needle) > 1U) { |
| 14666 |
__res = tolower((int )*needle); |
|
14690 |
__res = tolower((int )*needle); |
| 14667 |
} else { |
|
14691 |
} else { |
| 14668 |
tmp___2 = __ctype_tolower_loc(); |
|
14692 |
tmp___2 = __ctype_tolower_loc(); |
| 14669 |
__res = (int )*(*tmp___2 + (int )*needle); |
|
14693 |
__res = (int )*(*tmp___2 + (int )*needle); |
| 14670 |
} |
|
14694 |
} |
| 14671 |
ord_needle[0] = (char )__res; |
|
14695 |
ord_needle[0] = (char )__res; |
| 14672 |
while ((unsigned int )e >= (unsigned int )p) { |
|
14696 |
while ((unsigned int )e >= (unsigned int )p) { |
| 14673 |
if (sizeof(*e) > 1U) { |
|
14697 |
if (sizeof(*e) > 1U) { |
| 14674 |
__res___0 = tolower((int )*e); |
|
14698 |
__res___0 = tolower((int )*e); |
| 14675 |
} else { |
|
14699 |
} else { |
| 14676 |
tmp___5 = __ctype_tolower_loc(); |
|
14700 |
tmp___5 = __ctype_tolower_loc(); |
| 14677 |
__res___0 = (int )*(*tmp___5 + (int )*e); |
|
14701 |
__res___0 = (int )*(*tmp___5 + (int )*e); |
| 14678 |
} |
|
14702 |
} |
| 14679 |
if (__res___0 == (int )ord_needle[0]) { |
|
14703 |
if (__res___0 == (int )ord_needle[0]) { |
| 14680 |
__z___4 = return_value; |
|
14704 |
__z___4 = return_value; |
| 14681 |
if (offset > 0L) { |
|
14705 |
if (offset > 0L) { |
| 14682 |
tmp___3 = offset; |
|
14706 |
tmp___3 = offset; |
| 14683 |
} else { |
|
14707 |
} else { |
| 14684 |
tmp___3 = 0L; |
|
14708 |
tmp___3 = 0L; |
| 14685 |
} |
|
14709 |
} |
| 14686 |
__z___4->value.lval = (long )(e - p) + tmp___3; |
|
14710 |
__z___4->value.lval = (long )(e - p) + tmp___3; |
| 14687 |
__z___4->type = (zend_uchar )1; |
|
14711 |
__z___4->type = (zend_uchar )1; |
| 14688 |
return; |
|
14712 |
return; |
| 14689 |
} else { |
|
14713 |
} else { |
| 14690 |
|
|
14714 |
|
| 14691 |
} |
|
14715 |
} |
| 14692 |
e --; |
|
14716 |
e --; |
| 14693 |
} |
|
14717 |
} |
| 14694 |
while (1) { |
|
14718 |
while (1) { |
| 14695 |
__z___5 = return_value; |
|
14719 |
__z___5 = return_value; |
| 14696 |
__z___5->value.lval = 0L; |
|
14720 |
__z___5->value.lval = 0L; |
| 14697 |
__z___5->type = (zend_uchar )3; |
|
14721 |
__z___5->type = (zend_uchar )3; |
| 14698 |
break; |
|
14722 |
break; |
| 14699 |
} |
|
14723 |
} |
| 14700 |
return; |
|
14724 |
return; |
| 14701 |
} else { |
|
14725 |
} else { |
| 14702 |
|
|
14726 |
|
| 14703 |
} |
|
14727 |
} |
| 14704 |
tmp___6 = _estrndup((char const *)needle, (unsigned int )needle_len); |
|
14728 |
tmp___6 = _estrndup((char const *)needle, (unsigned int )needle_len); |
| 14705 |
needle_dup = (char *)tmp___6; |
|
14729 |
needle_dup = (char *)tmp___6; |
| 14706 |
php_strtolower(needle_dup, (size_t )needle_len); |
|
14730 |
php_strtolower(needle_dup, (size_t )needle_len); |
| 14707 |
tmp___7 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
|
14731 |
tmp___7 = _estrndup((char const *)haystack, (unsigned int )haystack_len); |
| 14708 |
haystack_dup = (char *)tmp___7; |
|
14732 |
haystack_dup = (char *)tmp___7; |
| 14709 |
php_strtolower(haystack_dup, (size_t )haystack_len); |
|
14733 |
php_strtolower(haystack_dup, (size_t )haystack_len); |
| 14710 |
if (offset >= 0L) { |
|
14734 |
if (offset >= 0L) { |
| 14711 |
if (offset > (long )haystack_len) { |
|
14735 |
if (offset > (long )haystack_len) { |
| 14712 |
_efree((void *)needle_dup); |
|
14736 |
_efree((void *)needle_dup); |
| 14713 |
_efree((void *)haystack_dup); |
|
14737 |
_efree((void *)haystack_dup); |
| 14714 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14738 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14715 |
"Offset is greater than the length of haystack string"); |
|
14739 |
"Offset is greater than the length of haystack string"); |
| 14716 |
while (1) { |
|
14740 |
while (1) { |
| 14717 |
__z___6 = return_value; |
|
14741 |
__z___6 = return_value; |
| 14718 |
__z___6->value.lval = 0L; |
|
14742 |
__z___6->value.lval = 0L; |
| 14719 |
__z___6->type = (zend_uchar )3; |
|
14743 |
__z___6->type = (zend_uchar )3; |
| 14720 |
break; |
|
14744 |
break; |
| 14721 |
} |
|
14745 |
} |
| 14722 |
return; |
|
14746 |
return; |
| 14723 |
} else { |
|
14747 |
} else { |
| 14724 |
|
|
14748 |
|
| 14725 |
} |
|
14749 |
} |
| 14726 |
p = haystack_dup + offset; |
|
14750 |
p = haystack_dup + offset; |
| 14727 |
e = (haystack_dup + haystack_len) - needle_len; |
|
14751 |
e = (haystack_dup + haystack_len) - needle_len; |
| 14728 |
} else { |
|
14752 |
} else { |
| 14729 |
if (offset < -2147483647L) { |
|
14753 |
if (offset < -2147483647L) { |
| 14730 |
goto _L___1; |
|
14754 |
goto _L___1; |
| 14731 |
} else |
|
14755 |
} else |
| 14732 |
if (- offset > (long )haystack_len) { |
|
14756 |
if (- offset > (long )haystack_len) { |
| 14733 |
_L___1: |
|
14757 |
_L___1: |
| 14734 |
_efree((void *)needle_dup); |
|
14758 |
_efree((void *)needle_dup); |
| 14735 |
_efree((void *)haystack_dup); |
|
14759 |
_efree((void *)haystack_dup); |
| 14736 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14760 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14737 |
"Offset is greater than the length of haystack string"); |
|
14761 |
"Offset is greater than the length of haystack string"); |
| 14738 |
while (1) { |
|
14762 |
while (1) { |
| 14739 |
__z___7 = return_value; |
|
14763 |
__z___7 = return_value; |
| 14740 |
__z___7->value.lval = 0L; |
|
14764 |
__z___7->value.lval = 0L; |
| 14741 |
__z___7->type = (zend_uchar )3; |
|
14765 |
__z___7->type = (zend_uchar )3; |
| 14742 |
break; |
|
14766 |
break; |
| 14743 |
} |
|
14767 |
} |
| 14744 |
return; |
|
14768 |
return; |
| 14745 |
} else { |
|
14769 |
} else { |
| 14746 |
|
|
14770 |
|
| 14747 |
} |
|
14771 |
} |
| 14748 |
p = haystack_dup; |
|
14772 |
p = haystack_dup; |
| 14749 |
if ((long )needle_len > - offset) { |
|
14773 |
if ((long )needle_len > - offset) { |
| 14750 |
e = (haystack_dup + haystack_len) - needle_len; |
|
14774 |
e = (haystack_dup + haystack_len) - needle_len; |
| 14751 |
} else { |
|
14775 |
} else { |
| 14752 |
e = (haystack_dup + haystack_len) + offset; |
|
14776 |
e = (haystack_dup + haystack_len) + offset; |
| 14753 |
} |
|
14777 |
} |
| 14754 |
} |
|
14778 |
} |
| 14755 |
while ((unsigned int )e >= (unsigned int )p) { |
|
14779 |
while ((unsigned int )e >= (unsigned int )p) { |
| 14756 |
tmp___9 = memcmp((void const *)e, (void const *)needle_dup, |
|
14780 |
tmp___9 = memcmp((void const *)e, (void const *)needle_dup, |
| 14757 |
(size_t )needle_len); |
|
14781 |
(size_t )needle_len); |
| 14758 |
if (tmp___9 == 0) { |
|
14782 |
if (tmp___9 == 0) { |
| 14759 |
_efree((void *)haystack_dup); |
|
14783 |
_efree((void *)haystack_dup); |
| 14760 |
_efree((void *)needle_dup); |
|
14784 |
_efree((void *)needle_dup); |
| 14761 |
__z___8 = return_value; |
|
14785 |
__z___8 = return_value; |
| 14762 |
if (offset > 0L) { |
|
14786 |
if (offset > 0L) { |
| 14763 |
tmp___8 = offset; |
|
14787 |
tmp___8 = offset; |
| 14764 |
} else { |
|
14788 |
} else { |
| 14765 |
tmp___8 = 0L; |
|
14789 |
tmp___8 = 0L; |
| 14766 |
} |
|
14790 |
} |
| 14767 |
__z___8->value.lval = (long )(e - p) + tmp___8; |
|
14791 |
__z___8->value.lval = (long )(e - p) + tmp___8; |
| 14768 |
__z___8->type = (zend_uchar )1; |
|
14792 |
__z___8->type = (zend_uchar )1; |
| 14769 |
return; |
|
14793 |
return; |
| 14770 |
} else { |
|
14794 |
} else { |
| 14771 |
|
|
14795 |
|
| 14772 |
} |
|
14796 |
} |
| 14773 |
e --; |
|
14797 |
e --; |
| 14774 |
} |
|
14798 |
} |
| 14775 |
_efree((void *)haystack_dup); |
|
14799 |
_efree((void *)haystack_dup); |
| 14776 |
_efree((void *)needle_dup); |
|
14800 |
_efree((void *)needle_dup); |
| 14777 |
while (1) { |
|
14801 |
while (1) { |
| 14778 |
__z___9 = return_value; |
|
14802 |
__z___9 = return_value; |
| 14779 |
__z___9->value.lval = 0L; |
|
14803 |
__z___9->value.lval = 0L; |
| 14780 |
__z___9->type = (zend_uchar )3; |
|
14804 |
__z___9->type = (zend_uchar )3; |
| 14781 |
break; |
|
14805 |
break; |
| 14782 |
} |
|
14806 |
} |
| 14783 |
return; |
|
14807 |
return; |
| 14784 |
} |
|
14808 |
} |
| 14785 |
} |
|
14809 |
} |
| 14786 |
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , |
|
14810 |
void zif_strrchr(int ht , zval *return_value , zval **return_value_ptr , |
| 14787 |
zval *this_ptr , int return_value_used ) |
|
14811 |
zval *this_ptr , int return_value_used ) |
| 14788 |
{ |
|
14812 |
{ |
| 14789 |
zval *needle ; |
|
14813 |
zval *needle ; |
| 14790 |
char *haystack ; |
|
14814 |
char *haystack ; |
| 14791 |
char const *found ; |
|
14815 |
char const *found ; |
| 14792 |
long found_offset ; |
|
14816 |
long found_offset ; |
| 14793 |
int haystack_len ; |
|
14817 |
int haystack_len ; |
| 14794 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14818 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14795 |
void const *tmp___0 ; |
|
14819 |
void const *tmp___0 ; |
| 14796 |
char needle_chr ; |
|
14820 |
char needle_chr ; |
| 14797 |
zval *__z ; |
|
14821 |
zval *__z ; |
| 14798 |
int tmp___1 ; |
|
14822 |
int tmp___1 ; |
| 14799 |
void const *tmp___2 ; |
|
14823 |
void const *tmp___2 ; |
| 14800 |
char const *__s ; |
|
14824 |
char const *__s ; |
| 14801 |
int __l ; |
|
14825 |
int __l ; |
| 14802 |
zval *__z___0 ; |
|
14826 |
zval *__z___0 ; |
| 14803 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
14827 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 14804 |
zval *__z___1 ; |
|
14828 |
zval *__z___1 ; |
| 14805 |
|
|
14829 |
|
| 14806 |
{ |
|
14830 |
{ |
| 14807 |
found = (char const *)((void *)0); |
|
14831 |
found = (char const *)((void *)0); |
| 14808 |
tmp = zend_parse_parameters(ht, "sz", & haystack, & haystack_len, & needle); |
|
14832 |
tmp = zend_parse_parameters(ht, "sz", & haystack, & haystack_len, & needle); |
| 14809 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14833 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14810 |
return; |
|
14834 |
return; |
| 14811 |
} else { |
|
14835 |
} else { |
| 14812 |
|
|
14836 |
|
| 14813 |
} |
|
14837 |
} |
| 14814 |
if ((int )needle->type == 6) { |
|
14838 |
if ((int )needle->type == 6) { |
| 14815 |
tmp___0 = zend_memrchr((void const *)haystack, |
|
14839 |
tmp___0 = zend_memrchr((void const *)haystack, |
| 14816 |
(int )*(needle->value.str.val), (size_t )haystack_len); |
|
14840 |
(int )*(needle->value.str.val), (size_t )haystack_len); |
| 14817 |
found = (char const *)tmp___0; |
|
14841 |
found = (char const *)tmp___0; |
| 14818 |
} else { |
|
14842 |
} else { |
| 14819 |
tmp___1 = php_needle_char(needle, & needle_chr); |
|
14843 |
tmp___1 = php_needle_char(needle, & needle_chr); |
| 14820 |
if (tmp___1 != 0) { |
|
14844 |
if (tmp___1 != 0) { |
| 14821 |
while (1) { |
|
14845 |
while (1) { |
| 14822 |
__z = return_value; |
|
14846 |
__z = return_value; |
| 14823 |
__z->value.lval = 0L; |
|
14847 |
__z->value.lval = 0L; |
| 14824 |
__z->type = (zend_uchar )3; |
|
14848 |
__z->type = (zend_uchar )3; |
| 14825 |
break; |
|
14849 |
break; |
| 14826 |
} |
|
14850 |
} |
| 14827 |
return; |
|
14851 |
return; |
| 14828 |
} else { |
|
14852 |
} else { |
| 14829 |
|
|
14853 |
|
| 14830 |
} |
|
14854 |
} |
| 14831 |
tmp___2 = zend_memrchr((void const *)haystack, (int )needle_chr, |
|
14855 |
tmp___2 = zend_memrchr((void const *)haystack, (int )needle_chr, |
| 14832 |
(size_t )haystack_len); |
|
14856 |
(size_t )haystack_len); |
| 14833 |
found = (char const *)tmp___2; |
|
14857 |
found = (char const *)tmp___2; |
| 14834 |
} |
|
14858 |
} |
| 14835 |
if (found) { |
|
14859 |
if (found) { |
| 14836 |
found_offset = (long )(found - (char const *)haystack); |
|
14860 |
found_offset = (long )(found - (char const *)haystack); |
| 14837 |
while (1) { |
|
14861 |
while (1) { |
| 14838 |
__s = found; |
|
14862 |
__s = found; |
| 14839 |
__l = (int )((long )haystack_len - found_offset); |
|
14863 |
__l = (int )((long )haystack_len - found_offset); |
| 14840 |
__z___0 = return_value; |
|
14864 |
__z___0 = return_value; |
| 14841 |
__z___0->value.str.len = __l; |
|
14865 |
__z___0->value.str.len = __l; |
| 14842 |
tmp___3 = _estrndup(__s, (unsigned int )__l); |
|
14866 |
tmp___3 = _estrndup(__s, (unsigned int )__l); |
| 14843 |
__z___0->value.str.val = (char *)tmp___3; |
|
14867 |
__z___0->value.str.val = (char *)tmp___3; |
| 14844 |
__z___0->type = (zend_uchar )6; |
|
14868 |
__z___0->type = (zend_uchar )6; |
| 14845 |
break; |
|
14869 |
break; |
| 14846 |
} |
|
14870 |
} |
| 14847 |
return; |
|
14871 |
return; |
| 14848 |
} else { |
|
14872 |
} else { |
| 14849 |
while (1) { |
|
14873 |
while (1) { |
| 14850 |
__z___1 = return_value; |
|
14874 |
__z___1 = return_value; |
| 14851 |
__z___1->value.lval = 0L; |
|
14875 |
__z___1->value.lval = 0L; |
| 14852 |
__z___1->type = (zend_uchar )3; |
|
14876 |
__z___1->type = (zend_uchar )3; |
| 14853 |
break; |
|
14877 |
break; |
| 14854 |
} |
|
14878 |
} |
| 14855 |
return; |
|
14879 |
return; |
| 14856 |
} |
|
14880 |
} |
| 14857 |
} |
|
14881 |
} |
| 14858 |
} |
|
14882 |
} |
| 14859 |
static char *php_chunk_split(char *src , int srclen , char *end , int endlen , |
|
14883 |
static char *php_chunk_split(char *src , int srclen , char *end , int endlen , |
| 14860 |
int chunklen , int *destlen ) |
|
14884 |
int chunklen , int *destlen ) |
| 14861 |
{ |
|
14885 |
{ |
| 14862 |
char *dest ; |
|
14886 |
char *dest ; |
| 14863 |
char *p ; |
|
14887 |
char *p ; |
| 14864 |
char *q ; |
|
14888 |
char *q ; |
| 14865 |
int chunks ; |
|
14889 |
int chunks ; |
| 14866 |
int restlen ; |
|
14890 |
int restlen ; |
| 14867 |
int out_len ; |
|
14891 |
int out_len ; |
| 14868 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
14892 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 14869 |
|
|
14893 |
|
| 14870 |
{ |
|
14894 |
{ |
| 14871 |
chunks = srclen / chunklen; |
|
14895 |
chunks = srclen / chunklen; |
| 14872 |
restlen = srclen - chunks * chunklen; |
|
14896 |
restlen = srclen - chunks * chunklen; |
| 14873 |
if (chunks > 2147483646) { |
|
14897 |
if (chunks > 2147483646) { |
| 14874 |
return ((char *)((void *)0)); |
|
14898 |
return ((char *)((void *)0)); |
| 14875 |
} else { |
|
14899 |
} else { |
| 14876 |
|
|
14900 |
|
| 14877 |
} |
|
14901 |
} |
| 14878 |
out_len = chunks + 1; |
|
14902 |
out_len = chunks + 1; |
| 14879 |
if (endlen != 0) { |
|
14903 |
if (endlen != 0) { |
| 14880 |
if (out_len > 2147483647 / endlen) { |
|
14904 |
if (out_len > 2147483647 / endlen) { |
| 14881 |
return ((char *)((void *)0)); |
|
14905 |
return ((char *)((void *)0)); |
| 14882 |
} else { |
|
14906 |
} else { |
| 14883 |
|
|
14907 |
|
| 14884 |
} |
|
14908 |
} |
| 14885 |
} else { |
|
14909 |
} else { |
| 14886 |
|
|
14910 |
|
| 14887 |
} |
|
14911 |
} |
| 14888 |
out_len *= endlen; |
|
14912 |
out_len *= endlen; |
| 14889 |
if (out_len > (2147483647 - srclen) - 1) { |
|
14913 |
if (out_len > (2147483647 - srclen) - 1) { |
| 14890 |
return ((char *)((void *)0)); |
|
14914 |
return ((char *)((void *)0)); |
| 14891 |
} else { |
|
14915 |
} else { |
| 14892 |
|
|
14916 |
|
| 14893 |
} |
|
14917 |
} |
| 14894 |
out_len += srclen + 1; |
|
14918 |
out_len += srclen + 1; |
| 14895 |
tmp = _safe_emalloc((size_t )out_len, sizeof(char ), (size_t )0); |
|
14919 |
tmp = _safe_emalloc((size_t )out_len, sizeof(char ), (size_t )0); |
| 14896 |
dest = (char *)tmp; |
|
14920 |
dest = (char *)tmp; |
| 14897 |
p = src; |
|
14921 |
p = src; |
| 14898 |
q = dest; |
|
14922 |
q = dest; |
| 14899 |
while ((unsigned int )p < (unsigned int )(((src + srclen) - chunklen) + 1)) { |
|
14923 |
while ((unsigned int )p < (unsigned int )(((src + srclen) - chunklen) + 1)) { |
| 14900 |
memcpy((void *)q, (void const *)p, |
|
14924 |
memcpy((void *)q, (void const *)p, |
| 14901 |
(size_t )chunklen); |
|
14925 |
(size_t )chunklen); |
| 14902 |
q += chunklen; |
|
14926 |
q += chunklen; |
| 14903 |
memcpy((void *)q, (void const *)end, |
|
14927 |
memcpy((void *)q, (void const *)end, |
| 14904 |
(size_t )endlen); |
|
14928 |
(size_t )endlen); |
| 14905 |
q += endlen; |
|
14929 |
q += endlen; |
| 14906 |
p += chunklen; |
|
14930 |
p += chunklen; |
| 14907 |
} |
|
14931 |
} |
| 14908 |
if (restlen) { |
|
14932 |
if (restlen) { |
| 14909 |
memcpy((void *)q, (void const *)p, |
|
14933 |
memcpy((void *)q, (void const *)p, |
| 14910 |
(size_t )restlen); |
|
14934 |
(size_t )restlen); |
| 14911 |
q += restlen; |
|
14935 |
q += restlen; |
| 14912 |
memcpy((void *)q, (void const *)end, |
|
14936 |
memcpy((void *)q, (void const *)end, |
| 14913 |
(size_t )endlen); |
|
14937 |
(size_t )endlen); |
| 14914 |
q += endlen; |
|
14938 |
q += endlen; |
| 14915 |
} else { |
|
14939 |
} else { |
| 14916 |
|
|
14940 |
|
| 14917 |
} |
|
14941 |
} |
| 14918 |
*q = (char )'\000'; |
|
14942 |
*q = (char )'\000'; |
| 14919 |
if (destlen) { |
|
14943 |
if (destlen) { |
| 14920 |
*destlen = q - dest; |
|
14944 |
*destlen = q - dest; |
| 14921 |
} else { |
|
14945 |
} else { |
| 14922 |
|
|
14946 |
|
| 14923 |
} |
|
14947 |
} |
| 14924 |
return (dest); |
|
14948 |
return (dest); |
| 14925 |
} |
|
14949 |
} |
| 14926 |
} |
|
14950 |
} |
| 14927 |
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , |
|
14951 |
void zif_chunk_split(int ht , zval *return_value , zval **return_value_ptr , |
| 14928 |
zval *this_ptr , int return_value_used ) |
|
14952 |
zval *this_ptr , int return_value_used ) |
| 14929 |
{ |
|
14953 |
{ |
| 14930 |
char *str ; |
|
14954 |
char *str ; |
| 14931 |
char *result ; |
|
14955 |
char *result ; |
| 14932 |
char *end ; |
|
14956 |
char *end ; |
| 14933 |
int endlen ; |
|
14957 |
int endlen ; |
| 14934 |
long chunklen ; |
|
14958 |
long chunklen ; |
| 14935 |
int result_len ; |
|
14959 |
int result_len ; |
| 14936 |
int str_len ; |
|
14960 |
int str_len ; |
| 14937 |
int __attribute__((__visibility__("default"))) tmp ; |
|
14961 |
int __attribute__((__visibility__("default"))) tmp ; |
| 14938 |
zval *__z ; |
|
14962 |
zval *__z ; |
| 14939 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
14963 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 14940 |
char const *__s ; |
|
14964 |
char const *__s ; |
| 14941 |
int __l ; |
|
14965 |
int __l ; |
| 14942 |
zval *__z___0 ; |
|
14966 |
zval *__z___0 ; |
| 14943 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
14967 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 14944 |
zval *__z___1 ; |
|
14968 |
zval *__z___1 ; |
| 14945 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
14969 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 14946 |
char const *__s___0 ; |
|
14970 |
char const *__s___0 ; |
| 14947 |
int __l___0 ; |
|
14971 |
int __l___0 ; |
| 14948 |
zval *__z___2 ; |
|
14972 |
zval *__z___2 ; |
| 14949 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
14973 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 14950 |
zval *__z___3 ; |
|
14974 |
zval *__z___3 ; |
| 14951 |
|
|
14975 |
|
| 14952 |
{ |
|
14976 |
{ |
| 14953 |
end = (char *)"\r\n"; |
|
14977 |
end = (char *)"\r\n"; |
| 14954 |
endlen = 2; |
|
14978 |
endlen = 2; |
| 14955 |
chunklen = 76L; |
|
14979 |
chunklen = 76L; |
| 14956 |
tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & chunklen, & end, |
|
14980 |
tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & chunklen, & end, |
| 14957 |
& endlen); |
|
14981 |
& endlen); |
| 14958 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
14982 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 14959 |
return; |
|
14983 |
return; |
| 14960 |
} else { |
|
14984 |
} else { |
| 14961 |
|
|
14985 |
|
| 14962 |
} |
|
14986 |
} |
| 14963 |
if (chunklen <= 0L) { |
|
14987 |
if (chunklen <= 0L) { |
| 14964 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
14988 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 14965 |
"Chunk length should be greater than zero"); |
|
14989 |
"Chunk length should be greater than zero"); |
| 14966 |
while (1) { |
|
14990 |
while (1) { |
| 14967 |
__z = return_value; |
|
14991 |
__z = return_value; |
| 14968 |
__z->value.lval = 0L; |
|
14992 |
__z->value.lval = 0L; |
| 14969 |
__z->type = (zend_uchar )3; |
|
14993 |
__z->type = (zend_uchar )3; |
| 14970 |
break; |
|
14994 |
break; |
| 14971 |
} |
|
14995 |
} |
| 14972 |
return; |
|
14996 |
return; |
| 14973 |
} else { |
|
14997 |
} else { |
| 14974 |
|
|
14998 |
|
| 14975 |
} |
|
14999 |
} |
| 14976 |
if (chunklen > (long )str_len) { |
|
15000 |
if (chunklen > (long )str_len) { |
| 14977 |
result_len = endlen + str_len; |
|
15001 |
result_len = endlen + str_len; |
| 14978 |
tmp___0 = _emalloc((size_t )(result_len + 1)); |
|
15002 |
tmp___0 = _emalloc((size_t )(result_len + 1)); |
| 14979 |
result = (char *)tmp___0; |
|
15003 |
result = (char *)tmp___0; |
| 14980 |
memcpy((void *)result, |
|
15004 |
memcpy((void *)result, |
| 14981 |
(void const *)str, (size_t )str_len); |
|
15005 |
(void const *)str, (size_t )str_len); |
| 14982 |
memcpy((void *)(result + str_len), |
|
15006 |
memcpy((void *)(result + str_len), |
| 14983 |
(void const *)end, (size_t )endlen); |
|
15007 |
(void const *)end, (size_t )endlen); |
| 14984 |
*(result + result_len) = (char )'\000'; |
|
15008 |
*(result + result_len) = (char )'\000'; |
| 14985 |
while (1) { |
|
15009 |
while (1) { |
| 14986 |
__s = (char const *)result; |
|
15010 |
__s = (char const *)result; |
| 14987 |
__l = result_len; |
|
15011 |
__l = result_len; |
| 14988 |
__z___0 = return_value; |
|
15012 |
__z___0 = return_value; |
| 14989 |
__z___0->value.str.len = __l; |
|
15013 |
__z___0->value.str.len = __l; |
| 14990 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
15014 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 14991 |
__z___0->type = (zend_uchar )6; |
|
15015 |
__z___0->type = (zend_uchar )6; |
| 14992 |
break; |
|
15016 |
break; |
| 14993 |
} |
|
15017 |
} |
| 14994 |
return; |
|
15018 |
return; |
| 14995 |
} else { |
|
15019 |
} else { |
| 14996 |
|
|
15020 |
|
| 14997 |
} |
|
15021 |
} |
| 14998 |
if (! str_len) { |
|
15022 |
if (! str_len) { |
| 14999 |
while (1) { |
|
15023 |
while (1) { |
| 15000 |
__z___1 = return_value; |
|
15024 |
__z___1 = return_value; |
| 15001 |
__z___1->value.str.len = 0; |
|
15025 |
__z___1->value.str.len = 0; |
| 15002 |
tmp___2 = _estrndup("", sizeof("") - 1U); |
|
15026 |
tmp___2 = _estrndup("", sizeof("") - 1U); |
| 15003 |
__z___1->value.str.val = (char *)tmp___2; |
|
15027 |
__z___1->value.str.val = (char *)tmp___2; |
| 15004 |
__z___1->type = (zend_uchar )6; |
|
15028 |
__z___1->type = (zend_uchar )6; |
| 15005 |
break; |
|
15029 |
break; |
| 15006 |
} |
|
15030 |
} |
| 15007 |
return; |
|
15031 |
return; |
| 15008 |
} else { |
|
15032 |
} else { |
| 15009 |
|
|
15033 |
|
| 15010 |
} |
|
15034 |
} |
| 15011 |
result = php_chunk_split(str, str_len, end, endlen, (int )chunklen, |
|
15035 |
result = php_chunk_split(str, str_len, end, endlen, (int )chunklen, |
| 15012 |
& result_len); |
|
15036 |
& result_len); |
| 15013 |
if (result) { |
|
15037 |
if (result) { |
| 15014 |
while (1) { |
|
15038 |
while (1) { |
| 15015 |
__s___0 = (char const *)result; |
|
15039 |
__s___0 = (char const *)result; |
| 15016 |
__l___0 = result_len; |
|
15040 |
__l___0 = result_len; |
| 15017 |
__z___2 = return_value; |
|
15041 |
__z___2 = return_value; |
| 15018 |
__z___2->value.str.len = __l___0; |
|
15042 |
__z___2->value.str.len = __l___0; |
| 15019 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
15043 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 15020 |
__z___2->type = (zend_uchar )6; |
|
15044 |
__z___2->type = (zend_uchar )6; |
| 15021 |
break; |
|
15045 |
break; |
| 15022 |
} |
|
15046 |
} |
| 15023 |
return; |
|
15047 |
return; |
| 15024 |
} else { |
|
15048 |
} else { |
| 15025 |
while (1) { |
|
15049 |
while (1) { |
| 15026 |
__z___3 = return_value; |
|
15050 |
__z___3 = return_value; |
| 15027 |
__z___3->value.lval = 0L; |
|
15051 |
__z___3->value.lval = 0L; |
| 15028 |
__z___3->type = (zend_uchar )3; |
|
15052 |
__z___3->type = (zend_uchar )3; |
| 15029 |
break; |
|
15053 |
break; |
| 15030 |
} |
|
15054 |
} |
| 15031 |
return; |
|
15055 |
return; |
| 15032 |
} |
|
15056 |
} |
| 15033 |
} |
|
15057 |
} |
| 15034 |
} |
|
15058 |
} |
| 15035 |
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , |
|
15059 |
void zif_substr(int ht , zval *return_value , zval **return_value_ptr , |
| 15036 |
zval *this_ptr , int return_value_used ) |
|
15060 |
zval *this_ptr , int return_value_used ) |
| 15037 |
{ |
|
15061 |
{ |
| 15038 |
char *str ; |
|
15062 |
char *str ; |
| 15039 |
long l ; |
|
15063 |
long l ; |
| 15040 |
long f ; |
|
15064 |
long f ; |
| 15041 |
int str_len ; |
|
15065 |
int str_len ; |
| 15042 |
int argc ; |
|
15066 |
int argc ; |
| 15043 |
int __attribute__((__visibility__("default"))) tmp ; |
|
15067 |
int __attribute__((__visibility__("default"))) tmp ; |
| 15044 |
zval *__z ; |
|
15068 |
zval *__z ; |
| 15045 |
zval *__z___0 ; |
|
15069 |
zval *__z___0 ; |
| 15046 |
zval *__z___1 ; |
|
15070 |
zval *__z___1 ; |
| 15047 |
zval *__z___2 ; |
|
15071 |
zval *__z___2 ; |
| 15048 |
char const *__s ; |
|
15072 |
char const *__s ; |
| 15049 |
int __l ; |
|
15073 |
int __l ; |
| 15050 |
zval *__z___3 ; |
|
15074 |
zval *__z___3 ; |
| 15051 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
15075 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 15052 |
|
|
15076 |
|
| 15053 |
{ |
|
15077 |
{ |
| 15054 |
l = 0L; |
|
15078 |
l = 0L; |
| 15055 |
argc = ht; |
|
15079 |
argc = ht; |
| 15056 |
tmp = zend_parse_parameters(ht, "sl|l", & str, & str_len, & f, & l); |
|
15080 |
tmp = zend_parse_parameters(ht, "sl|l", & str, & str_len, & f, & l); |
| 15057 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
15081 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 15058 |
return; |
|
15082 |
return; |
| 15059 |
} else { |
|
15083 |
} else { |
| 15060 |
|
|
15084 |
|
| 15061 |
} |
|
15085 |
} |
| 15062 |
if (argc > 2) { |
|
15086 |
if (argc > 2) { |
| 15063 |
if (l < 0L) { |
|
15087 |
if (l < 0L) { |
| 15064 |
if (- l > (long )str_len) { |
|
15088 |
if (- l > (long )str_len) { |
| 15065 |
while (1) { |
|
15089 |
while (1) { |
| 15066 |
__z = return_value; |
|
15090 |
__z = return_value; |
| 15067 |
__z->value.lval = 0L; |
|
15091 |
__z->value.lval = 0L; |
| 15068 |
__z->type = (zend_uchar )3; |
|
15092 |
__z->type = (zend_uchar )3; |
| 15069 |
break; |
|
15093 |
break; |
| 15070 |
} |
|
15094 |
} |
| 15071 |
return; |
|
15095 |
return; |
| 15072 |
} else { |
|
15096 |
} else { |
| 15073 |
goto _L; |
|
15097 |
goto _L; |
| 15074 |
} |
|
15098 |
} |
| 15075 |
} else |
|
15099 |
} else |
| 15076 |
_L: |
|
15100 |
_L: |
| 15077 |
if (l > (long )str_len) { |
|
15101 |
if (l > (long )str_len) { |
| 15078 |
l = (long )str_len; |
|
15102 |
l = (long )str_len; |
| 15079 |
} else { |
|
15103 |
} else { |
| 15080 |
|
|
15104 |
|
| 15081 |
} |
|
15105 |
} |
| 15082 |
} else { |
|
15106 |
} else { |
| 15083 |
l = (long )str_len; |
|
15107 |
l = (long )str_len; |
| 15084 |
} |
|
15108 |
} |
| 15085 |
if (f > (long )str_len) { |
|
15109 |
if (f > (long )str_len) { |
| 15086 |
while (1) { |
|
15110 |
while (1) { |
| 15087 |
__z___0 = return_value; |
|
15111 |
__z___0 = return_value; |
| 15088 |
__z___0->value.lval = 0L; |
|
15112 |
__z___0->value.lval = 0L; |
| 15089 |
__z___0->type = (zend_uchar )3; |
|
15113 |
__z___0->type = (zend_uchar )3; |
| 15090 |
break; |
|
15114 |
break; |
| 15091 |
} |
|
15115 |
} |
| 15092 |
return; |
|
15116 |
return; |
| 15093 |
} else |
|
15117 |
} else |
| 15094 |
if (f < 0L) { |
|
15118 |
if (f < 0L) { |
| 15095 |
if (- f > (long )str_len) { |
|
15119 |
if (- f > (long )str_len) { |
| 15096 |
f = 0L; |
|
15120 |
f = 0L; |
| 15097 |
} else { |
|
15121 |
} else { |
| 15098 |
|
|
15122 |
|
| 15099 |
} |
|
15123 |
} |
| 15100 |
} else { |
|
15124 |
} else { |
| 15101 |
|
|
15125 |
|
| 15102 |
} |
|
15126 |
} |
| 15103 |
if (l < 0L) { |
|
15127 |
if (l < 0L) { |
| 15104 |
if ((l + (long )str_len) - f < 0L) { |
|
15128 |
if ((l + (long )str_len) - f < 0L) { |
| 15105 |
while (1) { |
|
15129 |
while (1) { |
| 15106 |
__z___1 = return_value; |
|
15130 |
__z___1 = return_value; |
| 15107 |
__z___1->value.lval = 0L; |
|
15131 |
__z___1->value.lval = 0L; |
| 15108 |
__z___1->type = (zend_uchar )3; |
|
15132 |
__z___1->type = (zend_uchar )3; |
| 15109 |
break; |
|
15133 |
break; |
| 15110 |
} |
|
15134 |
} |
| 15111 |
return; |
|
15135 |
return; |
| 15112 |
} else { |
|
15136 |
} else { |
| 15113 |
|
|
15137 |
|
| 15114 |
} |
|
15138 |
} |
| 15115 |
} else { |
|
15139 |
} else { |
| 15116 |
|
|
15140 |
|
| 15117 |
} |
|
15141 |
} |
| 15118 |
if (f < 0L) { |
|
15142 |
if (f < 0L) { |
| 15119 |
f = (long )str_len + f; |
|
15143 |
f = (long )str_len + f; |
| 15120 |
if (f < 0L) { |
|
15144 |
if (f < 0L) { |
| 15121 |
f = 0L; |
|
15145 |
f = 0L; |
| 15122 |
} else { |
|
15146 |
} else { |
| 15123 |
|
|
15147 |
|
| 15124 |
} |
|
15148 |
} |
| 15125 |
} else { |
|
15149 |
} else { |
| 15126 |
|
|
15150 |
|
| 15127 |
} |
|
15151 |
} |
| 15128 |
if (l < 0L) { |
|
15152 |
if (l < 0L) { |
| 15129 |
l = ((long )str_len - f) + l; |
|
15153 |
l = ((long )str_len - f) + l; |
| 15130 |
if (l < 0L) { |
|
15154 |
if (l < 0L) { |
| 15131 |
l = 0L; |
|
15155 |
l = 0L; |
| 15132 |
} else { |
|
15156 |
} else { |
| 15133 |
|
|
15157 |
|
| 15134 |
} |
|
15158 |
} |
| 15135 |
} else { |
|
15159 |
} else { |
| 15136 |
|
|
15160 |
|
| 15137 |
} |
|
15161 |
} |
| 15138 |
if (f >= (long )str_len) { |
|
15162 |
if (f >= (long )str_len) { |
| 15139 |
while (1) { |
|
15163 |
while (1) { |
| 15140 |
__z___2 = return_value; |
|
15164 |
__z___2 = return_value; |
| 15141 |
__z___2->value.lval = 0L; |
|
15165 |
__z___2->value.lval = 0L; |
| 15142 |
__z___2->type = (zend_uchar )3; |
|
15166 |
__z___2->type = (zend_uchar )3; |
| 15143 |
break; |
|
15167 |
break; |
| 15144 |
} |
|
15168 |
} |
| 15145 |
return; |
|
15169 |
return; |
| 15146 |
} else { |
|
15170 |
} else { |
| 15147 |
|
|
15171 |
|
| 15148 |
} |
|
15172 |
} |
| 15149 |
if (f + l > (long )str_len) { |
|
15173 |
if (f + l > (long )str_len) { |
| 15150 |
l = (long )str_len - f; |
|
15174 |
l = (long )str_len - f; |
| 15151 |
} else { |
|
15175 |
} else { |
| 15152 |
|
|
15176 |
|
| 15153 |
} |
|
15177 |
} |
| 15154 |
while (1) { |
|
15178 |
while (1) { |
| 15155 |
__s = (char const *)(str + f); |
|
15179 |
__s = (char const *)(str + f); |
| 15156 |
__l = (int )l; |
|
15180 |
__l = (int )l; |
| 15157 |
__z___3 = return_value; |
|
15181 |
__z___3 = return_value; |
| 15158 |
__z___3->value.str.len = __l; |
|
15182 |
__z___3->value.str.len = __l; |
| 15159 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
15183 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 15160 |
__z___3->value.str.val = (char *)tmp___0; |
|
15184 |
__z___3->value.str.val = (char *)tmp___0; |
| 15161 |
__z___3->type = (zend_uchar )6; |
|
15185 |
__z___3->type = (zend_uchar )6; |
| 15162 |
break; |
|
15186 |
break; |
| 15163 |
} |
|
15187 |
} |
| 15164 |
return; |
|
15188 |
return; |
| 15165 |
} |
|
15189 |
} |
| 15166 |
} |
|
15190 |
} |
| 15167 |
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , |
|
15191 |
void zif_substr_replace(int ht , zval *return_value , zval **return_value_ptr , |
| 15168 |
zval *this_ptr , int return_value_used ) |
|
15192 |
zval *this_ptr , int return_value_used ) |
| 15169 |
{ |
|
15193 |
{ |
| 15170 |
zval **str ; |
|
15194 |
zval **str ; |
| 15171 |
zval **from ; |
|
15195 |
zval **from ; |
| 15172 |
zval **len ; |
|
15196 |
zval **len ; |
| 15173 |
zval **repl ; |
|
15197 |
zval **repl ; |
| 15174 |
char *result ; |
|
15198 |
char *result ; |
| 15175 |
int result_len ; |
|
15199 |
int result_len ; |
| 15176 |
int l ; |
|
15200 |
int l ; |
| 15177 |
int f ; |
|
15201 |
int f ; |
| 15178 |
int argc ; |
|
15202 |
int argc ; |
| 15179 |
HashPosition pos_str ; |
|
15203 |
HashPosition pos_str ; |
| 15180 |
HashPosition pos_from ; |
|
15204 |
HashPosition pos_from ; |
| 15181 |
HashPosition pos_repl ; |
|
15205 |
HashPosition pos_repl ; |
| 15182 |
HashPosition pos_len ; |
|
15206 |
HashPosition pos_len ; |
| 15183 |
zval **tmp_str ; |
|
15207 |
zval **tmp_str ; |
| 15184 |
zval **tmp_from ; |
|
15208 |
zval **tmp_from ; |
| 15185 |
zval **tmp_repl ; |
|
15209 |
zval **tmp_repl ; |
| 15186 |
zval **tmp_len ; |
|
15210 |
zval **tmp_len ; |
| 15187 |
int __attribute__((__visibility__("default"))) tmp ; |
|
15211 |
int __attribute__((__visibility__("default"))) tmp ; |
| 15188 |
zval *new_zv ; |
|
15212 |
zval *new_zv ; |
| 15189 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
15213 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 15190 |
zend_uint tmp___1 ; |
|
15214 |
zend_uint tmp___1 ; |
| 15191 |
zend_bool tmp___2 ; |
|
15215 |
zend_bool tmp___2 ; |
| 15192 |
zval *new_zv___0 ; |
|
15216 |
zval *new_zv___0 ; |
| 15193 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
15217 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 15194 |
zend_uint tmp___4 ; |
|
15218 |
zend_uint tmp___4 ; |
| 15195 |
zend_bool tmp___5 ; |
|
15219 |
zend_bool tmp___5 ; |
| 15196 |
zval *new_zv___1 ; |
|
15220 |
zval *new_zv___1 ; |
| 15197 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
|
15221 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
| 15198 |
zend_uint tmp___7 ; |
|
15222 |
zend_uint tmp___7 ; |
| 15199 |
zend_bool tmp___8 ; |
|
15223 |
zend_bool tmp___8 ; |
| 15200 |
zval *new_zv___2 ; |
|
15224 |
zval *new_zv___2 ; |
| 15201 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
|
15225 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
| 15202 |
zend_uint tmp___10 ; |
|
15226 |
zend_uint tmp___10 ; |
| 15203 |
zend_bool tmp___11 ; |
|
15227 |
zend_bool tmp___11 ; |
| 15204 |
zval *new_zv___3 ; |
|
15228 |
zval *new_zv___3 ; |
| 15205 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
|
15229 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
| 15206 |
zend_uint tmp___13 ; |
|
15230 |
zend_uint tmp___13 ; |
| 15207 |
zend_bool tmp___14 ; |
|
15231 |
zend_bool tmp___14 ; |
| 15208 |
zval *new_zv___4 ; |
|
15232 |
zval *new_zv___4 ; |
| 15209 |
void __attribute__((__visibility__("default"))) *tmp___15 ; |
|
15233 |
void __attribute__((__visibility__("default"))) *tmp___15 ; |
| 15210 |
zend_uint tmp___16 ; |
|
15234 |
zend_uint tmp___16 ; |
| 15211 |
zend_bool tmp___17 ; |
|
15235 |
zend_bool tmp___17 ; |
| 15212 |
zval *new_zv___5 ; |
|
15236 |
zval *new_zv___5 ; |
| 15213 |
void __attribute__((__visibility__("default"))) *tmp___18 ; |
|
15237 |
void __attribute__((__visibility__("default"))) *tmp___18 ; |
| 15214 |
zend_uint tmp___19 ; |
|
15238 |
zend_uint tmp___19 ; |
| 15215 |
zval *new_zv___6 ; |
|
15239 |
zval *new_zv___6 ; |
| 15216 |
void __attribute__((__visibility__("default"))) *tmp___20 ; |
|
15240 |
void __attribute__((__visibility__("default"))) *tmp___20 ; |
| 15217 |
zend_uint tmp___21 ; |
|
15241 |
zend_uint tmp___21 ; |
| 15218 |
zend_bool tmp___22 ; |
|
15242 |
zend_bool tmp___22 ; |
| 15219 |
char const *__s ; |
|
15243 |
char const *__s ; |
| 15220 |
int __l ; |
|
15244 |
int __l ; |
| 15221 |
zval *__z ; |
|
15245 |
zval *__z ; |
| 15222 |
char __attribute__((__visibility__("default"))) *tmp___23 ; |
|
15246 |
char __attribute__((__visibility__("default"))) *tmp___23 ; |
| 15223 |
char const *__s___0 ; |
|
15247 |
char const *__s___0 ; |
| 15224 |
int __l___0 ; |
|
15248 |
int __l___0 ; |
| 15225 |
zval *__z___0 ; |
|
15249 |
zval *__z___0 ; |
| 15226 |
char __attribute__((__visibility__("default"))) *tmp___24 ; |
|
15250 |
char __attribute__((__visibility__("default"))) *tmp___24 ; |
| 15227 |
int __attribute__((__visibility__("default"))) tmp___25 ; |
|
15251 |
int __attribute__((__visibility__("default"))) tmp___25 ; |
| 15228 |
int __attribute__((__visibility__("default"))) tmp___26 ; |
|
15252 |
int __attribute__((__visibility__("default"))) tmp___26 ; |
| 15229 |
int repl_len ; |
|
15253 |
int repl_len ; |
| 15230 |
zval *__z___1 ; |
|
15254 |
zval *__z___1 ; |
| 15231 |
zval *new_zv___7 ; |
|
15255 |
zval *new_zv___7 ; |
| 15232 |
void __attribute__((__visibility__("default"))) *tmp___27 ; |
|
15256 |
void __attribute__((__visibility__("default"))) *tmp___27 ; |
| 15233 |
zend_uint tmp___28 ; |
|
15257 |
zend_uint tmp___28 ; |
| 15234 |
zend_bool tmp___29 ; |
|
15258 |
zend_bool tmp___29 ; |
| 15235 |
int __attribute__((__visibility__("default"))) tmp___30 ; |
|
15259 |
int __attribute__((__visibility__("default"))) tmp___30 ; |
| 15236 |
void __attribute__((__visibility__("default"))) *tmp___31 ; |
|
15260 |
void __attribute__((__visibility__("default"))) *tmp___31 ; |
| 15237 |
char *tmp___32 ; |
|
15261 |
char *tmp___32 ; |
| 15238 |
char const *__s___1 ; |
|
15262 |
char const *__s___1 ; |
| 15239 |
int __l___1 ; |
|
15263 |
int __l___1 ; |
| 15240 |
zval *__z___2 ; |
|
15264 |
zval *__z___2 ; |
| 15241 |
char __attribute__((__visibility__("default"))) *tmp___33 ; |
|
15265 |
char __attribute__((__visibility__("default"))) *tmp___33 ; |
| 15242 |
char const *__s___2 ; |
|
15266 |
char const *__s___2 ; |
| 15243 |
int __l___2 ; |
|
15267 |
int __l___2 ; |
| 15244 |
zval *__z___3 ; |
|
15268 |
zval *__z___3 ; |
| 15245 |
char __attribute__((__visibility__("default"))) *tmp___34 ; |
|
15269 |
char __attribute__((__visibility__("default"))) *tmp___34 ; |
| 15246 |
zval *new_zv___8 ; |
|
15270 |
zval *new_zv___8 ; |
| 15247 |
void __attribute__((__visibility__("default"))) *tmp___35 ; |
|
15271 |
void __attribute__((__visibility__("default"))) *tmp___35 ; |
| 15248 |
zend_uint tmp___36 ; |
|
15272 |
zend_uint tmp___36 ; |
| 15249 |
zend_bool tmp___37 ; |
|
15273 |
zend_bool tmp___37 ; |
| 15250 |
zval *new_zv___9 ; |
|
15274 |
zval *new_zv___9 ; |
| 15251 |
void __attribute__((__visibility__("default"))) *tmp___38 ; |
|
15275 |
void __attribute__((__visibility__("default"))) *tmp___38 ; |
| 15252 |
zend_uint tmp___39 ; |
|
15276 |
zend_uint tmp___39 ; |
| 15253 |
zend_bool tmp___40 ; |
|
15277 |
zend_bool tmp___40 ; |
| 15254 |
int __attribute__((__visibility__("default"))) tmp___41 ; |
|
15278 |
int __attribute__((__visibility__("default"))) tmp___41 ; |
| 15255 |
zval *new_zv___10 ; |
|
15279 |
zval *new_zv___10 ; |
| 15256 |
void __attribute__((__visibility__("default"))) *tmp___42 ; |
|
15280 |
void __attribute__((__visibility__("default"))) *tmp___42 ; |
| 15257 |
zend_uint tmp___43 ; |
|
15281 |
zend_uint tmp___43 ; |
| 15258 |
zend_bool tmp___44 ; |
|
15282 |
zend_bool tmp___44 ; |
| 15259 |
int __attribute__((__visibility__("default"))) tmp___45 ; |
|
15283 |
int __attribute__((__visibility__("default"))) tmp___45 ; |
| 15260 |
zval *new_zv___11 ; |
|
15284 |
zval *new_zv___11 ; |
| 15261 |
void __attribute__((__visibility__("default"))) *tmp___46 ; |
|
15285 |
void __attribute__((__visibility__("default"))) *tmp___46 ; |
| 15262 |
zend_uint tmp___47 ; |
|
15286 |
zend_uint tmp___47 ; |
| 15263 |
zend_bool tmp___48 ; |
|
15287 |
zend_bool tmp___48 ; |
| 15264 |
void __attribute__((__visibility__("default"))) *tmp___49 ; |
|
15288 |
void __attribute__((__visibility__("default"))) *tmp___49 ; |
| 15265 |
void __attribute__((__visibility__("default"))) *tmp___50 ; |
|
15289 |
void __attribute__((__visibility__("default"))) *tmp___50 ; |
| 15266 |
int __attribute__((__visibility__("default"))) tmp___51 ; |
|
15290 |
int __attribute__((__visibility__("default"))) tmp___51 ; |
| 15267 |
void __attribute__((__visibility__("default"))) *tmp___52 ; |
|
15291 |
void __attribute__((__visibility__("default"))) *tmp___52 ; |
| 15268 |
int __attribute__((__visibility__("default"))) tmp___53 ; |
|
15292 |
int __attribute__((__visibility__("default"))) tmp___53 ; |
| 15269 |
|
|
15293 |
|
| 15270 |
{ |
|
15294 |
{ |
| 15271 |
len = (zval **)((void *)0); |
|
15295 |
len = (zval **)((void *)0); |
| 15272 |
l = 0; |
|
15296 |
l = 0; |
| 15273 |
argc = ht; |
|
15297 |
argc = ht; |
| 15274 |
tmp_str = (zval **)((void *)0); |
|
15298 |
tmp_str = (zval **)((void *)0); |
| 15275 |
tmp_from = (zval **)((void *)0); |
|
15299 |
tmp_from = (zval **)((void *)0); |
| 15276 |
tmp_repl = (zval **)((void *)0); |
|
15300 |
tmp_repl = (zval **)((void *)0); |
| 15277 |
tmp_len = (zval **)((void *)0); |
|
15301 |
tmp_len = (zval **)((void *)0); |
| 15278 |
tmp = zend_parse_parameters(ht, "ZZZ|Z", & str, & repl, & from, & len); |
|
15302 |
tmp = zend_parse_parameters(ht, "ZZZ|Z", & str, & repl, & from, & len); |
| 15279 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
15303 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 15280 |
return; |
|
15304 |
return; |
| 15281 |
} else { |
|
15305 |
} else { |
| 15282 |
|
|
15306 |
|
| 15283 |
} |
|
15307 |
} |
| 15284 |
if ((int )(*str)->type != 4) { |
|
15308 |
if ((int )(*str)->type != 4) { |
| 15285 |
tmp___2 = zval_isref_p(*str); |
|
15309 |
tmp___2 = zval_isref_p(*str); |
| 15286 |
if (tmp___2) { |
|
15310 |
if (tmp___2) { |
| 15287 |
while (1) { |
|
15311 |
while (1) { |
| 15288 |
tmp___1 = zval_refcount_p(*str); |
|
15312 |
tmp___1 = zval_refcount_p(*str); |
| 15289 |
if (tmp___1 > 1U) { |
|
15313 |
if (tmp___1 > 1U) { |
| 15290 |
zval_delref_p(*str); |
|
15314 |
zval_delref_p(*str); |
| 15291 |
while (1) { |
|
15315 |
while (1) { |
| 15292 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
15316 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 15293 |
new_zv = (zval *)tmp___0; |
|
15317 |
new_zv = (zval *)tmp___0; |
| 15294 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15318 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15295 |
break; |
|
15319 |
break; |
| 15296 |
} |
|
15320 |
} |
| 15297 |
while (1) { |
|
15321 |
while (1) { |
| 15298 |
while (1) { |
|
15322 |
while (1) { |
| 15299 |
new_zv->value = (*str)->value; |
|
15323 |
new_zv->value = (*str)->value; |
| 15300 |
new_zv->type = (*str)->type; |
|
15324 |
new_zv->type = (*str)->type; |
| 15301 |
break; |
|
15325 |
break; |
| 15302 |
} |
|
15326 |
} |
| 15303 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
15327 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 15304 |
zval_unset_isref_p(new_zv); |
|
15328 |
zval_unset_isref_p(new_zv); |
| 15305 |
break; |
|
15329 |
break; |
| 15306 |
} |
|
15330 |
} |
| 15307 |
*str = new_zv; |
|
15331 |
*str = new_zv; |
| 15308 |
_zval_copy_ctor(new_zv); |
|
15332 |
_zval_copy_ctor(new_zv); |
| 15309 |
} else { |
|
15333 |
} else { |
| 15310 |
|
|
15334 |
|
| 15311 |
} |
|
15335 |
} |
| 15312 |
break; |
|
15336 |
break; |
| 15313 |
} |
|
15337 |
} |
| 15314 |
} else { |
|
15338 |
} else { |
| 15315 |
|
|
15339 |
|
| 15316 |
} |
|
15340 |
} |
| 15317 |
if ((int )(*str)->type != 6) { |
|
15341 |
if ((int )(*str)->type != 6) { |
| 15318 |
tmp___5 = zval_isref_p(*str); |
|
15342 |
tmp___5 = zval_isref_p(*str); |
| 15319 |
if (tmp___5) { |
|
15343 |
if (tmp___5) { |
| 15320 |
|
|
15344 |
|
| 15321 |
} else { |
|
15345 |
} else { |
| 15322 |
while (1) { |
|
15346 |
while (1) { |
| 15323 |
tmp___4 = zval_refcount_p(*str); |
|
15347 |
tmp___4 = zval_refcount_p(*str); |
| 15324 |
if (tmp___4 > 1U) { |
|
15348 |
if (tmp___4 > 1U) { |
| 15325 |
zval_delref_p(*str); |
|
15349 |
zval_delref_p(*str); |
| 15326 |
while (1) { |
|
15350 |
while (1) { |
| 15327 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
|
15351 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
| 15328 |
new_zv___0 = (zval *)tmp___3; |
|
15352 |
new_zv___0 = (zval *)tmp___3; |
| 15329 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15353 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15330 |
break; |
|
15354 |
break; |
| 15331 |
} |
|
15355 |
} |
| 15332 |
while (1) { |
|
15356 |
while (1) { |
| 15333 |
while (1) { |
|
15357 |
while (1) { |
| 15334 |
new_zv___0->value = (*str)->value; |
|
15358 |
new_zv___0->value = (*str)->value; |
| 15335 |
new_zv___0->type = (*str)->type; |
|
15359 |
new_zv___0->type = (*str)->type; |
| 15336 |
break; |
|
15360 |
break; |
| 15337 |
} |
|
15361 |
} |
| 15338 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
|
15362 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
| 15339 |
zval_unset_isref_p(new_zv___0); |
|
15363 |
zval_unset_isref_p(new_zv___0); |
| 15340 |
break; |
|
15364 |
break; |
| 15341 |
} |
|
15365 |
} |
| 15342 |
*str = new_zv___0; |
|
15366 |
*str = new_zv___0; |
| 15343 |
_zval_copy_ctor(new_zv___0); |
|
15367 |
_zval_copy_ctor(new_zv___0); |
| 15344 |
} else { |
|
15368 |
} else { |
| 15345 |
|
|
15369 |
|
| 15346 |
} |
|
15370 |
} |
| 15347 |
break; |
|
15371 |
break; |
| 15348 |
} |
|
15372 |
} |
| 15349 |
} |
|
15373 |
} |
| 15350 |
if ((int )(*str)->type != 6) { |
|
15374 |
if ((int )(*str)->type != 6) { |
| 15351 |
_convert_to_string(*str); |
|
15375 |
_convert_to_string(*str); |
| 15352 |
} else { |
|
15376 |
} else { |
| 15353 |
|
|
15377 |
|
| 15354 |
} |
|
15378 |
} |
| 15355 |
} else { |
|
15379 |
} else { |
| 15356 |
|
|
15380 |
|
| 15357 |
} |
|
15381 |
} |
| 15358 |
} else { |
|
15382 |
} else { |
| 15359 |
|
|
15383 |
|
| 15360 |
} |
|
15384 |
} |
| 15361 |
if ((int )(*repl)->type != 4) { |
|
15385 |
if ((int )(*repl)->type != 4) { |
| 15362 |
tmp___8 = zval_isref_p(*repl); |
|
15386 |
tmp___8 = zval_isref_p(*repl); |
| 15363 |
if (tmp___8) { |
|
15387 |
if (tmp___8) { |
| 15364 |
while (1) { |
|
15388 |
while (1) { |
| 15365 |
tmp___7 = zval_refcount_p(*repl); |
|
15389 |
tmp___7 = zval_refcount_p(*repl); |
| 15366 |
if (tmp___7 > 1U) { |
|
15390 |
if (tmp___7 > 1U) { |
| 15367 |
zval_delref_p(*repl); |
|
15391 |
zval_delref_p(*repl); |
| 15368 |
while (1) { |
|
15392 |
while (1) { |
| 15369 |
tmp___6 = _emalloc(sizeof(zval_gc_info )); |
|
15393 |
tmp___6 = _emalloc(sizeof(zval_gc_info )); |
| 15370 |
new_zv___1 = (zval *)tmp___6; |
|
15394 |
new_zv___1 = (zval *)tmp___6; |
| 15371 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15395 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15372 |
break; |
|
15396 |
break; |
| 15373 |
} |
|
15397 |
} |
| 15374 |
while (1) { |
|
15398 |
while (1) { |
| 15375 |
while (1) { |
|
15399 |
while (1) { |
| 15376 |
new_zv___1->value = (*repl)->value; |
|
15400 |
new_zv___1->value = (*repl)->value; |
| 15377 |
new_zv___1->type = (*repl)->type; |
|
15401 |
new_zv___1->type = (*repl)->type; |
| 15378 |
break; |
|
15402 |
break; |
| 15379 |
} |
|
15403 |
} |
| 15380 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
|
15404 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
| 15381 |
zval_unset_isref_p(new_zv___1); |
|
15405 |
zval_unset_isref_p(new_zv___1); |
| 15382 |
break; |
|
15406 |
break; |
| 15383 |
} |
|
15407 |
} |
| 15384 |
*repl = new_zv___1; |
|
15408 |
*repl = new_zv___1; |
| 15385 |
_zval_copy_ctor(new_zv___1); |
|
15409 |
_zval_copy_ctor(new_zv___1); |
| 15386 |
} else { |
|
15410 |
} else { |
| 15387 |
|
|
15411 |
|
| 15388 |
} |
|
15412 |
} |
| 15389 |
break; |
|
15413 |
break; |
| 15390 |
} |
|
15414 |
} |
| 15391 |
} else { |
|
15415 |
} else { |
| 15392 |
|
|
15416 |
|
| 15393 |
} |
|
15417 |
} |
| 15394 |
if ((int )(*repl)->type != 6) { |
|
15418 |
if ((int )(*repl)->type != 6) { |
| 15395 |
tmp___11 = zval_isref_p(*repl); |
|
15419 |
tmp___11 = zval_isref_p(*repl); |
| 15396 |
if (tmp___11) { |
|
15420 |
if (tmp___11) { |
| 15397 |
|
|
15421 |
|
| 15398 |
} else { |
|
15422 |
} else { |
| 15399 |
while (1) { |
|
15423 |
while (1) { |
| 15400 |
tmp___10 = zval_refcount_p(*repl); |
|
15424 |
tmp___10 = zval_refcount_p(*repl); |
| 15401 |
if (tmp___10 > 1U) { |
|
15425 |
if (tmp___10 > 1U) { |
| 15402 |
zval_delref_p(*repl); |
|
15426 |
zval_delref_p(*repl); |
| 15403 |
while (1) { |
|
15427 |
while (1) { |
| 15404 |
tmp___9 = _emalloc(sizeof(zval_gc_info )); |
|
15428 |
tmp___9 = _emalloc(sizeof(zval_gc_info )); |
| 15405 |
new_zv___2 = (zval *)tmp___9; |
|
15429 |
new_zv___2 = (zval *)tmp___9; |
| 15406 |
((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15430 |
((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15407 |
break; |
|
15431 |
break; |
| 15408 |
} |
|
15432 |
} |
| 15409 |
while (1) { |
|
15433 |
while (1) { |
| 15410 |
while (1) { |
|
15434 |
while (1) { |
| 15411 |
new_zv___2->value = (*repl)->value; |
|
15435 |
new_zv___2->value = (*repl)->value; |
| 15412 |
new_zv___2->type = (*repl)->type; |
|
15436 |
new_zv___2->type = (*repl)->type; |
| 15413 |
break; |
|
15437 |
break; |
| 15414 |
} |
|
15438 |
} |
| 15415 |
zval_set_refcount_p(new_zv___2, (zend_uint )1); |
|
15439 |
zval_set_refcount_p(new_zv___2, (zend_uint )1); |
| 15416 |
zval_unset_isref_p(new_zv___2); |
|
15440 |
zval_unset_isref_p(new_zv___2); |
| 15417 |
break; |
|
15441 |
break; |
| 15418 |
} |
|
15442 |
} |
| 15419 |
*repl = new_zv___2; |
|
15443 |
*repl = new_zv___2; |
| 15420 |
_zval_copy_ctor(new_zv___2); |
|
15444 |
_zval_copy_ctor(new_zv___2); |
| 15421 |
} else { |
|
15445 |
} else { |
| 15422 |
|
|
15446 |
|
| 15423 |
} |
|
15447 |
} |
| 15424 |
break; |
|
15448 |
break; |
| 15425 |
} |
|
15449 |
} |
| 15426 |
} |
|
15450 |
} |
| 15427 |
if ((int )(*repl)->type != 6) { |
|
15451 |
if ((int )(*repl)->type != 6) { |
| 15428 |
_convert_to_string(*repl); |
|
15452 |
_convert_to_string(*repl); |
| 15429 |
} else { |
|
15453 |
} else { |
| 15430 |
|
|
15454 |
|
| 15431 |
} |
|
15455 |
} |
| 15432 |
} else { |
|
15456 |
} else { |
| 15433 |
|
|
15457 |
|
| 15434 |
} |
|
15458 |
} |
| 15435 |
} else { |
|
15459 |
} else { |
| 15436 |
|
|
15460 |
|
| 15437 |
} |
|
15461 |
} |
| 15438 |
if ((int )(*from)->type != 4) { |
|
15462 |
if ((int )(*from)->type != 4) { |
| 15439 |
tmp___14 = zval_isref_p(*from); |
|
15463 |
tmp___14 = zval_isref_p(*from); |
| 15440 |
if (tmp___14) { |
|
15464 |
if (tmp___14) { |
| 15441 |
while (1) { |
|
15465 |
while (1) { |
| 15442 |
tmp___13 = zval_refcount_p(*from); |
|
15466 |
tmp___13 = zval_refcount_p(*from); |
| 15443 |
if (tmp___13 > 1U) { |
|
15467 |
if (tmp___13 > 1U) { |
| 15444 |
zval_delref_p(*from); |
|
15468 |
zval_delref_p(*from); |
| 15445 |
while (1) { |
|
15469 |
while (1) { |
| 15446 |
tmp___12 = _emalloc(sizeof(zval_gc_info )); |
|
15470 |
tmp___12 = _emalloc(sizeof(zval_gc_info )); |
| 15447 |
new_zv___3 = (zval *)tmp___12; |
|
15471 |
new_zv___3 = (zval *)tmp___12; |
| 15448 |
((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15472 |
((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15449 |
break; |
|
15473 |
break; |
| 15450 |
} |
|
15474 |
} |
| 15451 |
while (1) { |
|
15475 |
while (1) { |
| 15452 |
while (1) { |
|
15476 |
while (1) { |
| 15453 |
new_zv___3->value = (*from)->value; |
|
15477 |
new_zv___3->value = (*from)->value; |
| 15454 |
new_zv___3->type = (*from)->type; |
|
15478 |
new_zv___3->type = (*from)->type; |
| 15455 |
break; |
|
15479 |
break; |
| 15456 |
} |
|
15480 |
} |
| 15457 |
zval_set_refcount_p(new_zv___3, (zend_uint )1); |
|
15481 |
zval_set_refcount_p(new_zv___3, (zend_uint )1); |
| 15458 |
zval_unset_isref_p(new_zv___3); |
|
15482 |
zval_unset_isref_p(new_zv___3); |
| 15459 |
break; |
|
15483 |
break; |
| 15460 |
} |
|
15484 |
} |
| 15461 |
*from = new_zv___3; |
|
15485 |
*from = new_zv___3; |
| 15462 |
_zval_copy_ctor(new_zv___3); |
|
15486 |
_zval_copy_ctor(new_zv___3); |
| 15463 |
} else { |
|
15487 |
} else { |
| 15464 |
|
|
15488 |
|
| 15465 |
} |
|
15489 |
} |
| 15466 |
break; |
|
15490 |
break; |
| 15467 |
} |
|
15491 |
} |
| 15468 |
} else { |
|
15492 |
} else { |
| 15469 |
|
|
15493 |
|
| 15470 |
} |
|
15494 |
} |
| 15471 |
if ((int )(*from)->type != 1) { |
|
15495 |
if ((int )(*from)->type != 1) { |
| 15472 |
tmp___17 = zval_isref_p(*from); |
|
15496 |
tmp___17 = zval_isref_p(*from); |
| 15473 |
if (tmp___17) { |
|
15497 |
if (tmp___17) { |
| 15474 |
|
|
15498 |
|
| 15475 |
} else { |
|
15499 |
} else { |
| 15476 |
while (1) { |
|
15500 |
while (1) { |
| 15477 |
tmp___16 = zval_refcount_p(*from); |
|
15501 |
tmp___16 = zval_refcount_p(*from); |
| 15478 |
if (tmp___16 > 1U) { |
|
15502 |
if (tmp___16 > 1U) { |
| 15479 |
zval_delref_p(*from); |
|
15503 |
zval_delref_p(*from); |
| 15480 |
while (1) { |
|
15504 |
while (1) { |
| 15481 |
tmp___15 = _emalloc(sizeof(zval_gc_info )); |
|
15505 |
tmp___15 = _emalloc(sizeof(zval_gc_info )); |
| 15482 |
new_zv___4 = (zval *)tmp___15; |
|
15506 |
new_zv___4 = (zval *)tmp___15; |
| 15483 |
((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15507 |
((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15484 |
break; |
|
15508 |
break; |
| 15485 |
} |
|
15509 |
} |
| 15486 |
while (1) { |
|
15510 |
while (1) { |
| 15487 |
while (1) { |
|
15511 |
while (1) { |
| 15488 |
new_zv___4->value = (*from)->value; |
|
15512 |
new_zv___4->value = (*from)->value; |
| 15489 |
new_zv___4->type = (*from)->type; |
|
15513 |
new_zv___4->type = (*from)->type; |
| 15490 |
break; |
|
15514 |
break; |
| 15491 |
} |
|
15515 |
} |
| 15492 |
zval_set_refcount_p(new_zv___4, (zend_uint )1); |
|
15516 |
zval_set_refcount_p(new_zv___4, (zend_uint )1); |
| 15493 |
zval_unset_isref_p(new_zv___4); |
|
15517 |
zval_unset_isref_p(new_zv___4); |
| 15494 |
break; |
|
15518 |
break; |
| 15495 |
} |
|
15519 |
} |
| 15496 |
*from = new_zv___4; |
|
15520 |
*from = new_zv___4; |
| 15497 |
_zval_copy_ctor(new_zv___4); |
|
15521 |
_zval_copy_ctor(new_zv___4); |
| 15498 |
} else { |
|
15522 |
} else { |
| 15499 |
|
|
15523 |
|
| 15500 |
} |
|
15524 |
} |
| 15501 |
break; |
|
15525 |
break; |
| 15502 |
} |
|
15526 |
} |
| 15503 |
} |
|
15527 |
} |
| 15504 |
convert_to_long(*from); |
|
15528 |
convert_to_long(*from); |
| 15505 |
} else { |
|
15529 |
} else { |
| 15506 |
|
|
15530 |
|
| 15507 |
} |
|
15531 |
} |
| 15508 |
} else { |
|
15532 |
} else { |
| 15509 |
|
|
15533 |
|
| 15510 |
} |
|
15534 |
} |
| 15511 |
if (argc > 3) { |
|
15535 |
if (argc > 3) { |
| 15512 |
while (1) { |
|
15536 |
while (1) { |
| 15513 |
tmp___19 = zval_refcount_p(*len); |
|
15537 |
tmp___19 = zval_refcount_p(*len); |
| 15514 |
if (tmp___19 > 1U) { |
|
15538 |
if (tmp___19 > 1U) { |
| 15515 |
zval_delref_p(*len); |
|
15539 |
zval_delref_p(*len); |
| 15516 |
while (1) { |
|
15540 |
while (1) { |
| 15517 |
tmp___18 = _emalloc(sizeof(zval_gc_info )); |
|
15541 |
tmp___18 = _emalloc(sizeof(zval_gc_info )); |
| 15518 |
new_zv___5 = (zval *)tmp___18; |
|
15542 |
new_zv___5 = (zval *)tmp___18; |
| 15519 |
((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15543 |
((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15520 |
break; |
|
15544 |
break; |
| 15521 |
} |
|
15545 |
} |
| 15522 |
while (1) { |
|
15546 |
while (1) { |
| 15523 |
while (1) { |
|
15547 |
while (1) { |
| 15524 |
new_zv___5->value = (*len)->value; |
|
15548 |
new_zv___5->value = (*len)->value; |
| 15525 |
new_zv___5->type = (*len)->type; |
|
15549 |
new_zv___5->type = (*len)->type; |
| 15526 |
break; |
|
15550 |
break; |
| 15527 |
} |
|
15551 |
} |
| 15528 |
zval_set_refcount_p(new_zv___5, (zend_uint )1); |
|
15552 |
zval_set_refcount_p(new_zv___5, (zend_uint )1); |
| 15529 |
zval_unset_isref_p(new_zv___5); |
|
15553 |
zval_unset_isref_p(new_zv___5); |
| 15530 |
break; |
|
15554 |
break; |
| 15531 |
} |
|
15555 |
} |
| 15532 |
*len = new_zv___5; |
|
15556 |
*len = new_zv___5; |
| 15533 |
_zval_copy_ctor(new_zv___5); |
|
15557 |
_zval_copy_ctor(new_zv___5); |
| 15534 |
} else { |
|
15558 |
} else { |
| 15535 |
|
|
15559 |
|
| 15536 |
} |
|
15560 |
} |
| 15537 |
break; |
|
15561 |
break; |
| 15538 |
} |
|
15562 |
} |
| 15539 |
if ((int )(*len)->type != 4) { |
|
15563 |
if ((int )(*len)->type != 4) { |
| 15540 |
if ((int )(*len)->type != 1) { |
|
15564 |
if ((int )(*len)->type != 1) { |
| 15541 |
tmp___22 = zval_isref_p(*len); |
|
15565 |
tmp___22 = zval_isref_p(*len); |
| 15542 |
if (tmp___22) { |
|
15566 |
if (tmp___22) { |
| 15543 |
|
|
15567 |
|
| 15544 |
} else { |
|
15568 |
} else { |
| 15545 |
while (1) { |
|
15569 |
while (1) { |
| 15546 |
tmp___21 = zval_refcount_p(*len); |
|
15570 |
tmp___21 = zval_refcount_p(*len); |
| 15547 |
if (tmp___21 > 1U) { |
|
15571 |
if (tmp___21 > 1U) { |
| 15548 |
zval_delref_p(*len); |
|
15572 |
zval_delref_p(*len); |
| 15549 |
while (1) { |
|
15573 |
while (1) { |
| 15550 |
tmp___20 = _emalloc(sizeof(zval_gc_info )); |
|
15574 |
tmp___20 = _emalloc(sizeof(zval_gc_info )); |
| 15551 |
new_zv___6 = (zval *)tmp___20; |
|
15575 |
new_zv___6 = (zval *)tmp___20; |
| 15552 |
((zval_gc_info *)new_zv___6)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15576 |
((zval_gc_info *)new_zv___6)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15553 |
break; |
|
15577 |
break; |
| 15554 |
} |
|
15578 |
} |
| 15555 |
while (1) { |
|
15579 |
while (1) { |
| 15556 |
while (1) { |
|
15580 |
while (1) { |
| 15557 |
new_zv___6->value = (*len)->value; |
|
15581 |
new_zv___6->value = (*len)->value; |
| 15558 |
new_zv___6->type = (*len)->type; |
|
15582 |
new_zv___6->type = (*len)->type; |
| 15559 |
break; |
|
15583 |
break; |
| 15560 |
} |
|
15584 |
} |
| 15561 |
zval_set_refcount_p(new_zv___6, (zend_uint )1); |
|
15585 |
zval_set_refcount_p(new_zv___6, (zend_uint )1); |
| 15562 |
zval_unset_isref_p(new_zv___6); |
|
15586 |
zval_unset_isref_p(new_zv___6); |
| 15563 |
break; |
|
15587 |
break; |
| 15564 |
} |
|
15588 |
} |
| 15565 |
*len = new_zv___6; |
|
15589 |
*len = new_zv___6; |
| 15566 |
_zval_copy_ctor(new_zv___6); |
|
15590 |
_zval_copy_ctor(new_zv___6); |
| 15567 |
} else { |
|
15591 |
} else { |
| 15568 |
|
|
15592 |
|
| 15569 |
} |
|
15593 |
} |
| 15570 |
break; |
|
15594 |
break; |
| 15571 |
} |
|
15595 |
} |
| 15572 |
} |
|
15596 |
} |
| 15573 |
convert_to_long(*len); |
|
15597 |
convert_to_long(*len); |
| 15574 |
} else { |
|
15598 |
} else { |
| 15575 |
|
|
15599 |
|
| 15576 |
} |
|
15600 |
} |
| 15577 |
l = (int )(*len)->value.lval; |
|
15601 |
l = (int )(*len)->value.lval; |
| 15578 |
} else { |
|
15602 |
} else { |
| 15579 |
|
|
15603 |
|
| 15580 |
} |
|
15604 |
} |
| 15581 |
} else |
|
15605 |
} else |
| 15582 |
if ((int )(*str)->type != 4) { |
|
15606 |
if ((int )(*str)->type != 4) { |
| 15583 |
l = (*str)->value.str.len; |
|
15607 |
l = (*str)->value.str.len; |
| 15584 |
} else { |
|
15608 |
} else { |
| 15585 |
|
|
15609 |
|
| 15586 |
} |
|
15610 |
} |
| 15587 |
if ((int )(*str)->type == 6) { |
|
15611 |
if ((int )(*str)->type == 6) { |
| 15588 |
if (argc == 3) { |
|
15612 |
if (argc == 3) { |
| 15589 |
if ((int )(*from)->type == 4) { |
|
15613 |
if ((int )(*from)->type == 4) { |
| 15590 |
goto _L; |
|
15614 |
goto _L; |
| 15591 |
} else { |
|
15615 |
} else { |
| 15592 |
goto _L___0; |
|
15616 |
goto _L___0; |
| 15593 |
} |
|
15617 |
} |
| 15594 |
} else |
|
15618 |
} else |
| 15595 |
_L___0: |
|
15619 |
_L___0: |
| 15596 |
if (argc == 4) { |
|
15620 |
if (argc == 4) { |
| 15597 |
if ((int )(*from)->type != (int )(*len)->type) { |
|
15621 |
if ((int )(*from)->type != (int )(*len)->type) { |
| 15598 |
_L: |
|
15622 |
_L: |
| 15599 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
15623 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 15600 |
"\'from\' and \'len\' should be of same type - numerical or array "); |
|
15624 |
"\'from\' and \'len\' should be of same type - numerical or array "); |
| 15601 |
while (1) { |
|
15625 |
while (1) { |
| 15602 |
__s = (char const *)(*str)->value.str.val; |
|
15626 |
__s = (char const *)(*str)->value.str.val; |
| 15603 |
__l = (*str)->value.str.len; |
|
15627 |
__l = (*str)->value.str.len; |
| 15604 |
__z = return_value; |
|
15628 |
__z = return_value; |
| 15605 |
__z->value.str.len = __l; |
|
15629 |
__z->value.str.len = __l; |
| 15606 |
tmp___23 = _estrndup(__s, (unsigned int )__l); |
|
15630 |
tmp___23 = _estrndup(__s, (unsigned int )__l); |
| 15607 |
__z->value.str.val = (char *)tmp___23; |
|
15631 |
__z->value.str.val = (char *)tmp___23; |
| 15608 |
__z->type = (zend_uchar )6; |
|
15632 |
__z->type = (zend_uchar )6; |
| 15609 |
break; |
|
15633 |
break; |
| 15610 |
} |
|
15634 |
} |
| 15611 |
return; |
|
15635 |
return; |
| 15612 |
} else { |
|
15636 |
} else { |
| 15613 |
|
|
15637 |
|
| 15614 |
} |
|
15638 |
} |
| 15615 |
} else { |
|
15639 |
} else { |
| 15616 |
|
|
15640 |
|
| 15617 |
} |
|
15641 |
} |
| 15618 |
if (argc == 4) { |
|
15642 |
if (argc == 4) { |
| 15619 |
if ((int )(*from)->type == 4) { |
|
15643 |
if ((int )(*from)->type == 4) { |
| 15620 |
tmp___25 = zend_hash_num_elements((HashTable const *)(*from)->value.ht); |
|
15644 |
tmp___25 = zend_hash_num_elements((HashTable const *)(*from)->value.ht); |
| 15621 |
tmp___26 = zend_hash_num_elements((HashTable const *)(*len)->value.ht); |
|
15645 |
tmp___26 = zend_hash_num_elements((HashTable const *)(*len)->value.ht); |
| 15622 |
if (tmp___25 != tmp___26) { |
|
15646 |
if (tmp___25 != tmp___26) { |
| 15623 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
15647 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 15624 |
"\'from\' and \'len\' should have the same number of elements"); |
|
15648 |
"\'from\' and \'len\' should have the same number of elements"); |
| 15625 |
while (1) { |
|
15649 |
while (1) { |
| 15626 |
__s___0 = (char const *)(*str)->value.str.val; |
|
15650 |
__s___0 = (char const *)(*str)->value.str.val; |
| 15627 |
__l___0 = (*str)->value.str.len; |
|
15651 |
__l___0 = (*str)->value.str.len; |
| 15628 |
__z___0 = return_value; |
|
15652 |
__z___0 = return_value; |
| 15629 |
__z___0->value.str.len = __l___0; |
|
15653 |
__z___0->value.str.len = __l___0; |
| 15630 |
tmp___24 = _estrndup(__s___0, (unsigned int )__l___0); |
|
15654 |
tmp___24 = _estrndup(__s___0, (unsigned int )__l___0); |
| 15631 |
__z___0->value.str.val = (char *)tmp___24; |
|
15655 |
__z___0->value.str.val = (char *)tmp___24; |
| 15632 |
__z___0->type = (zend_uchar )6; |
|
15656 |
__z___0->type = (zend_uchar )6; |
| 15633 |
break; |
|
15657 |
break; |
| 15634 |
} |
|
15658 |
} |
| 15635 |
return; |
|
15659 |
return; |
| 15636 |
} else { |
|
15660 |
} else { |
| 15637 |
|
|
15661 |
|
| 15638 |
} |
|
15662 |
} |
| 15639 |
} else { |
|
15663 |
} else { |
| 15640 |
|
|
15664 |
|
| 15641 |
} |
|
15665 |
} |
| 15642 |
} else { |
|
15666 |
} else { |
| 15643 |
|
|
15667 |
|
| 15644 |
} |
|
15668 |
} |
| 15645 |
} else { |
|
15669 |
} else { |
| 15646 |
|
|
15670 |
|
| 15647 |
} |
|
15671 |
} |
| 15648 |
if ((int )(*str)->type != 4) { |
|
15672 |
if ((int )(*str)->type != 4) { |
| 15649 |
if ((int )(*from)->type != 4) { |
|
15673 |
if ((int )(*from)->type != 4) { |
| 15650 |
repl_len = 0; |
|
15674 |
repl_len = 0; |
| 15651 |
f = (int )(*from)->value.lval; |
|
15675 |
f = (int )(*from)->value.lval; |
| 15652 |
if (f < 0) { |
|
15676 |
if (f < 0) { |
| 15653 |
f = (*str)->value.str.len + f; |
|
15677 |
f = (*str)->value.str.len + f; |
| 15654 |
if (f < 0) { |
|
15678 |
if (f < 0) { |
| 15655 |
f = 0; |
|
15679 |
f = 0; |
| 15656 |
} else { |
|
15680 |
} else { |
| 15657 |
|
|
15681 |
|
| 15658 |
} |
|
15682 |
} |
| 15659 |
} else |
|
15683 |
} else |
| 15660 |
if (f > (*str)->value.str.len) { |
|
15684 |
if (f > (*str)->value.str.len) { |
| 15661 |
f = (*str)->value.str.len; |
|
15685 |
f = (*str)->value.str.len; |
| 15662 |
} else { |
|
15686 |
} else { |
| 15663 |
|
|
15687 |
|
| 15664 |
} |
|
15688 |
} |
| 15665 |
if (l < 0) { |
|
15689 |
if (l < 0) { |
| 15666 |
l = ((*str)->value.str.len - f) + l; |
|
15690 |
l = ((*str)->value.str.len - f) + l; |
| 15667 |
if (l < 0) { |
|
15691 |
if (l < 0) { |
| 15668 |
l = 0; |
|
15692 |
l = 0; |
| 15669 |
} else { |
|
15693 |
} else { |
| 15670 |
|
|
15694 |
|
| 15671 |
} |
|
15695 |
} |
| 15672 |
} else { |
|
15696 |
} else { |
| 15673 |
|
|
15697 |
|
| 15674 |
} |
|
15698 |
} |
| 15675 |
if (f > (*str)->value.str.len) { |
|
15699 |
if (f > (*str)->value.str.len) { |
| 15676 |
goto _L___1; |
|
15700 |
goto _L___1; |
| 15677 |
} else |
|
15701 |
} else |
| 15678 |
if (f < 0) { |
|
15702 |
if (f < 0) { |
| 15679 |
if (- f > (*str)->value.str.len) { |
|
15703 |
if (- f > (*str)->value.str.len) { |
| 15680 |
_L___1: |
|
15704 |
_L___1: |
| 15681 |
while (1) { |
|
15705 |
while (1) { |
| 15682 |
__z___1 = return_value; |
|
15706 |
__z___1 = return_value; |
| 15683 |
__z___1->value.lval = 0L; |
|
15707 |
__z___1->value.lval = 0L; |
| 15684 |
__z___1->type = (zend_uchar )3; |
|
15708 |
__z___1->type = (zend_uchar )3; |
| 15685 |
break; |
|
15709 |
break; |
| 15686 |
} |
|
15710 |
} |
| 15687 |
return; |
|
15711 |
return; |
| 15688 |
} else { |
|
15712 |
} else { |
| 15689 |
goto _L___2; |
|
15713 |
goto _L___2; |
| 15690 |
} |
|
15714 |
} |
| 15691 |
} else |
|
15715 |
} else |
| 15692 |
_L___2: |
|
15716 |
_L___2: |
| 15693 |
if (l > (*str)->value.str.len) { |
|
15717 |
if (l > (*str)->value.str.len) { |
| 15694 |
l = (*str)->value.str.len; |
|
15718 |
l = (*str)->value.str.len; |
| 15695 |
} else |
|
15719 |
} else |
| 15696 |
if (l < 0) { |
|
15720 |
if (l < 0) { |
| 15697 |
if (- l > (*str)->value.str.len) { |
|
15721 |
if (- l > (*str)->value.str.len) { |
| 15698 |
l = (*str)->value.str.len; |
|
15722 |
l = (*str)->value.str.len; |
| 15699 |
} else { |
|
15723 |
} else { |
| 15700 |
|
|
15724 |
|
| 15701 |
} |
|
15725 |
} |
| 15702 |
} else { |
|
15726 |
} else { |
| 15703 |
|
|
15727 |
|
| 15704 |
} |
|
15728 |
} |
| 15705 |
if (f + l > (*str)->value.str.len) { |
|
15729 |
if (f + l > (*str)->value.str.len) { |
| 15706 |
l = (*str)->value.str.len - f; |
|
15730 |
l = (*str)->value.str.len - f; |
| 15707 |
} else { |
|
15731 |
} else { |
| 15708 |
|
|
15732 |
|
| 15709 |
} |
|
15733 |
} |
| 15710 |
if ((int )(*repl)->type == 4) { |
|
15734 |
if ((int )(*repl)->type == 4) { |
| 15711 |
zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl); |
|
15735 |
zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl); |
| 15712 |
tmp___30 = zend_hash_get_current_data_ex((*repl)->value.ht, |
|
15736 |
tmp___30 = zend_hash_get_current_data_ex((*repl)->value.ht, |
| 15713 |
(void **)(& tmp_repl), |
|
15737 |
(void **)(& tmp_repl), |
| 15714 |
& pos_repl); |
|
15738 |
& pos_repl); |
| 15715 |
if (0 == (int )tmp___30) { |
|
15739 |
if (0 == (int )tmp___30) { |
| 15716 |
if ((int )(*tmp_repl)->type != 6) { |
|
15740 |
if ((int )(*tmp_repl)->type != 6) { |
| 15717 |
tmp___29 = zval_isref_p(*tmp_repl); |
|
15741 |
tmp___29 = zval_isref_p(*tmp_repl); |
| 15718 |
if (tmp___29) { |
|
15742 |
if (tmp___29) { |
| 15719 |
|
|
15743 |
|
| 15720 |
} else { |
|
15744 |
} else { |
| 15721 |
while (1) { |
|
15745 |
while (1) { |
| 15722 |
tmp___28 = zval_refcount_p(*tmp_repl); |
|
15746 |
tmp___28 = zval_refcount_p(*tmp_repl); |
| 15723 |
if (tmp___28 > 1U) { |
|
15747 |
if (tmp___28 > 1U) { |
| 15724 |
zval_delref_p(*tmp_repl); |
|
15748 |
zval_delref_p(*tmp_repl); |
| 15725 |
while (1) { |
|
15749 |
while (1) { |
| 15726 |
tmp___27 = _emalloc(sizeof(zval_gc_info )); |
|
15750 |
tmp___27 = _emalloc(sizeof(zval_gc_info )); |
| 15727 |
new_zv___7 = (zval *)tmp___27; |
|
15751 |
new_zv___7 = (zval *)tmp___27; |
| 15728 |
((zval_gc_info *)new_zv___7)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15752 |
((zval_gc_info *)new_zv___7)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15729 |
break; |
|
15753 |
break; |
| 15730 |
} |
|
15754 |
} |
| 15731 |
while (1) { |
|
15755 |
while (1) { |
| 15732 |
while (1) { |
|
15756 |
while (1) { |
| 15733 |
new_zv___7->value = (*tmp_repl)->value; |
|
15757 |
new_zv___7->value = (*tmp_repl)->value; |
| 15734 |
new_zv___7->type = (*tmp_repl)->type; |
|
15758 |
new_zv___7->type = (*tmp_repl)->type; |
| 15735 |
break; |
|
15759 |
break; |
| 15736 |
} |
|
15760 |
} |
| 15737 |
zval_set_refcount_p(new_zv___7, (zend_uint )1); |
|
15761 |
zval_set_refcount_p(new_zv___7, (zend_uint )1); |
| 15738 |
zval_unset_isref_p(new_zv___7); |
|
15762 |
zval_unset_isref_p(new_zv___7); |
| 15739 |
break; |
|
15763 |
break; |
| 15740 |
} |
|
15764 |
} |
| 15741 |
*tmp_repl = new_zv___7; |
|
15765 |
*tmp_repl = new_zv___7; |
| 15742 |
_zval_copy_ctor(new_zv___7); |
|
15766 |
_zval_copy_ctor(new_zv___7); |
| 15743 |
} else { |
|
15767 |
} else { |
| 15744 |
|
|
15768 |
|
| 15745 |
} |
|
15769 |
} |
| 15746 |
break; |
|
15770 |
break; |
| 15747 |
} |
|
15771 |
} |
| 15748 |
} |
|
15772 |
} |
| 15749 |
if ((int )(*tmp_repl)->type != 6) { |
|
15773 |
if ((int )(*tmp_repl)->type != 6) { |
| 15750 |
_convert_to_string(*tmp_repl); |
|
15774 |
_convert_to_string(*tmp_repl); |
| 15751 |
} else { |
|
15775 |
} else { |
| 15752 |
|
|
15776 |
|
| 15753 |
} |
|
15777 |
} |
| 15754 |
} else { |
|
15778 |
} else { |
| 15755 |
|
|
15779 |
|
| 15756 |
} |
|
15780 |
} |
| 15757 |
repl_len = (*tmp_repl)->value.str.len; |
|
15781 |
repl_len = (*tmp_repl)->value.str.len; |
| 15758 |
} else { |
|
15782 |
} else { |
| 15759 |
|
|
15783 |
|
| 15760 |
} |
|
15784 |
} |
| 15761 |
} else { |
|
15785 |
} else { |
| 15762 |
repl_len = (*repl)->value.str.len; |
|
15786 |
repl_len = (*repl)->value.str.len; |
| 15763 |
} |
|
15787 |
} |
| 15764 |
result_len = ((*str)->value.str.len - l) + repl_len; |
|
15788 |
result_len = ((*str)->value.str.len - l) + repl_len; |
| 15765 |
tmp___31 = _emalloc((size_t )(result_len + 1)); |
|
15789 |
tmp___31 = _emalloc((size_t )(result_len + 1)); |
| 15766 |
result = (char *)tmp___31; |
|
15790 |
result = (char *)tmp___31; |
| 15767 |
memcpy((void *)result, |
|
15791 |
memcpy((void *)result, |
| 15768 |
(void const *)(*str)->value.str.val, (size_t )f); |
|
15792 |
(void const *)(*str)->value.str.val, (size_t )f); |
| 15769 |
if (repl_len) { |
|
15793 |
if (repl_len) { |
| 15770 |
if ((int )(*repl)->type == 4) { |
|
15794 |
if ((int )(*repl)->type == 4) { |
| 15771 |
tmp___32 = (*tmp_repl)->value.str.val; |
|
15795 |
tmp___32 = (*tmp_repl)->value.str.val; |
| 15772 |
} else { |
|
15796 |
} else { |
| 15773 |
tmp___32 = (*repl)->value.str.val; |
|
15797 |
tmp___32 = (*repl)->value.str.val; |
| 15774 |
} |
|
15798 |
} |
| 15775 |
memcpy((void *)(result + f), |
|
15799 |
memcpy((void *)(result + f), |
| 15776 |
(void const *)tmp___32, (size_t )repl_len); |
|
15800 |
(void const *)tmp___32, (size_t )repl_len); |
| 15777 |
} else { |
|
15801 |
} else { |
| 15778 |
|
|
15802 |
|
| 15779 |
} |
|
15803 |
} |
| 15780 |
memcpy((void *)((result + f) + repl_len), |
|
15804 |
memcpy((void *)((result + f) + repl_len), |
| 15781 |
(void const *)(((*str)->value.str.val + f) + l), |
|
15805 |
(void const *)(((*str)->value.str.val + f) + l), |
| 15782 |
(size_t )(((*str)->value.str.len - f) - l)); |
|
15806 |
(size_t )(((*str)->value.str.len - f) - l)); |
| 15783 |
*(result + result_len) = (char )'\000'; |
|
15807 |
*(result + result_len) = (char )'\000'; |
| 15784 |
while (1) { |
|
15808 |
while (1) { |
| 15785 |
__s___1 = (char const *)result; |
|
15809 |
__s___1 = (char const *)result; |
| 15786 |
__l___1 = result_len; |
|
15810 |
__l___1 = result_len; |
| 15787 |
__z___2 = return_value; |
|
15811 |
__z___2 = return_value; |
| 15788 |
__z___2->value.str.len = __l___1; |
|
15812 |
__z___2->value.str.len = __l___1; |
| 15789 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___1)); |
|
15813 |
__z___2->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___1)); |
| 15790 |
__z___2->type = (zend_uchar )6; |
|
15814 |
__z___2->type = (zend_uchar )6; |
| 15791 |
break; |
|
15815 |
break; |
| 15792 |
} |
|
15816 |
} |
| 15793 |
return; |
|
15817 |
return; |
| 15794 |
} else { |
|
15818 |
} else { |
| 15795 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
15819 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 15796 |
"Functionality of \'from\' and \'len\' as arrays is not implemented"); |
|
15820 |
"Functionality of \'from\' and \'len\' as arrays is not implemented"); |
| 15797 |
while (1) { |
|
15821 |
while (1) { |
| 15798 |
__s___2 = (char const *)(*str)->value.str.val; |
|
15822 |
__s___2 = (char const *)(*str)->value.str.val; |
| 15799 |
__l___2 = (*str)->value.str.len; |
|
15823 |
__l___2 = (*str)->value.str.len; |
| 15800 |
__z___3 = return_value; |
|
15824 |
__z___3 = return_value; |
| 15801 |
__z___3->value.str.len = __l___2; |
|
15825 |
__z___3->value.str.len = __l___2; |
| 15802 |
tmp___34 = _estrndup(__s___2, (unsigned int )__l___2); |
|
15826 |
tmp___34 = _estrndup(__s___2, (unsigned int )__l___2); |
| 15803 |
__z___3->value.str.val = (char *)tmp___34; |
|
15827 |
__z___3->value.str.val = (char *)tmp___34; |
| 15804 |
__z___3->type = (zend_uchar )6; |
|
15828 |
__z___3->type = (zend_uchar )6; |
| 15805 |
break; |
|
15829 |
break; |
| 15806 |
} |
|
15830 |
} |
| 15807 |
return; |
|
15831 |
return; |
| 15808 |
} |
|
15832 |
} |
| 15809 |
} else { |
|
15833 |
} else { |
| 15810 |
_array_init(return_value, (uint )0); |
|
15834 |
_array_init(return_value, (uint )0); |
| 15811 |
if ((int )(*from)->type == 4) { |
|
15835 |
if ((int )(*from)->type == 4) { |
| 15812 |
zend_hash_internal_pointer_reset_ex((*from)->value.ht, & pos_from); |
|
15836 |
zend_hash_internal_pointer_reset_ex((*from)->value.ht, & pos_from); |
| 15813 |
} else { |
|
15837 |
} else { |
| 15814 |
|
|
15838 |
|
| 15815 |
} |
|
15839 |
} |
| 15816 |
if (argc > 3) { |
|
15840 |
if (argc > 3) { |
| 15817 |
if ((int )(*len)->type == 4) { |
|
15841 |
if ((int )(*len)->type == 4) { |
| 15818 |
zend_hash_internal_pointer_reset_ex((*len)->value.ht, & pos_len); |
|
15842 |
zend_hash_internal_pointer_reset_ex((*len)->value.ht, & pos_len); |
| 15819 |
} else { |
|
15843 |
} else { |
| 15820 |
|
|
15844 |
|
| 15821 |
} |
|
15845 |
} |
| 15822 |
} else { |
|
15846 |
} else { |
| 15823 |
|
|
15847 |
|
| 15824 |
} |
|
15848 |
} |
| 15825 |
if ((int )(*repl)->type == 4) { |
|
15849 |
if ((int )(*repl)->type == 4) { |
| 15826 |
zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl); |
|
15850 |
zend_hash_internal_pointer_reset_ex((*repl)->value.ht, & pos_repl); |
| 15827 |
} else { |
|
15851 |
} else { |
| 15828 |
|
|
15852 |
|
| 15829 |
} |
|
15853 |
} |
| 15830 |
zend_hash_internal_pointer_reset_ex((*str)->value.ht, & pos_str); |
|
15854 |
zend_hash_internal_pointer_reset_ex((*str)->value.ht, & pos_str); |
| 15831 |
while (1) { |
|
15855 |
while (1) { |
| 15832 |
tmp___53 = zend_hash_get_current_data_ex((*str)->value.ht, |
|
15856 |
tmp___53 = zend_hash_get_current_data_ex((*str)->value.ht, |
| 15833 |
(void **)(& tmp_str), & pos_str); |
|
15857 |
(void **)(& tmp_str), & pos_str); |
| 15834 |
if (tmp___53 == (int __attribute__((__visibility__("default"))) )0) { |
|
15858 |
if (tmp___53 == (int __attribute__((__visibility__("default"))) )0) { |
| 15835 |
|
|
15859 |
|
| 15836 |
} else { |
|
15860 |
} else { |
| 15837 |
break; |
|
15861 |
break; |
| 15838 |
} |
|
15862 |
} |
| 15839 |
if ((int )(*tmp_str)->type != 6) { |
|
15863 |
if ((int )(*tmp_str)->type != 6) { |
| 15840 |
tmp___37 = zval_isref_p(*tmp_str); |
|
15864 |
tmp___37 = zval_isref_p(*tmp_str); |
| 15841 |
if (tmp___37) { |
|
15865 |
if (tmp___37) { |
| 15842 |
|
|
15866 |
|
| 15843 |
} else { |
|
15867 |
} else { |
| 15844 |
while (1) { |
|
15868 |
while (1) { |
| 15845 |
tmp___36 = zval_refcount_p(*tmp_str); |
|
15869 |
tmp___36 = zval_refcount_p(*tmp_str); |
| 15846 |
if (tmp___36 > 1U) { |
|
15870 |
if (tmp___36 > 1U) { |
| 15847 |
zval_delref_p(*tmp_str); |
|
15871 |
zval_delref_p(*tmp_str); |
| 15848 |
while (1) { |
|
15872 |
while (1) { |
| 15849 |
tmp___35 = _emalloc(sizeof(zval_gc_info )); |
|
15873 |
tmp___35 = _emalloc(sizeof(zval_gc_info )); |
| 15850 |
new_zv___8 = (zval *)tmp___35; |
|
15874 |
new_zv___8 = (zval *)tmp___35; |
| 15851 |
((zval_gc_info *)new_zv___8)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15875 |
((zval_gc_info *)new_zv___8)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15852 |
break; |
|
15876 |
break; |
| 15853 |
} |
|
15877 |
} |
| 15854 |
while (1) { |
|
15878 |
while (1) { |
| 15855 |
while (1) { |
|
15879 |
while (1) { |
| 15856 |
new_zv___8->value = (*tmp_str)->value; |
|
15880 |
new_zv___8->value = (*tmp_str)->value; |
| 15857 |
new_zv___8->type = (*tmp_str)->type; |
|
15881 |
new_zv___8->type = (*tmp_str)->type; |
| 15858 |
break; |
|
15882 |
break; |
| 15859 |
} |
|
15883 |
} |
| 15860 |
zval_set_refcount_p(new_zv___8, (zend_uint )1); |
|
15884 |
zval_set_refcount_p(new_zv___8, (zend_uint )1); |
| 15861 |
zval_unset_isref_p(new_zv___8); |
|
15885 |
zval_unset_isref_p(new_zv___8); |
| 15862 |
break; |
|
15886 |
break; |
| 15863 |
} |
|
15887 |
} |
| 15864 |
*tmp_str = new_zv___8; |
|
15888 |
*tmp_str = new_zv___8; |
| 15865 |
_zval_copy_ctor(new_zv___8); |
|
15889 |
_zval_copy_ctor(new_zv___8); |
| 15866 |
} else { |
|
15890 |
} else { |
| 15867 |
|
|
15891 |
|
| 15868 |
} |
|
15892 |
} |
| 15869 |
break; |
|
15893 |
break; |
| 15870 |
} |
|
15894 |
} |
| 15871 |
} |
|
15895 |
} |
| 15872 |
if ((int )(*tmp_str)->type != 6) { |
|
15896 |
if ((int )(*tmp_str)->type != 6) { |
| 15873 |
_convert_to_string(*tmp_str); |
|
15897 |
_convert_to_string(*tmp_str); |
| 15874 |
} else { |
|
15898 |
} else { |
| 15875 |
|
|
15899 |
|
| 15876 |
} |
|
15900 |
} |
| 15877 |
} else { |
|
15901 |
} else { |
| 15878 |
|
|
15902 |
|
| 15879 |
} |
|
15903 |
} |
| 15880 |
if ((int )(*from)->type == 4) { |
|
15904 |
if ((int )(*from)->type == 4) { |
| 15881 |
tmp___41 = zend_hash_get_current_data_ex((*from)->value.ht, |
|
15905 |
tmp___41 = zend_hash_get_current_data_ex((*from)->value.ht, |
| 15882 |
(void **)(& tmp_from), |
|
15906 |
(void **)(& tmp_from), |
| 15883 |
& pos_from); |
|
15907 |
& pos_from); |
| 15884 |
if (0 == (int )tmp___41) { |
|
15908 |
if (0 == (int )tmp___41) { |
| 15885 |
if ((int )(*tmp_from)->type != 1) { |
|
15909 |
if ((int )(*tmp_from)->type != 1) { |
| 15886 |
tmp___40 = zval_isref_p(*tmp_from); |
|
15910 |
tmp___40 = zval_isref_p(*tmp_from); |
| 15887 |
if (tmp___40) { |
|
15911 |
if (tmp___40) { |
| 15888 |
|
|
15912 |
|
| 15889 |
} else { |
|
15913 |
} else { |
| 15890 |
while (1) { |
|
15914 |
while (1) { |
| 15891 |
tmp___39 = zval_refcount_p(*tmp_from); |
|
15915 |
tmp___39 = zval_refcount_p(*tmp_from); |
| 15892 |
if (tmp___39 > 1U) { |
|
15916 |
if (tmp___39 > 1U) { |
| 15893 |
zval_delref_p(*tmp_from); |
|
15917 |
zval_delref_p(*tmp_from); |
| 15894 |
while (1) { |
|
15918 |
while (1) { |
| 15895 |
tmp___38 = _emalloc(sizeof(zval_gc_info )); |
|
15919 |
tmp___38 = _emalloc(sizeof(zval_gc_info )); |
| 15896 |
new_zv___9 = (zval *)tmp___38; |
|
15920 |
new_zv___9 = (zval *)tmp___38; |
| 15897 |
((zval_gc_info *)new_zv___9)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15921 |
((zval_gc_info *)new_zv___9)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15898 |
break; |
|
15922 |
break; |
| 15899 |
} |
|
15923 |
} |
| 15900 |
while (1) { |
|
15924 |
while (1) { |
| 15901 |
while (1) { |
|
15925 |
while (1) { |
| 15902 |
new_zv___9->value = (*tmp_from)->value; |
|
15926 |
new_zv___9->value = (*tmp_from)->value; |
| 15903 |
new_zv___9->type = (*tmp_from)->type; |
|
15927 |
new_zv___9->type = (*tmp_from)->type; |
| 15904 |
break; |
|
15928 |
break; |
| 15905 |
} |
|
15929 |
} |
| 15906 |
zval_set_refcount_p(new_zv___9, (zend_uint )1); |
|
15930 |
zval_set_refcount_p(new_zv___9, (zend_uint )1); |
| 15907 |
zval_unset_isref_p(new_zv___9); |
|
15931 |
zval_unset_isref_p(new_zv___9); |
| 15908 |
break; |
|
15932 |
break; |
| 15909 |
} |
|
15933 |
} |
| 15910 |
*tmp_from = new_zv___9; |
|
15934 |
*tmp_from = new_zv___9; |
| 15911 |
_zval_copy_ctor(new_zv___9); |
|
15935 |
_zval_copy_ctor(new_zv___9); |
| 15912 |
} else { |
|
15936 |
} else { |
| 15913 |
|
|
15937 |
|
| 15914 |
} |
|
15938 |
} |
| 15915 |
break; |
|
15939 |
break; |
| 15916 |
} |
|
15940 |
} |
| 15917 |
} |
|
15941 |
} |
| 15918 |
convert_to_long(*tmp_from); |
|
15942 |
convert_to_long(*tmp_from); |
| 15919 |
} else { |
|
15943 |
} else { |
| 15920 |
|
|
15944 |
|
| 15921 |
} |
|
15945 |
} |
| 15922 |
f = (int )(*tmp_from)->value.lval; |
|
15946 |
f = (int )(*tmp_from)->value.lval; |
| 15923 |
if (f < 0) { |
|
15947 |
if (f < 0) { |
| 15924 |
f = (*tmp_str)->value.str.len + f; |
|
15948 |
f = (*tmp_str)->value.str.len + f; |
| 15925 |
if (f < 0) { |
|
15949 |
if (f < 0) { |
| 15926 |
f = 0; |
|
15950 |
f = 0; |
| 15927 |
} else { |
|
15951 |
} else { |
| 15928 |
|
|
15952 |
|
| 15929 |
} |
|
15953 |
} |
| 15930 |
} else |
|
15954 |
} else |
| 15931 |
if (f > (*tmp_str)->value.str.len) { |
|
15955 |
if (f > (*tmp_str)->value.str.len) { |
| 15932 |
f = (*tmp_str)->value.str.len; |
|
15956 |
f = (*tmp_str)->value.str.len; |
| 15933 |
} else { |
|
15957 |
} else { |
| 15934 |
|
|
15958 |
|
| 15935 |
} |
|
15959 |
} |
| 15936 |
zend_hash_move_forward_ex((*from)->value.ht, & pos_from); |
|
15960 |
zend_hash_move_forward_ex((*from)->value.ht, & pos_from); |
| 15937 |
} else { |
|
15961 |
} else { |
| 15938 |
f = 0; |
|
15962 |
f = 0; |
| 15939 |
} |
|
15963 |
} |
| 15940 |
} else { |
|
15964 |
} else { |
| 15941 |
f = (int )(*from)->value.lval; |
|
15965 |
f = (int )(*from)->value.lval; |
| 15942 |
if (f < 0) { |
|
15966 |
if (f < 0) { |
| 15943 |
f = (*tmp_str)->value.str.len + f; |
|
15967 |
f = (*tmp_str)->value.str.len + f; |
| 15944 |
if (f < 0) { |
|
15968 |
if (f < 0) { |
| 15945 |
f = 0; |
|
15969 |
f = 0; |
| 15946 |
} else { |
|
15970 |
} else { |
| 15947 |
|
|
15971 |
|
| 15948 |
} |
|
15972 |
} |
| 15949 |
} else |
|
15973 |
} else |
| 15950 |
if (f > (*tmp_str)->value.str.len) { |
|
15974 |
if (f > (*tmp_str)->value.str.len) { |
| 15951 |
f = (*tmp_str)->value.str.len; |
|
15975 |
f = (*tmp_str)->value.str.len; |
| 15952 |
} else { |
|
15976 |
} else { |
| 15953 |
|
|
15977 |
|
| 15954 |
} |
|
15978 |
} |
| 15955 |
} |
|
15979 |
} |
| 15956 |
if (argc > 3) { |
|
15980 |
if (argc > 3) { |
| 15957 |
if ((int )(*len)->type == 4) { |
|
15981 |
if ((int )(*len)->type == 4) { |
| 15958 |
tmp___45 = zend_hash_get_current_data_ex((*len)->value.ht, |
|
15982 |
tmp___45 = zend_hash_get_current_data_ex((*len)->value.ht, |
| 15959 |
(void **)(& tmp_len), |
|
15983 |
(void **)(& tmp_len), |
| 15960 |
& pos_len); |
|
15984 |
& pos_len); |
| 15961 |
if (0 == (int )tmp___45) { |
|
15985 |
if (0 == (int )tmp___45) { |
| 15962 |
if ((int )(*tmp_len)->type != 1) { |
|
15986 |
if ((int )(*tmp_len)->type != 1) { |
| 15963 |
tmp___44 = zval_isref_p(*tmp_len); |
|
15987 |
tmp___44 = zval_isref_p(*tmp_len); |
| 15964 |
if (tmp___44) { |
|
15988 |
if (tmp___44) { |
| 15965 |
|
|
15989 |
|
| 15966 |
} else { |
|
15990 |
} else { |
| 15967 |
while (1) { |
|
15991 |
while (1) { |
| 15968 |
tmp___43 = zval_refcount_p(*tmp_len); |
|
15992 |
tmp___43 = zval_refcount_p(*tmp_len); |
| 15969 |
if (tmp___43 > 1U) { |
|
15993 |
if (tmp___43 > 1U) { |
| 15970 |
zval_delref_p(*tmp_len); |
|
15994 |
zval_delref_p(*tmp_len); |
| 15971 |
while (1) { |
|
15995 |
while (1) { |
| 15972 |
tmp___42 = _emalloc(sizeof(zval_gc_info )); |
|
15996 |
tmp___42 = _emalloc(sizeof(zval_gc_info )); |
| 15973 |
new_zv___10 = (zval *)tmp___42; |
|
15997 |
new_zv___10 = (zval *)tmp___42; |
| 15974 |
((zval_gc_info *)new_zv___10)->u.buffered = (gc_root_buffer *)((void *)0); |
|
15998 |
((zval_gc_info *)new_zv___10)->u.buffered = (gc_root_buffer *)((void *)0); |
| 15975 |
break; |
|
15999 |
break; |
| 15976 |
} |
|
16000 |
} |
| 15977 |
while (1) { |
|
16001 |
while (1) { |
| 15978 |
while (1) { |
|
16002 |
while (1) { |
| 15979 |
new_zv___10->value = (*tmp_len)->value; |
|
16003 |
new_zv___10->value = (*tmp_len)->value; |
| 15980 |
new_zv___10->type = (*tmp_len)->type; |
|
16004 |
new_zv___10->type = (*tmp_len)->type; |
| 15981 |
break; |
|
16005 |
break; |
| 15982 |
} |
|
16006 |
} |
| 15983 |
zval_set_refcount_p(new_zv___10, (zend_uint )1); |
|
16007 |
zval_set_refcount_p(new_zv___10, (zend_uint )1); |
| 15984 |
zval_unset_isref_p(new_zv___10); |
|
16008 |
zval_unset_isref_p(new_zv___10); |
| 15985 |
break; |
|
16009 |
break; |
| 15986 |
} |
|
16010 |
} |
| 15987 |
*tmp_len = new_zv___10; |
|
16011 |
*tmp_len = new_zv___10; |
| 15988 |
_zval_copy_ctor(new_zv___10); |
|
16012 |
_zval_copy_ctor(new_zv___10); |
| 15989 |
} else { |
|
16013 |
} else { |
| 15990 |
|
|
16014 |
|
| 15991 |
} |
|
16015 |
} |
| 15992 |
break; |
|
16016 |
break; |
| 15993 |
} |
|
16017 |
} |
| 15994 |
} |
|
16018 |
} |
| 15995 |
convert_to_long(*tmp_len); |
|
16019 |
convert_to_long(*tmp_len); |
| 15996 |
} else { |
|
16020 |
} else { |
| 15997 |
|
|
16021 |
|
| 15998 |
} |
|
16022 |
} |
| 15999 |
l = (int )(*tmp_len)->value.lval; |
|
16023 |
l = (int )(*tmp_len)->value.lval; |
| 16000 |
zend_hash_move_forward_ex((*len)->value.ht, & pos_len); |
|
16024 |
zend_hash_move_forward_ex((*len)->value.ht, & pos_len); |
| 16001 |
} else { |
|
16025 |
} else { |
| 16002 |
l = (*tmp_str)->value.str.len; |
|
16026 |
l = (*tmp_str)->value.str.len; |
| 16003 |
} |
|
16027 |
} |
| 16004 |
} else { |
|
16028 |
} else { |
| 16005 |
goto _L___3; |
|
16029 |
goto _L___3; |
| 16006 |
} |
|
16030 |
} |
| 16007 |
} else |
|
16031 |
} else |
| 16008 |
_L___3: |
|
16032 |
_L___3: |
| 16009 |
if (argc > 3) { |
|
16033 |
if (argc > 3) { |
| 16010 |
l = (int )(*len)->value.lval; |
|
16034 |
l = (int )(*len)->value.lval; |
| 16011 |
} else { |
|
16035 |
} else { |
| 16012 |
l = (*tmp_str)->value.str.len; |
|
16036 |
l = (*tmp_str)->value.str.len; |
| 16013 |
} |
|
16037 |
} |
| 16014 |
if (l < 0) { |
|
16038 |
if (l < 0) { |
| 16015 |
l = ((*tmp_str)->value.str.len - f) + l; |
|
16039 |
l = ((*tmp_str)->value.str.len - f) + l; |
| 16016 |
if (l < 0) { |
|
16040 |
if (l < 0) { |
| 16017 |
l = 0; |
|
16041 |
l = 0; |
| 16018 |
} else { |
|
16042 |
} else { |
| 16019 |
|
|
16043 |
|
| 16020 |
} |
|
16044 |
} |
| 16021 |
} else { |
|
16045 |
} else { |
| 16022 |
|
|
16046 |
|
| 16023 |
} |
|
16047 |
} |
| 16024 |
if (f + l > (*tmp_str)->value.str.len) { |
|
16048 |
if (f + l > (*tmp_str)->value.str.len) { |
| 16025 |
l = (*tmp_str)->value.str.len - f; |
|
16049 |
l = (*tmp_str)->value.str.len - f; |
| 16026 |
} else { |
|
16050 |
} else { |
| 16027 |
|
|
16051 |
|
| 16028 |
} |
|
16052 |
} |
| 16029 |
result_len = (*tmp_str)->value.str.len - l; |
|
16053 |
result_len = (*tmp_str)->value.str.len - l; |
| 16030 |
if ((int )(*repl)->type == 4) { |
|
16054 |
if ((int )(*repl)->type == 4) { |
| 16031 |
tmp___51 = zend_hash_get_current_data_ex((*repl)->value.ht, |
|
16055 |
tmp___51 = zend_hash_get_current_data_ex((*repl)->value.ht, |
| 16032 |
(void **)(& tmp_repl), |
|
16056 |
(void **)(& tmp_repl), |
| 16033 |
& pos_repl); |
|
16057 |
& pos_repl); |
| 16034 |
if (0 == (int )tmp___51) { |
|
16058 |
if (0 == (int )tmp___51) { |
| 16035 |
if ((int )(*tmp_repl)->type != 6) { |
|
16059 |
if ((int )(*tmp_repl)->type != 6) { |
| 16036 |
tmp___48 = zval_isref_p(*tmp_repl); |
|
16060 |
tmp___48 = zval_isref_p(*tmp_repl); |
| 16037 |
if (tmp___48) { |
|
16061 |
if (tmp___48) { |
| 16038 |
|
|
16062 |
|
| 16039 |
} else { |
|
16063 |
} else { |
| 16040 |
while (1) { |
|
16064 |
while (1) { |
| 16041 |
tmp___47 = zval_refcount_p(*tmp_repl); |
|
16065 |
tmp___47 = zval_refcount_p(*tmp_repl); |
| 16042 |
if (tmp___47 > 1U) { |
|
16066 |
if (tmp___47 > 1U) { |
| 16043 |
zval_delref_p(*tmp_repl); |
|
16067 |
zval_delref_p(*tmp_repl); |
| 16044 |
while (1) { |
|
16068 |
while (1) { |
| 16045 |
tmp___46 = _emalloc(sizeof(zval_gc_info )); |
|
16069 |
tmp___46 = _emalloc(sizeof(zval_gc_info )); |
| 16046 |
new_zv___11 = (zval *)tmp___46; |
|
16070 |
new_zv___11 = (zval *)tmp___46; |
| 16047 |
((zval_gc_info *)new_zv___11)->u.buffered = (gc_root_buffer *)((void *)0); |
|
16071 |
((zval_gc_info *)new_zv___11)->u.buffered = (gc_root_buffer *)((void *)0); |
| 16048 |
break; |
|
16072 |
break; |
| 16049 |
} |
|
16073 |
} |
| 16050 |
while (1) { |
|
16074 |
while (1) { |
| 16051 |
while (1) { |
|
16075 |
while (1) { |
| 16052 |
new_zv___11->value = (*tmp_repl)->value; |
|
16076 |
new_zv___11->value = (*tmp_repl)->value; |
| 16053 |
new_zv___11->type = (*tmp_repl)->type; |
|
16077 |
new_zv___11->type = (*tmp_repl)->type; |
| 16054 |
break; |
|
16078 |
break; |
| 16055 |
} |
|
16079 |
} |
| 16056 |
zval_set_refcount_p(new_zv___11, (zend_uint )1); |
|
16080 |
zval_set_refcount_p(new_zv___11, (zend_uint )1); |
| 16057 |
zval_unset_isref_p(new_zv___11); |
|
16081 |
zval_unset_isref_p(new_zv___11); |
| 16058 |
break; |
|
16082 |
break; |
| 16059 |
} |
|
16083 |
} |
| 16060 |
*tmp_repl = new_zv___11; |
|
16084 |
*tmp_repl = new_zv___11; |
| 16061 |
_zval_copy_ctor(new_zv___11); |
|
16085 |
_zval_copy_ctor(new_zv___11); |
| 16062 |
} else { |
|
16086 |
} else { |
| 16063 |
|
|
16087 |
|
| 16064 |
} |
|
16088 |
} |
| 16065 |
break; |
|
16089 |
break; |
| 16066 |
} |
|
16090 |
} |
| 16067 |
} |
|
16091 |
} |
| 16068 |
if ((int )(*tmp_repl)->type != 6) { |
|
16092 |
if ((int )(*tmp_repl)->type != 6) { |
| 16069 |
_convert_to_string(*tmp_repl); |
|
16093 |
_convert_to_string(*tmp_repl); |
| 16070 |
} else { |
|
16094 |
} else { |
| 16071 |
|
|
16095 |
|
| 16072 |
} |
|
16096 |
} |
| 16073 |
} else { |
|
16097 |
} else { |
| 16074 |
|
|
16098 |
|
| 16075 |
} |
|
16099 |
} |
| 16076 |
result_len += (*tmp_repl)->value.str.len; |
|
16100 |
result_len += (*tmp_repl)->value.str.len; |
| 16077 |
zend_hash_move_forward_ex((*repl)->value.ht, & pos_repl); |
|
16101 |
zend_hash_move_forward_ex((*repl)->value.ht, & pos_repl); |
| 16078 |
tmp___49 = _emalloc((size_t )(result_len + 1)); |
|
16102 |
tmp___49 = _emalloc((size_t )(result_len + 1)); |
| 16079 |
result = (char *)tmp___49; |
|
16103 |
result = (char *)tmp___49; |
| 16080 |
memcpy((void *)result, |
|
16104 |
memcpy((void *)result, |
| 16081 |
(void const *)(*tmp_str)->value.str.val, |
|
16105 |
(void const *)(*tmp_str)->value.str.val, |
| 16082 |
(size_t )f); |
|
16106 |
(size_t )f); |
| 16083 |
memcpy((void *)(result + f), |
|
16107 |
memcpy((void *)(result + f), |
| 16084 |
(void const *)(*tmp_repl)->value.str.val, |
|
16108 |
(void const *)(*tmp_repl)->value.str.val, |
| 16085 |
(size_t )(*tmp_repl)->value.str.len); |
|
16109 |
(size_t )(*tmp_repl)->value.str.len); |
| 16086 |
memcpy((void *)((result + f) + (*tmp_repl)->value.str.len), |
|
16110 |
memcpy((void *)((result + f) + (*tmp_repl)->value.str.len), |
| 16087 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
|
16111 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
| 16088 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
|
16112 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
| 16089 |
} else { |
|
16113 |
} else { |
| 16090 |
tmp___50 = _emalloc((size_t )(result_len + 1)); |
|
16114 |
tmp___50 = _emalloc((size_t )(result_len + 1)); |
| 16091 |
result = (char *)tmp___50; |
|
16115 |
result = (char *)tmp___50; |
| 16092 |
memcpy((void *)result, |
|
16116 |
memcpy((void *)result, |
| 16093 |
(void const *)(*tmp_str)->value.str.val, |
|
16117 |
(void const *)(*tmp_str)->value.str.val, |
| 16094 |
(size_t )f); |
|
16118 |
(size_t )f); |
| 16095 |
memcpy((void *)(result + f), |
|
16119 |
memcpy((void *)(result + f), |
| 16096 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
|
16120 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
| 16097 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
|
16121 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
| 16098 |
} |
|
16122 |
} |
| 16099 |
} else { |
|
16123 |
} else { |
| 16100 |
result_len += (*repl)->value.str.len; |
|
16124 |
result_len += (*repl)->value.str.len; |
| 16101 |
tmp___52 = _emalloc((size_t )(result_len + 1)); |
|
16125 |
tmp___52 = _emalloc((size_t )(result_len + 1)); |
| 16102 |
result = (char *)tmp___52; |
|
16126 |
result = (char *)tmp___52; |
| 16103 |
memcpy((void *)result, |
|
16127 |
memcpy((void *)result, |
| 16104 |
(void const *)(*tmp_str)->value.str.val, |
|
16128 |
(void const *)(*tmp_str)->value.str.val, |
| 16105 |
(size_t )f); |
|
16129 |
(size_t )f); |
| 16106 |
memcpy((void *)(result + f), |
|
16130 |
memcpy((void *)(result + f), |
| 16107 |
(void const *)(*repl)->value.str.val, |
|
16131 |
(void const *)(*repl)->value.str.val, |
| 16108 |
(size_t )(*repl)->value.str.len); |
|
16132 |
(size_t )(*repl)->value.str.len); |
| 16109 |
memcpy((void *)((result + f) + (*repl)->value.str.len), |
|
16133 |
memcpy((void *)((result + f) + (*repl)->value.str.len), |
| 16110 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
|
16134 |
(void const *)(((*tmp_str)->value.str.val + f) + l), |
| 16111 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
|
16135 |
(size_t )(((*tmp_str)->value.str.len - f) - l)); |
| 16112 |
} |
|
16136 |
} |
| 16113 |
*(result + result_len) = (char )'\000'; |
|
16137 |
*(result + result_len) = (char )'\000'; |
| 16114 |
add_next_index_stringl(return_value, (char const *)result, |
|
16138 |
add_next_index_stringl(return_value, (char const *)result, |
| 16115 |
(uint )result_len, 0); |
|
16139 |
(uint )result_len, 0); |
| 16116 |
zend_hash_move_forward_ex((*str)->value.ht, & pos_str); |
|
16140 |
zend_hash_move_forward_ex((*str)->value.ht, & pos_str); |
| 16117 |
} |
|
16141 |
} |
| 16118 |
} |
|
16142 |
} |
| 16119 |
return; |
|
16143 |
return; |
| 16120 |
} |
|
16144 |
} |
| 16121 |
} |
|
16145 |
} |
| 16122 |
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , |
|
16146 |
void zif_quotemeta(int ht , zval *return_value , zval **return_value_ptr , |
| 16123 |
zval *this_ptr , int return_value_used ) |
|
16147 |
zval *this_ptr , int return_value_used ) |
| 16124 |
{ |
|
16148 |
{ |
| 16125 |
char *str ; |
|
16149 |
char *str ; |
| 16126 |
char *old ; |
|
16150 |
char *old ; |
| 16127 |
char *old_end ; |
|
16151 |
char *old_end ; |
| 16128 |
char *p ; |
|
16152 |
char *p ; |
| 16129 |
char *q ; |
|
16153 |
char *q ; |
| 16130 |
char c ; |
|
16154 |
char c ; |
| 16131 |
int old_len ; |
|
16155 |
int old_len ; |
| 16132 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16156 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16133 |
zval *__z ; |
|
16157 |
zval *__z ; |
| 16134 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16158 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16135 |
char *tmp___1 ; |
|
16159 |
char *tmp___1 ; |
| 16136 |
char *tmp___2 ; |
|
16160 |
char *tmp___2 ; |
| 16137 |
char const *__s ; |
|
16161 |
char const *__s ; |
| 16138 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
16162 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 16139 |
int __l ; |
|
16163 |
int __l ; |
| 16140 |
zval *__z___0 ; |
|
16164 |
zval *__z___0 ; |
| 16141 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
|
16165 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
| 16142 |
|
|
16166 |
|
| 16143 |
{ |
|
16167 |
{ |
| 16144 |
tmp = zend_parse_parameters(ht, "s", & old, & old_len); |
|
16168 |
tmp = zend_parse_parameters(ht, "s", & old, & old_len); |
| 16145 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16169 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16146 |
return; |
|
16170 |
return; |
| 16147 |
} else { |
|
16171 |
} else { |
| 16148 |
|
|
16172 |
|
| 16149 |
} |
|
16173 |
} |
| 16150 |
old_end = old + old_len; |
|
16174 |
old_end = old + old_len; |
| 16151 |
if ((unsigned int )old == (unsigned int )old_end) { |
|
16175 |
if ((unsigned int )old == (unsigned int )old_end) { |
| 16152 |
while (1) { |
|
16176 |
while (1) { |
| 16153 |
__z = return_value; |
|
16177 |
__z = return_value; |
| 16154 |
__z->value.lval = 0L; |
|
16178 |
__z->value.lval = 0L; |
| 16155 |
__z->type = (zend_uchar )3; |
|
16179 |
__z->type = (zend_uchar )3; |
| 16156 |
break; |
|
16180 |
break; |
| 16157 |
} |
|
16181 |
} |
| 16158 |
return; |
|
16182 |
return; |
| 16159 |
} else { |
|
16183 |
} else { |
| 16160 |
|
|
16184 |
|
| 16161 |
} |
|
16185 |
} |
| 16162 |
tmp___0 = _safe_emalloc((size_t )2, (size_t )old_len, (size_t )1); |
|
16186 |
tmp___0 = _safe_emalloc((size_t )2, (size_t )old_len, (size_t )1); |
| 16163 |
str = (char *)tmp___0; |
|
16187 |
str = (char *)tmp___0; |
| 16164 |
p = old; |
|
16188 |
p = old; |
| 16165 |
q = str; |
|
16189 |
q = str; |
| 16166 |
while ((unsigned int )p != (unsigned int )old_end) { |
|
16190 |
while ((unsigned int )p != (unsigned int )old_end) { |
| 16167 |
c = *p; |
|
16191 |
c = *p; |
| 16168 |
switch ((int )c) { |
|
16192 |
switch ((int )c) { |
| 16169 |
case 41: |
|
16193 |
case 41: |
| 16170 |
case 40: |
|
16194 |
case 40: |
| 16171 |
case 36: |
|
16195 |
case 36: |
| 16172 |
case 93: |
|
16196 |
case 93: |
| 16173 |
case 94: |
|
16197 |
case 94: |
| 16174 |
case 91: |
|
16198 |
case 91: |
| 16175 |
case 63: |
|
16199 |
case 63: |
| 16176 |
case 42: |
|
16200 |
case 42: |
| 16177 |
case 43: |
|
16201 |
case 43: |
| 16178 |
case 92: |
|
16202 |
case 92: |
| 16179 |
case 46: |
|
16203 |
case 46: |
| 16180 |
tmp___1 = q; |
|
16204 |
tmp___1 = q; |
| 16181 |
q ++; |
|
16205 |
q ++; |
| 16182 |
*tmp___1 = (char )'\\'; |
|
16206 |
*tmp___1 = (char )'\\'; |
| 16183 |
default: |
|
16207 |
default: |
| 16184 |
tmp___2 = q; |
|
16208 |
tmp___2 = q; |
| 16185 |
q ++; |
|
16209 |
q ++; |
| 16186 |
*tmp___2 = c; |
|
16210 |
*tmp___2 = c; |
| 16187 |
} |
|
16211 |
} |
| 16188 |
p ++; |
|
16212 |
p ++; |
| 16189 |
} |
|
16213 |
} |
| 16190 |
*q = (char)0; |
|
16214 |
*q = (char)0; |
| 16191 |
while (1) { |
|
16215 |
while (1) { |
| 16192 |
tmp___3 = _erealloc((void *)str, (size_t )((q - str) + 1), 0); |
|
16216 |
tmp___3 = _erealloc((void *)str, (size_t )((q - str) + 1), 0); |
| 16193 |
__s = (char const *)tmp___3; |
|
16217 |
__s = (char const *)tmp___3; |
| 16194 |
__l = q - str; |
|
16218 |
__l = q - str; |
| 16195 |
__z___0 = return_value; |
|
16219 |
__z___0 = return_value; |
| 16196 |
__z___0->value.str.len = __l; |
|
16220 |
__z___0->value.str.len = __l; |
| 16197 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
16221 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 16198 |
__z___0->type = (zend_uchar )6; |
|
16222 |
__z___0->type = (zend_uchar )6; |
| 16199 |
break; |
|
16223 |
break; |
| 16200 |
} |
|
16224 |
} |
| 16201 |
return; |
|
16225 |
return; |
| 16202 |
} |
|
16226 |
} |
| 16203 |
} |
|
16227 |
} |
| 16204 |
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , |
|
16228 |
void zif_ord(int ht , zval *return_value , zval **return_value_ptr , |
| 16205 |
zval *this_ptr , int return_value_used ) |
|
16229 |
zval *this_ptr , int return_value_used ) |
| 16206 |
{ |
|
16230 |
{ |
| 16207 |
char *str ; |
|
16231 |
char *str ; |
| 16208 |
int str_len ; |
|
16232 |
int str_len ; |
| 16209 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16233 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16210 |
zval *__z ; |
|
16234 |
zval *__z ; |
| 16211 |
|
|
16235 |
|
| 16212 |
{ |
|
16236 |
{ |
| 16213 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
16237 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 16214 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16238 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16215 |
return; |
|
16239 |
return; |
| 16216 |
} else { |
|
16240 |
} else { |
| 16217 |
|
|
16241 |
|
| 16218 |
} |
|
16242 |
} |
| 16219 |
__z = return_value; |
|
16243 |
__z = return_value; |
| 16220 |
__z->value.lval = (long )((unsigned char )*(str + 0)); |
|
16244 |
__z->value.lval = (long )((unsigned char )*(str + 0)); |
| 16221 |
__z->type = (zend_uchar )1; |
|
16245 |
__z->type = (zend_uchar )1; |
| 16222 |
return; |
|
16246 |
return; |
| 16223 |
} |
|
16247 |
} |
| 16224 |
} |
|
16248 |
} |
| 16225 |
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , |
|
16249 |
void zif_chr(int ht , zval *return_value , zval **return_value_ptr , |
| 16226 |
zval *this_ptr , int return_value_used ) |
|
16250 |
zval *this_ptr , int return_value_used ) |
| 16227 |
{ |
|
16251 |
{ |
| 16228 |
long c ; |
|
16252 |
long c ; |
| 16229 |
char temp[2] ; |
|
16253 |
char temp[2] ; |
| 16230 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16254 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16231 |
char const *__s ; |
|
16255 |
char const *__s ; |
| 16232 |
int __l ; |
|
16256 |
int __l ; |
| 16233 |
zval *__z ; |
|
16257 |
zval *__z ; |
| 16234 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16258 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16235 |
|
|
16259 |
|
| 16236 |
{ |
|
16260 |
{ |
| 16237 |
if (ht != 1) { |
|
16261 |
if (ht != 1) { |
| 16238 |
zend_wrong_param_count(); |
|
16262 |
zend_wrong_param_count(); |
| 16239 |
return; |
|
16263 |
return; |
| 16240 |
} else { |
|
16264 |
} else { |
| 16241 |
|
|
16265 |
|
| 16242 |
} |
|
16266 |
} |
| 16243 |
tmp = zend_parse_parameters_ex(1 << 1, ht, "l", & c); |
|
16267 |
tmp = zend_parse_parameters_ex(1 << 1, ht, "l", & c); |
| 16244 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16268 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16245 |
c = 0L; |
|
16269 |
c = 0L; |
| 16246 |
} else { |
|
16270 |
} else { |
| 16247 |
|
|
16271 |
|
| 16248 |
} |
|
16272 |
} |
| 16249 |
temp[0] = (char )c; |
|
16273 |
temp[0] = (char )c; |
| 16250 |
temp[1] = (char )'\000'; |
|
16274 |
temp[1] = (char )'\000'; |
| 16251 |
while (1) { |
|
16275 |
while (1) { |
| 16252 |
__s = (char const *)(temp); |
|
16276 |
__s = (char const *)(temp); |
| 16253 |
__l = 1; |
|
16277 |
__l = 1; |
| 16254 |
__z = return_value; |
|
16278 |
__z = return_value; |
| 16255 |
__z->value.str.len = __l; |
|
16279 |
__z->value.str.len = __l; |
| 16256 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
16280 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 16257 |
__z->value.str.val = (char *)tmp___0; |
|
16281 |
__z->value.str.val = (char *)tmp___0; |
| 16258 |
__z->type = (zend_uchar )6; |
|
16282 |
__z->type = (zend_uchar )6; |
| 16259 |
break; |
|
16283 |
break; |
| 16260 |
} |
|
16284 |
} |
| 16261 |
return; |
|
16285 |
return; |
| 16262 |
} |
|
16286 |
} |
| 16263 |
} |
|
16287 |
} |
| 16264 |
static void php_ucfirst(char *str ) |
|
16288 |
static void php_ucfirst(char *str ) |
| 16265 |
{ |
|
16289 |
{ |
| 16266 |
register char *r ; |
|
16290 |
register char *r ; |
| 16267 |
int __res ; |
|
16291 |
int __res ; |
| 16268 |
int __c ; |
|
16292 |
int __c ; |
| 16269 |
__int32_t const **tmp ; |
|
16293 |
__int32_t const **tmp ; |
| 16270 |
__int32_t const **tmp___0 ; |
|
16294 |
__int32_t const **tmp___0 ; |
| 16271 |
|
|
16295 |
|
| 16272 |
{ |
|
16296 |
{ |
| 16273 |
r = str; |
|
16297 |
r = str; |
| 16274 |
if (sizeof((unsigned char )*r) > 1U) { |
|
16298 |
if (sizeof((unsigned char )*r) > 1U) { |
| 16275 |
__res = toupper((int )((unsigned char )*r)); |
|
16299 |
__res = toupper((int )((unsigned char )*r)); |
| 16276 |
} else { |
|
16300 |
} else { |
| 16277 |
tmp___0 = __ctype_toupper_loc(); |
|
16301 |
tmp___0 = __ctype_toupper_loc(); |
| 16278 |
__res = (int )*(*tmp___0 + (int )((unsigned char )*r)); |
|
16302 |
__res = (int )*(*tmp___0 + (int )((unsigned char )*r)); |
| 16279 |
} |
|
16303 |
} |
| 16280 |
*r = (char )__res; |
|
16304 |
*r = (char )__res; |
| 16281 |
return; |
|
16305 |
return; |
| 16282 |
} |
|
16306 |
} |
| 16283 |
} |
|
16307 |
} |
| 16284 |
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , |
|
16308 |
void zif_ucfirst(int ht , zval *return_value , zval **return_value_ptr , |
| 16285 |
zval *this_ptr , int return_value_used ) |
|
16309 |
zval *this_ptr , int return_value_used ) |
| 16286 |
{ |
|
16310 |
{ |
| 16287 |
char *str ; |
|
16311 |
char *str ; |
| 16288 |
int str_len ; |
|
16312 |
int str_len ; |
| 16289 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16313 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16290 |
zval *__z ; |
|
16314 |
zval *__z ; |
| 16291 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16315 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16292 |
char const *__s ; |
|
16316 |
char const *__s ; |
| 16293 |
int __l ; |
|
16317 |
int __l ; |
| 16294 |
zval *__z___0 ; |
|
16318 |
zval *__z___0 ; |
| 16295 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
16319 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 16296 |
|
|
16320 |
|
| 16297 |
{ |
|
16321 |
{ |
| 16298 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
16322 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 16299 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16323 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16300 |
return; |
|
16324 |
return; |
| 16301 |
} else { |
|
16325 |
} else { |
| 16302 |
|
|
16326 |
|
| 16303 |
} |
|
16327 |
} |
| 16304 |
if (! str_len) { |
|
16328 |
if (! str_len) { |
| 16305 |
while (1) { |
|
16329 |
while (1) { |
| 16306 |
__z = return_value; |
|
16330 |
__z = return_value; |
| 16307 |
__z->value.str.len = 0; |
|
16331 |
__z->value.str.len = 0; |
| 16308 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
16332 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 16309 |
__z->value.str.val = (char *)tmp___0; |
|
16333 |
__z->value.str.val = (char *)tmp___0; |
| 16310 |
__z->type = (zend_uchar )6; |
|
16334 |
__z->type = (zend_uchar )6; |
| 16311 |
break; |
|
16335 |
break; |
| 16312 |
} |
|
16336 |
} |
| 16313 |
return; |
|
16337 |
return; |
| 16314 |
} else { |
|
16338 |
} else { |
| 16315 |
|
|
16339 |
|
| 16316 |
} |
|
16340 |
} |
| 16317 |
while (1) { |
|
16341 |
while (1) { |
| 16318 |
__s = (char const *)str; |
|
16342 |
__s = (char const *)str; |
| 16319 |
__l = str_len; |
|
16343 |
__l = str_len; |
| 16320 |
__z___0 = return_value; |
|
16344 |
__z___0 = return_value; |
| 16321 |
__z___0->value.str.len = __l; |
|
16345 |
__z___0->value.str.len = __l; |
| 16322 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
16346 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 16323 |
__z___0->value.str.val = (char *)tmp___1; |
|
16347 |
__z___0->value.str.val = (char *)tmp___1; |
| 16324 |
__z___0->type = (zend_uchar )6; |
|
16348 |
__z___0->type = (zend_uchar )6; |
| 16325 |
break; |
|
16349 |
break; |
| 16326 |
} |
|
16350 |
} |
| 16327 |
php_ucfirst(return_value->value.str.val); |
|
16351 |
php_ucfirst(return_value->value.str.val); |
| 16328 |
return; |
|
16352 |
return; |
| 16329 |
} |
|
16353 |
} |
| 16330 |
} |
|
16354 |
} |
| 16331 |
static void php_lcfirst(char *str ) |
|
16355 |
static void php_lcfirst(char *str ) |
| 16332 |
{ |
|
16356 |
{ |
| 16333 |
register char *r ; |
|
16357 |
register char *r ; |
| 16334 |
int __res ; |
|
16358 |
int __res ; |
| 16335 |
int __c ; |
|
16359 |
int __c ; |
| 16336 |
__int32_t const **tmp ; |
|
16360 |
__int32_t const **tmp ; |
| 16337 |
__int32_t const **tmp___0 ; |
|
16361 |
__int32_t const **tmp___0 ; |
| 16338 |
|
|
16362 |
|
| 16339 |
{ |
|
16363 |
{ |
| 16340 |
r = str; |
|
16364 |
r = str; |
| 16341 |
if (sizeof((unsigned char )*r) > 1U) { |
|
16365 |
if (sizeof((unsigned char )*r) > 1U) { |
| 16342 |
__res = tolower((int )((unsigned char )*r)); |
|
16366 |
__res = tolower((int )((unsigned char )*r)); |
| 16343 |
} else { |
|
16367 |
} else { |
| 16344 |
tmp___0 = __ctype_tolower_loc(); |
|
16368 |
tmp___0 = __ctype_tolower_loc(); |
| 16345 |
__res = (int )*(*tmp___0 + (int )((unsigned char )*r)); |
|
16369 |
__res = (int )*(*tmp___0 + (int )((unsigned char )*r)); |
| 16346 |
} |
|
16370 |
} |
| 16347 |
*r = (char )__res; |
|
16371 |
*r = (char )__res; |
| 16348 |
return; |
|
16372 |
return; |
| 16349 |
} |
|
16373 |
} |
| 16350 |
} |
|
16374 |
} |
| 16351 |
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , |
|
16375 |
void zif_lcfirst(int ht , zval *return_value , zval **return_value_ptr , |
| 16352 |
zval *this_ptr , int return_value_used ) |
|
16376 |
zval *this_ptr , int return_value_used ) |
| 16353 |
{ |
|
16377 |
{ |
| 16354 |
char *str ; |
|
16378 |
char *str ; |
| 16355 |
int str_len ; |
|
16379 |
int str_len ; |
| 16356 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16380 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16357 |
zval *__z ; |
|
16381 |
zval *__z ; |
| 16358 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16382 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16359 |
char const *__s ; |
|
16383 |
char const *__s ; |
| 16360 |
int __l ; |
|
16384 |
int __l ; |
| 16361 |
zval *__z___0 ; |
|
16385 |
zval *__z___0 ; |
| 16362 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
16386 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 16363 |
|
|
16387 |
|
| 16364 |
{ |
|
16388 |
{ |
| 16365 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
16389 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 16366 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16390 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16367 |
return; |
|
16391 |
return; |
| 16368 |
} else { |
|
16392 |
} else { |
| 16369 |
|
|
16393 |
|
| 16370 |
} |
|
16394 |
} |
| 16371 |
if (! str_len) { |
|
16395 |
if (! str_len) { |
| 16372 |
while (1) { |
|
16396 |
while (1) { |
| 16373 |
__z = return_value; |
|
16397 |
__z = return_value; |
| 16374 |
__z->value.str.len = 0; |
|
16398 |
__z->value.str.len = 0; |
| 16375 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
16399 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 16376 |
__z->value.str.val = (char *)tmp___0; |
|
16400 |
__z->value.str.val = (char *)tmp___0; |
| 16377 |
__z->type = (zend_uchar )6; |
|
16401 |
__z->type = (zend_uchar )6; |
| 16378 |
break; |
|
16402 |
break; |
| 16379 |
} |
|
16403 |
} |
| 16380 |
return; |
|
16404 |
return; |
| 16381 |
} else { |
|
16405 |
} else { |
| 16382 |
|
|
16406 |
|
| 16383 |
} |
|
16407 |
} |
| 16384 |
while (1) { |
|
16408 |
while (1) { |
| 16385 |
__s = (char const *)str; |
|
16409 |
__s = (char const *)str; |
| 16386 |
__l = str_len; |
|
16410 |
__l = str_len; |
| 16387 |
__z___0 = return_value; |
|
16411 |
__z___0 = return_value; |
| 16388 |
__z___0->value.str.len = __l; |
|
16412 |
__z___0->value.str.len = __l; |
| 16389 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
16413 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 16390 |
__z___0->value.str.val = (char *)tmp___1; |
|
16414 |
__z___0->value.str.val = (char *)tmp___1; |
| 16391 |
__z___0->type = (zend_uchar )6; |
|
16415 |
__z___0->type = (zend_uchar )6; |
| 16392 |
break; |
|
16416 |
break; |
| 16393 |
} |
|
16417 |
} |
| 16394 |
php_lcfirst(return_value->value.str.val); |
|
16418 |
php_lcfirst(return_value->value.str.val); |
| 16395 |
return; |
|
16419 |
return; |
| 16396 |
} |
|
16420 |
} |
| 16397 |
} |
|
16421 |
} |
| 16398 |
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , |
|
16422 |
void zif_ucwords(int ht , zval *return_value , zval **return_value_ptr , |
| 16399 |
zval *this_ptr , int return_value_used ) |
|
16423 |
zval *this_ptr , int return_value_used ) |
| 16400 |
{ |
|
16424 |
{ |
| 16401 |
char *str ; |
|
16425 |
char *str ; |
| 16402 |
register char *r ; |
|
16426 |
register char *r ; |
| 16403 |
register char *r_end ; |
|
16427 |
register char *r_end ; |
| 16404 |
int str_len ; |
|
16428 |
int str_len ; |
| 16405 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16429 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16406 |
zval *__z ; |
|
16430 |
zval *__z ; |
| 16407 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16431 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16408 |
char const *__s ; |
|
16432 |
char const *__s ; |
| 16409 |
int __l ; |
|
16433 |
int __l ; |
| 16410 |
zval *__z___0 ; |
|
16434 |
zval *__z___0 ; |
| 16411 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
16435 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 16412 |
int __res ; |
|
16436 |
int __res ; |
| 16413 |
int __c ; |
|
16437 |
int __c ; |
| 16414 |
__int32_t const **tmp___2 ; |
|
16438 |
__int32_t const **tmp___2 ; |
| 16415 |
__int32_t const **tmp___3 ; |
|
16439 |
__int32_t const **tmp___3 ; |
| 16416 |
int __res___0 ; |
|
16440 |
int __res___0 ; |
| 16417 |
int __c___0 ; |
|
16441 |
int __c___0 ; |
| 16418 |
__int32_t const **tmp___4 ; |
|
16442 |
__int32_t const **tmp___4 ; |
| 16419 |
__int32_t const **tmp___5 ; |
|
16443 |
__int32_t const **tmp___5 ; |
| 16420 |
unsigned short const **tmp___6 ; |
|
16444 |
unsigned short const **tmp___6 ; |
| 16421 |
char *tmp___7 ; |
|
16445 |
char *tmp___7 ; |
| 16422 |
|
|
16446 |
|
| 16423 |
{ |
|
16447 |
{ |
| 16424 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
16448 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 16425 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16449 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16426 |
return; |
|
16450 |
return; |
| 16427 |
} else { |
|
16451 |
} else { |
| 16428 |
|
|
16452 |
|
| 16429 |
} |
|
16453 |
} |
| 16430 |
if (! str_len) { |
|
16454 |
if (! str_len) { |
| 16431 |
while (1) { |
|
16455 |
while (1) { |
| 16432 |
__z = return_value; |
|
16456 |
__z = return_value; |
| 16433 |
__z->value.str.len = 0; |
|
16457 |
__z->value.str.len = 0; |
| 16434 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
16458 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 16435 |
__z->value.str.val = (char *)tmp___0; |
|
16459 |
__z->value.str.val = (char *)tmp___0; |
| 16436 |
__z->type = (zend_uchar )6; |
|
16460 |
__z->type = (zend_uchar )6; |
| 16437 |
break; |
|
16461 |
break; |
| 16438 |
} |
|
16462 |
} |
| 16439 |
return; |
|
16463 |
return; |
| 16440 |
} else { |
|
16464 |
} else { |
| 16441 |
|
|
16465 |
|
| 16442 |
} |
|
16466 |
} |
| 16443 |
while (1) { |
|
16467 |
while (1) { |
| 16444 |
__s = (char const *)str; |
|
16468 |
__s = (char const *)str; |
| 16445 |
__l = str_len; |
|
16469 |
__l = str_len; |
| 16446 |
__z___0 = return_value; |
|
16470 |
__z___0 = return_value; |
| 16447 |
__z___0->value.str.len = __l; |
|
16471 |
__z___0->value.str.len = __l; |
| 16448 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
16472 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 16449 |
__z___0->value.str.val = (char *)tmp___1; |
|
16473 |
__z___0->value.str.val = (char *)tmp___1; |
| 16450 |
__z___0->type = (zend_uchar )6; |
|
16474 |
__z___0->type = (zend_uchar )6; |
| 16451 |
break; |
|
16475 |
break; |
| 16452 |
} |
|
16476 |
} |
| 16453 |
r = return_value->value.str.val; |
|
16477 |
r = return_value->value.str.val; |
| 16454 |
if (sizeof((unsigned char )*r) > 1U) { |
|
16478 |
if (sizeof((unsigned char )*r) > 1U) { |
| 16455 |
__res = toupper((int )((unsigned char )*r)); |
|
16479 |
__res = toupper((int )((unsigned char )*r)); |
| 16456 |
} else { |
|
16480 |
} else { |
| 16457 |
tmp___3 = __ctype_toupper_loc(); |
|
16481 |
tmp___3 = __ctype_toupper_loc(); |
| 16458 |
__res = (int )*(*tmp___3 + (int )((unsigned char )*r)); |
|
16482 |
__res = (int )*(*tmp___3 + (int )((unsigned char )*r)); |
| 16459 |
} |
|
16483 |
} |
| 16460 |
*r = (char )__res; |
|
16484 |
*r = (char )__res; |
| 16461 |
r_end = (r + return_value->value.str.len) - 1; |
|
16485 |
r_end = (r + return_value->value.str.len) - 1; |
| 16462 |
while ((unsigned int )r < (unsigned int )r_end) { |
|
16486 |
while ((unsigned int )r < (unsigned int )r_end) { |
| 16463 |
tmp___6 = __ctype_b_loc(); |
|
16487 |
tmp___6 = __ctype_b_loc(); |
| 16464 |
tmp___7 = r; |
|
16488 |
tmp___7 = r; |
| 16465 |
r ++; |
|
16489 |
r ++; |
| 16466 |
if ((int const )*(*tmp___6 + (int )*((unsigned char *)tmp___7)) & 8192) { |
|
16490 |
if ((int const )*(*tmp___6 + (int )*((unsigned char *)tmp___7)) & 8192) { |
| 16467 |
if (sizeof((unsigned char )*r) > 1U) { |
|
16491 |
if (sizeof((unsigned char )*r) > 1U) { |
| 16468 |
__res___0 = toupper((int )((unsigned char )*r)); |
|
16492 |
__res___0 = toupper((int )((unsigned char )*r)); |
| 16469 |
} else { |
|
16493 |
} else { |
| 16470 |
tmp___5 = __ctype_toupper_loc(); |
|
16494 |
tmp___5 = __ctype_toupper_loc(); |
| 16471 |
__res___0 = (int )*(*tmp___5 + (int )((unsigned char )*r)); |
|
16495 |
__res___0 = (int )*(*tmp___5 + (int )((unsigned char )*r)); |
| 16472 |
} |
|
16496 |
} |
| 16473 |
*r = (char )__res___0; |
|
16497 |
*r = (char )__res___0; |
| 16474 |
} else { |
|
16498 |
} else { |
| 16475 |
|
|
16499 |
|
| 16476 |
} |
|
16500 |
} |
| 16477 |
} |
|
16501 |
} |
| 16478 |
return; |
|
16502 |
return; |
| 16479 |
} |
|
16503 |
} |
| 16480 |
} |
|
16504 |
} |
| 16481 |
char __attribute__((__visibility__("default"))) *php_strtr(char *str , |
|
16505 |
char __attribute__((__visibility__("default"))) *php_strtr(char *str , |
| 16482 |
int len , |
|
16506 |
int len , |
| 16483 |
char *str_from , |
|
16507 |
char *str_from , |
| 16484 |
char *str_to , |
|
16508 |
char *str_to , |
| 16485 |
int trlen ) |
|
16509 |
int trlen ) |
| 16486 |
{ |
|
16510 |
{ |
| 16487 |
int i ; |
|
16511 |
int i ; |
| 16488 |
unsigned char xlat[256] ; |
|
16512 |
unsigned char xlat[256] ; |
| 16489 |
|
|
16513 |
|
| 16490 |
{ |
|
16514 |
{ |
| 16491 |
if (trlen < 1) { |
|
16515 |
if (trlen < 1) { |
| 16492 |
return ((char __attribute__((__visibility__("default"))) *)str); |
|
16516 |
return ((char __attribute__((__visibility__("default"))) *)str); |
| 16493 |
} else |
|
16517 |
} else |
| 16494 |
if (len < 1) { |
|
16518 |
if (len < 1) { |
| 16495 |
return ((char __attribute__((__visibility__("default"))) *)str); |
|
16519 |
return ((char __attribute__((__visibility__("default"))) *)str); |
| 16496 |
} else { |
|
16520 |
} else { |
| 16497 |
|
|
16521 |
|
| 16498 |
} |
|
16522 |
} |
| 16499 |
i = 0; |
|
16523 |
i = 0; |
| 16500 |
while (i < 256) { |
|
16524 |
while (i < 256) { |
| 16501 |
xlat[i] = (unsigned char )i; |
|
16525 |
xlat[i] = (unsigned char )i; |
| 16502 |
i ++; |
|
16526 |
i ++; |
| 16503 |
} |
|
16527 |
} |
| 16504 |
i = 0; |
|
16528 |
i = 0; |
| 16505 |
while (i < trlen) { |
|
16529 |
while (i < trlen) { |
| 16506 |
xlat[(unsigned char )*(str_from + i)] = (unsigned char )*(str_to + i); |
|
16530 |
xlat[(unsigned char )*(str_from + i)] = (unsigned char )*(str_to + i); |
| 16507 |
i ++; |
|
16531 |
i ++; |
| 16508 |
} |
|
16532 |
} |
| 16509 |
i = 0; |
|
16533 |
i = 0; |
| 16510 |
while (i < len) { |
|
16534 |
while (i < len) { |
| 16511 |
*(str + i) = (char )xlat[(unsigned char )*(str + i)]; |
|
16535 |
*(str + i) = (char )xlat[(unsigned char )*(str + i)]; |
| 16512 |
i ++; |
|
16536 |
i ++; |
| 16513 |
} |
|
16537 |
} |
| 16514 |
return ((char __attribute__((__visibility__("default"))) *)str); |
|
16538 |
return ((char __attribute__((__visibility__("default"))) *)str); |
| 16515 |
} |
|
16539 |
} |
| 16516 |
} |
|
16540 |
} |
| 16517 |
static void php_strtr_array(zval *return_value , char *str , int slen , |
|
16541 |
static void php_strtr_array(zval *return_value , char *str , int slen , |
| 16518 |
HashTable *hash ) |
|
16542 |
HashTable *hash ) |
| 16519 |
{ |
|
16543 |
{ |
| 16520 |
zval **entry ; |
|
16544 |
zval **entry ; |
| 16521 |
char *string_key ; |
|
16545 |
char *string_key ; |
| 16522 |
uint string_key_len ; |
|
16546 |
uint string_key_len ; |
| 16523 |
zval **trans ; |
|
16547 |
zval **trans ; |
| 16524 |
zval ctmp ; |
|
16548 |
zval ctmp ; |
| 16525 |
ulong num_key ; |
|
16549 |
ulong num_key ; |
| 16526 |
int minlen ; |
|
16550 |
int minlen ; |
| 16527 |
int maxlen ; |
|
16551 |
int maxlen ; |
| 16528 |
int pos ; |
|
16552 |
int pos ; |
| 16529 |
int len ; |
|
16553 |
int len ; |
| 16530 |
int found ; |
|
16554 |
int found ; |
| 16531 |
char *key ; |
|
16555 |
char *key ; |
| 16532 |
HashPosition hpos ; |
|
16556 |
HashPosition hpos ; |
| 16533 |
smart_str result ; |
|
16557 |
smart_str result ; |
| 16534 |
HashTable tmp_hash ; |
|
16558 |
HashTable tmp_hash ; |
| 16535 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16559 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16536 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
16560 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 16537 |
zval *__z ; |
|
16561 |
zval *__z ; |
| 16538 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
|
16562 |
int __attribute__((__visibility__("default"))) tmp___1 ; |
| 16539 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
|
16563 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
| 16540 |
char *tval ; |
|
16564 |
char *tval ; |
| 16541 |
int tlen ; |
|
16565 |
int tlen ; |
| 16542 |
zval tmp___3 ; |
|
16566 |
zval tmp___3 ; |
| 16543 |
register size_t __nl ; |
|
16567 |
register size_t __nl ; |
| 16544 |
smart_str *__dest ; |
|
16568 |
smart_str *__dest ; |
| 16545 |
void *tmp___4 ; |
|
16569 |
void *tmp___4 ; |
| 16546 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
|
16570 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
| 16547 |
void *tmp___6 ; |
|
16571 |
void *tmp___6 ; |
| 16548 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
|
16572 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
| 16549 |
int __attribute__((__visibility__("default"))) tmp___8 ; |
|
16573 |
int __attribute__((__visibility__("default"))) tmp___8 ; |
| 16550 |
register size_t __nl___0 ; |
|
16574 |
register size_t __nl___0 ; |
| 16551 |
void *tmp___9 ; |
|
16575 |
void *tmp___9 ; |
| 16552 |
void __attribute__((__visibility__("default"))) *tmp___10 ; |
|
16576 |
void __attribute__((__visibility__("default"))) *tmp___10 ; |
| 16553 |
void *tmp___11 ; |
|
16577 |
void *tmp___11 ; |
| 16554 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
|
16578 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
| 16555 |
int tmp___13 ; |
|
16579 |
int tmp___13 ; |
| 16556 |
char const *__s ; |
|
16580 |
char const *__s ; |
| 16557 |
int __l ; |
|
16581 |
int __l ; |
| 16558 |
zval *__z___0 ; |
|
16582 |
zval *__z___0 ; |
| 16559 |
char __attribute__((__visibility__("default"))) *tmp___14 ; |
|
16583 |
char __attribute__((__visibility__("default"))) *tmp___14 ; |
| 16560 |
|
|
16584 |
|
| 16561 |
{ |
|
16585 |
{ |
| 16562 |
minlen = 131072; |
|
16586 |
minlen = 131072; |
| 16563 |
maxlen = 0; |
|
16587 |
maxlen = 0; |
| 16564 |
result.c = (char *)0; |
|
16588 |
result.c = (char *)0; |
| 16565 |
result.len = 0U; |
|
16589 |
result.len = 0U; |
| 16566 |
result.a = 0U; |
|
16590 |
result.a = 0U; |
| 16567 |
tmp = zend_hash_num_elements((HashTable const *)hash); |
|
16591 |
tmp = zend_hash_num_elements((HashTable const *)hash); |
| 16568 |
_zend_hash_init(& tmp_hash, (uint )tmp, |
|
16592 |
_zend_hash_init(& tmp_hash, (uint )tmp, |
| 16569 |
(ulong (*)(char const *arKey , uint nKeyLength ))((void *)0), |
|
16593 |
(ulong (*)(char const *arKey , uint nKeyLength ))((void *)0), |
| 16570 |
(void (*)(void *pDest ))((void *)0), (zend_bool )0); |
|
16594 |
(void (*)(void *pDest ))((void *)0), (zend_bool )0); |
| 16571 |
zend_hash_internal_pointer_reset_ex(hash, & hpos); |
|
16595 |
zend_hash_internal_pointer_reset_ex(hash, & hpos); |
| 16572 |
while (1) { |
|
16596 |
while (1) { |
| 16573 |
tmp___1 = zend_hash_get_current_data_ex(hash, (void **)(& entry), & hpos); |
|
16597 |
tmp___1 = zend_hash_get_current_data_ex(hash, (void **)(& entry), & hpos); |
| 16574 |
if (tmp___1 == (int __attribute__((__visibility__("default"))) )0) { |
|
16598 |
if (tmp___1 == (int __attribute__((__visibility__("default"))) )0) { |
| 16575 |
|
|
16599 |
|
| 16576 |
} else { |
|
16600 |
} else { |
| 16577 |
break; |
|
16601 |
break; |
| 16578 |
} |
|
16602 |
} |
| 16579 |
tmp___0 = zend_hash_get_current_key_ex((HashTable const *)hash, |
|
16603 |
tmp___0 = zend_hash_get_current_key_ex((HashTable const *)hash, |
| 16580 |
& string_key, & string_key_len, |
|
16604 |
& string_key, & string_key_len, |
| 16581 |
& num_key, (zend_bool )0, & hpos); |
|
16605 |
& num_key, (zend_bool )0, & hpos); |
| 16582 |
switch (tmp___0) { |
|
16606 |
switch (tmp___0) { |
| 16583 |
case (int __attribute__((__visibility__("default"))) )1: |
|
16607 |
case (int __attribute__((__visibility__("default"))) )1: |
| 16584 |
len = (int )(string_key_len - 1U); |
|
16608 |
len = (int )(string_key_len - 1U); |
| 16585 |
if (len < 1) { |
|
16609 |
if (len < 1) { |
| 16586 |
zend_hash_destroy(& tmp_hash); |
|
16610 |
zend_hash_destroy(& tmp_hash); |
| 16587 |
while (1) { |
|
16611 |
while (1) { |
| 16588 |
__z = return_value; |
|
16612 |
__z = return_value; |
| 16589 |
__z->value.lval = 0L; |
|
16613 |
__z->value.lval = 0L; |
| 16590 |
__z->type = (zend_uchar )3; |
|
16614 |
__z->type = (zend_uchar )3; |
| 16591 |
break; |
|
16615 |
break; |
| 16592 |
} |
|
16616 |
} |
| 16593 |
return; |
|
16617 |
return; |
| 16594 |
} else { |
|
16618 |
} else { |
| 16595 |
|
|
16619 |
|
| 16596 |
} |
|
16620 |
} |
| 16597 |
_zend_hash_add_or_update(& tmp_hash, (char const *)string_key, |
|
16621 |
_zend_hash_add_or_update(& tmp_hash, (char const *)string_key, |
| 16598 |
string_key_len, (void *)entry, sizeof(zval *), |
|
16622 |
string_key_len, (void *)entry, sizeof(zval *), |
| 16599 |
(void **)((void *)0), 1 << 1); |
|
16623 |
(void **)((void *)0), 1 << 1); |
| 16600 |
if (len > maxlen) { |
|
16624 |
if (len > maxlen) { |
| 16601 |
maxlen = len; |
|
16625 |
maxlen = len; |
| 16602 |
} else { |
|
16626 |
} else { |
| 16603 |
|
|
16627 |
|
| 16604 |
} |
|
16628 |
} |
| 16605 |
if (len < minlen) { |
|
16629 |
if (len < minlen) { |
| 16606 |
minlen = len; |
|
16630 |
minlen = len; |
| 16607 |
} else { |
|
16631 |
} else { |
| 16608 |
|
|
16632 |
|
| 16609 |
} |
|
16633 |
} |
| 16610 |
break; |
|
16634 |
break; |
| 16611 |
case (int __attribute__((__visibility__("default"))) )2: |
|
16635 |
case (int __attribute__((__visibility__("default"))) )2: |
| 16612 |
ctmp.type = (zend_uchar )1; |
|
16636 |
ctmp.type = (zend_uchar )1; |
| 16613 |
ctmp.value.lval = (long )num_key; |
|
16637 |
ctmp.value.lval = (long )num_key; |
| 16614 |
if ((int )ctmp.type != 6) { |
|
16638 |
if ((int )ctmp.type != 6) { |
| 16615 |
_convert_to_string(& ctmp); |
|
16639 |
_convert_to_string(& ctmp); |
| 16616 |
} else { |
|
16640 |
} else { |
| 16617 |
|
|
16641 |
|
| 16618 |
} |
|
16642 |
} |
| 16619 |
len = ctmp.value.str.len; |
|
16643 |
len = ctmp.value.str.len; |
| 16620 |
_zend_hash_add_or_update(& tmp_hash, (char const *)ctmp.value.str.val, |
|
16644 |
_zend_hash_add_or_update(& tmp_hash, (char const *)ctmp.value.str.val, |
| 16621 |
(uint )(len + 1), (void *)entry, sizeof(zval *), |
|
16645 |
(uint )(len + 1), (void *)entry, sizeof(zval *), |
| 16622 |
(void **)((void *)0), 1 << 1); |
|
16646 |
(void **)((void *)0), 1 << 1); |
| 16623 |
_zval_dtor(& ctmp); |
|
16647 |
_zval_dtor(& ctmp); |
| 16624 |
if (len > maxlen) { |
|
16648 |
if (len > maxlen) { |
| 16625 |
maxlen = len; |
|
16649 |
maxlen = len; |
| 16626 |
} else { |
|
16650 |
} else { |
| 16627 |
|
|
16651 |
|
| 16628 |
} |
|
16652 |
} |
| 16629 |
if (len < minlen) { |
|
16653 |
if (len < minlen) { |
| 16630 |
minlen = len; |
|
16654 |
minlen = len; |
| 16631 |
} else { |
|
16655 |
} else { |
| 16632 |
|
|
16656 |
|
| 16633 |
} |
|
16657 |
} |
| 16634 |
break; |
|
16658 |
break; |
| 16635 |
} |
|
16659 |
} |
| 16636 |
zend_hash_move_forward_ex(hash, & hpos); |
|
16660 |
zend_hash_move_forward_ex(hash, & hpos); |
| 16637 |
} |
|
16661 |
} |
| 16638 |
tmp___2 = _emalloc((size_t )(maxlen + 1)); |
|
16662 |
tmp___2 = _emalloc((size_t )(maxlen + 1)); |
| 16639 |
key = (char *)tmp___2; |
|
16663 |
key = (char *)tmp___2; |
| 16640 |
pos = 0; |
|
16664 |
pos = 0; |
| 16641 |
while (pos < slen) { |
|
16665 |
while (pos < slen) { |
| 16642 |
if (pos + maxlen > slen) { |
|
16666 |
if (pos + maxlen > slen) { |
| 16643 |
maxlen = slen - pos; |
|
16667 |
maxlen = slen - pos; |
| 16644 |
} else { |
|
16668 |
} else { |
| 16645 |
|
|
16669 |
|
| 16646 |
} |
|
16670 |
} |
| 16647 |
found = 0; |
|
16671 |
found = 0; |
| 16648 |
memcpy((void *)key, |
|
16672 |
memcpy((void *)key, |
| 16649 |
(void const *)(str + pos), (size_t )maxlen); |
|
16673 |
(void const *)(str + pos), (size_t )maxlen); |
| 16650 |
len = maxlen; |
|
16674 |
len = maxlen; |
| 16651 |
while (len >= minlen) { |
|
16675 |
while (len >= minlen) { |
| 16652 |
*(key + len) = (char)0; |
|
16676 |
*(key + len) = (char)0; |
| 16653 |
tmp___8 = zend_hash_find((HashTable const *)(& tmp_hash), |
|
16677 |
tmp___8 = zend_hash_find((HashTable const *)(& tmp_hash), |
| 16654 |
(char const *)key, (uint )(len + 1), |
|
16678 |
(char const *)key, (uint )(len + 1), |
| 16655 |
(void **)(& trans)); |
|
16679 |
(void **)(& trans)); |
| 16656 |
if (tmp___8 == (int __attribute__((__visibility__("default"))) )0) { |
|
16680 |
if (tmp___8 == (int __attribute__((__visibility__("default"))) )0) { |
| 16657 |
if ((int )(*trans)->type != 6) { |
|
16681 |
if ((int )(*trans)->type != 6) { |
| 16658 |
tmp___3 = *(*trans); |
|
16682 |
tmp___3 = *(*trans); |
| 16659 |
_zval_copy_ctor(& tmp___3); |
|
16683 |
_zval_copy_ctor(& tmp___3); |
| 16660 |
if ((int )tmp___3.type != 6) { |
|
16684 |
if ((int )tmp___3.type != 6) { |
| 16661 |
_convert_to_string(& tmp___3); |
|
16685 |
_convert_to_string(& tmp___3); |
| 16662 |
} else { |
|
16686 |
} else { |
| 16663 |
|
|
16687 |
|
| 16664 |
} |
|
16688 |
} |
| 16665 |
tval = tmp___3.value.str.val; |
|
16689 |
tval = tmp___3.value.str.val; |
| 16666 |
tlen = tmp___3.value.str.len; |
|
16690 |
tlen = tmp___3.value.str.len; |
| 16667 |
} else { |
|
16691 |
} else { |
| 16668 |
tval = (*trans)->value.str.val; |
|
16692 |
tval = (*trans)->value.str.val; |
| 16669 |
tlen = (*trans)->value.str.len; |
|
16693 |
tlen = (*trans)->value.str.len; |
| 16670 |
} |
|
16694 |
} |
| 16671 |
while (1) { |
|
16695 |
while (1) { |
| 16672 |
__dest = & result; |
|
16696 |
__dest = & result; |
| 16673 |
while (1) { |
|
16697 |
while (1) { |
| 16674 |
if (! __dest->c) { |
|
16698 |
if (! __dest->c) { |
| 16675 |
__dest->len = (size_t )0; |
|
16699 |
__dest->len = (size_t )0; |
| 16676 |
__nl = (size_t )tlen; |
|
16700 |
__nl = (size_t )tlen; |
| 16677 |
if (__nl < 78U) { |
|
16701 |
if (__nl < 78U) { |
| 16678 |
__dest->a = (size_t )78; |
|
16702 |
__dest->a = (size_t )78; |
| 16679 |
} else { |
|
16703 |
} else { |
| 16680 |
__dest->a = __nl + 128U; |
|
16704 |
__dest->a = __nl + 128U; |
| 16681 |
} |
|
16705 |
} |
| 16682 |
tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
|
16706 |
tmp___5 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
| 16683 |
__dest->c = (char *)((void *)tmp___5); |
|
16707 |
__dest->c = (char *)((void *)tmp___5); |
| 16684 |
} else { |
|
16708 |
} else { |
| 16685 |
__nl = __dest->len + (size_t )tlen; |
|
16709 |
__nl = __dest->len + (size_t )tlen; |
| 16686 |
if (__nl >= __dest->a) { |
|
16710 |
if (__nl >= __dest->a) { |
| 16687 |
__dest->a = __nl + 128U; |
|
16711 |
__dest->a = __nl + 128U; |
| 16688 |
tmp___7 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
|
16712 |
tmp___7 = _erealloc((void *)__dest->c, __dest->a + 1U, 0); |
| 16689 |
__dest->c = (char *)((void *)tmp___7); |
|
16713 |
__dest->c = (char *)((void *)tmp___7); |
| 16690 |
} else { |
|
16714 |
} else { |
| 16691 |
|
|
16715 |
|
| 16692 |
} |
|
16716 |
} |
| 16693 |
} |
|
16717 |
} |
| 16694 |
break; |
|
16718 |
break; |
| 16695 |
} |
|
16719 |
} |
| 16696 |
memcpy((void *)(__dest->c + __dest->len), |
|
16720 |
memcpy((void *)(__dest->c + __dest->len), |
| 16697 |
(void const *)tval, (size_t )tlen); |
|
16721 |
(void const *)tval, (size_t )tlen); |
| 16698 |
__dest->len = __nl; |
|
16722 |
__dest->len = __nl; |
| 16699 |
break; |
|
16723 |
break; |
| 16700 |
} |
|
16724 |
} |
| 16701 |
pos += len; |
|
16725 |
pos += len; |
| 16702 |
found = 1; |
|
16726 |
found = 1; |
| 16703 |
if ((int )(*trans)->type != 6) { |
|
16727 |
if ((int )(*trans)->type != 6) { |
| 16704 |
_zval_dtor(& tmp___3); |
|
16728 |
_zval_dtor(& tmp___3); |
| 16705 |
} else { |
|
16729 |
} else { |
| 16706 |
|
|
16730 |
|
| 16707 |
} |
|
16731 |
} |
| 16708 |
break; |
|
16732 |
break; |
| 16709 |
} else { |
|
16733 |
} else { |
| 16710 |
|
|
16734 |
|
| 16711 |
} |
|
16735 |
} |
| 16712 |
len --; |
|
16736 |
len --; |
| 16713 |
} |
|
16737 |
} |
| 16714 |
if (! found) { |
|
16738 |
if (! found) { |
| 16715 |
while (1) { |
|
16739 |
while (1) { |
| 16716 |
while (1) { |
|
16740 |
while (1) { |
| 16717 |
if (! result.c) { |
|
16741 |
if (! result.c) { |
| 16718 |
result.len = (size_t )0; |
|
16742 |
result.len = (size_t )0; |
| 16719 |
__nl___0 = (size_t )1; |
|
16743 |
__nl___0 = (size_t )1; |
| 16720 |
if (__nl___0 < 78U) { |
|
16744 |
if (__nl___0 < 78U) { |
| 16721 |
result.a = (size_t )78; |
|
16745 |
result.a = (size_t )78; |
| 16722 |
} else { |
|
16746 |
} else { |
| 16723 |
result.a = __nl___0 + 128U; |
|
16747 |
result.a = __nl___0 + 128U; |
| 16724 |
} |
|
16748 |
} |
| 16725 |
tmp___10 = _erealloc((void *)result.c, result.a + 1U, 0); |
|
16749 |
tmp___10 = _erealloc((void *)result.c, result.a + 1U, 0); |
| 16726 |
result.c = (char *)((void *)tmp___10); |
|
16750 |
result.c = (char *)((void *)tmp___10); |
| 16727 |
} else { |
|
16751 |
} else { |
| 16728 |
__nl___0 = result.len + 1U; |
|
16752 |
__nl___0 = result.len + 1U; |
| 16729 |
if (__nl___0 >= result.a) { |
|
16753 |
if (__nl___0 >= result.a) { |
| 16730 |
result.a = __nl___0 + 128U; |
|
16754 |
result.a = __nl___0 + 128U; |
| 16731 |
tmp___12 = _erealloc((void *)result.c, result.a + 1U, 0); |
|
16755 |
tmp___12 = _erealloc((void *)result.c, result.a + 1U, 0); |
| 16732 |
result.c = (char *)((void *)tmp___12); |
|
16756 |
result.c = (char *)((void *)tmp___12); |
| 16733 |
} else { |
|
16757 |
} else { |
| 16734 |
|
|
16758 |
|
| 16735 |
} |
|
16759 |
} |
| 16736 |
} |
|
16760 |
} |
| 16737 |
break; |
|
16761 |
break; |
| 16738 |
} |
|
16762 |
} |
| 16739 |
result.len = __nl___0; |
|
16763 |
result.len = __nl___0; |
| 16740 |
tmp___13 = pos; |
|
16764 |
tmp___13 = pos; |
| 16741 |
pos ++; |
|
16765 |
pos ++; |
| 16742 |
*((unsigned char *)result.c + (result.len - 1U)) = (unsigned char )*(str + tmp___13); |
|
16766 |
*((unsigned char *)result.c + (result.len - 1U)) = (unsigned char )*(str + tmp___13); |
| 16743 |
break; |
|
16767 |
break; |
| 16744 |
} |
|
16768 |
} |
| 16745 |
} else { |
|
16769 |
} else { |
| 16746 |
|
|
16770 |
|
| 16747 |
} |
|
16771 |
} |
| 16748 |
} |
|
16772 |
} |
| 16749 |
_efree((void *)key); |
|
16773 |
_efree((void *)key); |
| 16750 |
zend_hash_destroy(& tmp_hash); |
|
16774 |
zend_hash_destroy(& tmp_hash); |
| 16751 |
while (1) { |
|
16775 |
while (1) { |
| 16752 |
if (result.c) { |
|
16776 |
if (result.c) { |
| 16753 |
*(result.c + result.len) = (char )'\000'; |
|
16777 |
*(result.c + result.len) = (char )'\000'; |
| 16754 |
} else { |
|
16778 |
} else { |
| 16755 |
|
|
16779 |
|
| 16756 |
} |
|
16780 |
} |
| 16757 |
break; |
|
16781 |
break; |
| 16758 |
} |
|
16782 |
} |
| 16759 |
while (1) { |
|
16783 |
while (1) { |
| 16760 |
__s = (char const *)result.c; |
|
16784 |
__s = (char const *)result.c; |
| 16761 |
__l = (int )result.len; |
|
16785 |
__l = (int )result.len; |
| 16762 |
__z___0 = return_value; |
|
16786 |
__z___0 = return_value; |
| 16763 |
__z___0->value.str.len = __l; |
|
16787 |
__z___0->value.str.len = __l; |
| 16764 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
16788 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 16765 |
__z___0->type = (zend_uchar )6; |
|
16789 |
__z___0->type = (zend_uchar )6; |
| 16766 |
break; |
|
16790 |
break; |
| 16767 |
} |
|
16791 |
} |
| 16768 |
return; |
|
16792 |
return; |
| 16769 |
} |
|
16793 |
} |
| 16770 |
} |
|
16794 |
} |
| 16771 |
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , |
|
16795 |
void zif_strtr(int ht , zval *return_value , zval **return_value_ptr , |
| 16772 |
zval *this_ptr , int return_value_used ) |
|
16796 |
zval *this_ptr , int return_value_used ) |
| 16773 |
{ |
|
16797 |
{ |
| 16774 |
zval **from ; |
|
16798 |
zval **from ; |
| 16775 |
char *str ; |
|
16799 |
char *str ; |
| 16776 |
char *to ; |
|
16800 |
char *to ; |
| 16777 |
int str_len ; |
|
16801 |
int str_len ; |
| 16778 |
int to_len ; |
|
16802 |
int to_len ; |
| 16779 |
int ac ; |
|
16803 |
int ac ; |
| 16780 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16804 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16781 |
zval *__z ; |
|
16805 |
zval *__z ; |
| 16782 |
zval *__z___0 ; |
|
16806 |
zval *__z___0 ; |
| 16783 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16807 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16784 |
HashTable *tmp___1 ; |
|
16808 |
HashTable *tmp___1 ; |
| 16785 |
HashTable *tmp___2 ; |
|
16809 |
HashTable *tmp___2 ; |
| 16786 |
HashTable *tmp___3 ; |
|
16810 |
HashTable *tmp___3 ; |
| 16787 |
zval *new_zv ; |
|
16811 |
zval *new_zv ; |
| 16788 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
|
16812 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
| 16789 |
zend_uint tmp___5 ; |
|
16813 |
zend_uint tmp___5 ; |
| 16790 |
zend_bool tmp___6 ; |
|
16814 |
zend_bool tmp___6 ; |
| 16791 |
char const *__s ; |
|
16815 |
char const *__s ; |
| 16792 |
int __l ; |
|
16816 |
int __l ; |
| 16793 |
zval *__z___1 ; |
|
16817 |
zval *__z___1 ; |
| 16794 |
char __attribute__((__visibility__("default"))) *tmp___7 ; |
|
16818 |
char __attribute__((__visibility__("default"))) *tmp___7 ; |
| 16795 |
int tmp___8 ; |
|
16819 |
int tmp___8 ; |
| 16796 |
|
|
16820 |
|
| 16797 |
{ |
|
16821 |
{ |
| 16798 |
to = (char *)((void *)0); |
|
16822 |
to = (char *)((void *)0); |
| 16799 |
to_len = 0; |
|
16823 |
to_len = 0; |
| 16800 |
ac = ht; |
|
16824 |
ac = ht; |
| |
|
-+ |
16825 |
{ |
| 16801 |
tmp = zend_parse_parameters(ht, "sZ|s", & str, & str_len, & from, & to, |
= |
16826 |
tmp = zend_parse_parameters(ht, "sZ|s", & str, & str_len, & from, & to, |
| 16802 |
& to_len); |
|
16827 |
& to_len); |
| |
|
-+ |
16828 |
if (to_len < 0) { |
| |
|
|
16829 |
return; |
| |
|
|
16830 |
} |
| |
|
|
16831 |
if (str_len < 0) { |
| |
|
|
16832 |
return; |
| |
|
|
16833 |
} |
| |
|
|
16834 |
} |
| 16803 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
16835 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16804 |
return; |
|
16836 |
return; |
| 16805 |
} else { |
|
16837 |
} else { |
| 16806 |
|
|
16838 |
|
| 16807 |
} |
|
16839 |
} |
| 16808 |
if (ac == 2) { |
|
16840 |
if (ac == 2) { |
| 16809 |
if ((int )(*from)->type != 4) { |
|
16841 |
if ((int )(*from)->type != 4) { |
| 16810 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
16842 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 16811 |
"The second argument is not an array"); |
|
16843 |
"The second argument is not an array"); |
| 16812 |
while (1) { |
|
16844 |
while (1) { |
| 16813 |
__z = return_value; |
|
16845 |
__z = return_value; |
| 16814 |
__z->value.lval = 0L; |
|
16846 |
__z->value.lval = 0L; |
| 16815 |
__z->type = (zend_uchar )3; |
|
16847 |
__z->type = (zend_uchar )3; |
| 16816 |
break; |
|
16848 |
break; |
| 16817 |
} |
|
16849 |
} |
| 16818 |
return; |
|
16850 |
return; |
| 16819 |
} else { |
|
16851 |
} else { |
| 16820 |
|
|
16852 |
|
| 16821 |
} |
|
16853 |
} |
| 16822 |
} else { |
|
16854 |
} else { |
| 16823 |
|
|
16855 |
|
| 16824 |
} |
|
16856 |
} |
| 16825 |
if (str_len == 0) { |
|
16857 |
if (str_len == 0) { |
| 16826 |
while (1) { |
|
16858 |
while (1) { |
| 16827 |
__z___0 = return_value; |
|
16859 |
__z___0 = return_value; |
| 16828 |
__z___0->value.str.len = 0; |
|
16860 |
__z___0->value.str.len = 0; |
| 16829 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
16861 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 16830 |
__z___0->value.str.val = (char *)tmp___0; |
|
16862 |
__z___0->value.str.val = (char *)tmp___0; |
| 16831 |
__z___0->type = (zend_uchar )6; |
|
16863 |
__z___0->type = (zend_uchar )6; |
| 16832 |
break; |
|
16864 |
break; |
| 16833 |
} |
|
16865 |
} |
| 16834 |
return; |
|
16866 |
return; |
| 16835 |
} else { |
|
16867 |
} else { |
| 16836 |
|
|
16868 |
|
| 16837 |
} |
|
16869 |
} |
| 16838 |
if (ac == 2) { |
|
16870 |
if (ac == 2) { |
| 16839 |
if ((int )(*from)->type == 4) { |
|
16871 |
if ((int )(*from)->type == 4) { |
| 16840 |
tmp___3 = (*from)->value.ht; |
|
16872 |
tmp___3 = (*from)->value.ht; |
| 16841 |
} else { |
|
16873 |
} else { |
| 16842 |
if ((int )(*from)->type == 5) { |
|
16874 |
if ((int )(*from)->type == 5) { |
| 16843 |
tmp___1 = (*(((*from)->value.obj.handlers)->get_properties))(*from); |
|
16875 |
tmp___1 = (*(((*from)->value.obj.handlers)->get_properties))(*from); |
| 16844 |
tmp___2 = tmp___1; |
|
16876 |
tmp___2 = tmp___1; |
| 16845 |
} else { |
|
16877 |
} else { |
| 16846 |
tmp___2 = (HashTable *)((void *)0); |
|
16878 |
tmp___2 = (HashTable *)((void *)0); |
| 16847 |
} |
|
16879 |
} |
| 16848 |
tmp___3 = tmp___2; |
|
16880 |
tmp___3 = tmp___2; |
| 16849 |
} |
|
16881 |
} |
| 16850 |
php_strtr_array(return_value, str, str_len, tmp___3); |
|
16882 |
php_strtr_array(return_value, str, str_len, tmp___3); |
| 16851 |
} else { |
|
16883 |
} else { |
| 16852 |
if ((int )(*from)->type != 6) { |
|
16884 |
if ((int )(*from)->type != 6) { |
| 16853 |
tmp___6 = zval_isref_p(*from); |
|
16885 |
tmp___6 = zval_isref_p(*from); |
| 16854 |
if (tmp___6) { |
|
16886 |
if (tmp___6) { |
| 16855 |
|
|
16887 |
|
| 16856 |
} else { |
|
16888 |
} else { |
| 16857 |
while (1) { |
|
16889 |
while (1) { |
| 16858 |
tmp___5 = zval_refcount_p(*from); |
|
16890 |
tmp___5 = zval_refcount_p(*from); |
| 16859 |
if (tmp___5 > 1U) { |
|
16891 |
if (tmp___5 > 1U) { |
| 16860 |
zval_delref_p(*from); |
|
16892 |
zval_delref_p(*from); |
| 16861 |
while (1) { |
|
16893 |
while (1) { |
| 16862 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
|
16894 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
| 16863 |
new_zv = (zval *)tmp___4; |
|
16895 |
new_zv = (zval *)tmp___4; |
| 16864 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
16896 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 16865 |
break; |
|
16897 |
break; |
| 16866 |
} |
|
16898 |
} |
| 16867 |
while (1) { |
|
16899 |
while (1) { |
| 16868 |
while (1) { |
|
16900 |
while (1) { |
| 16869 |
new_zv->value = (*from)->value; |
|
16901 |
new_zv->value = (*from)->value; |
| 16870 |
new_zv->type = (*from)->type; |
|
16902 |
new_zv->type = (*from)->type; |
| 16871 |
break; |
|
16903 |
break; |
| 16872 |
} |
|
16904 |
} |
| 16873 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
16905 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 16874 |
zval_unset_isref_p(new_zv); |
|
16906 |
zval_unset_isref_p(new_zv); |
| 16875 |
break; |
|
16907 |
break; |
| 16876 |
} |
|
16908 |
} |
| 16877 |
*from = new_zv; |
|
16909 |
*from = new_zv; |
| 16878 |
_zval_copy_ctor(new_zv); |
|
16910 |
_zval_copy_ctor(new_zv); |
| 16879 |
} else { |
|
16911 |
} else { |
| 16880 |
|
|
16912 |
|
| 16881 |
} |
|
16913 |
} |
| 16882 |
break; |
|
16914 |
break; |
| 16883 |
} |
|
16915 |
} |
| 16884 |
} |
|
16916 |
} |
| 16885 |
if ((int )(*from)->type != 6) { |
|
16917 |
if ((int )(*from)->type != 6) { |
| 16886 |
_convert_to_string(*from); |
|
16918 |
_convert_to_string(*from); |
| 16887 |
} else { |
|
16919 |
} else { |
| 16888 |
|
|
16920 |
|
| 16889 |
} |
|
16921 |
} |
| 16890 |
} else { |
|
16922 |
} else { |
| 16891 |
|
|
16923 |
|
| 16892 |
} |
|
16924 |
} |
| 16893 |
while (1) { |
|
16925 |
while (1) { |
| 16894 |
__s = (char const *)str; |
|
16926 |
__s = (char const *)str; |
| 16895 |
__l = str_len; |
|
16927 |
__l = str_len; |
| 16896 |
__z___1 = return_value; |
|
16928 |
__z___1 = return_value; |
| 16897 |
__z___1->value.str.len = __l; |
|
16929 |
__z___1->value.str.len = __l; |
| 16898 |
tmp___7 = _estrndup(__s, (unsigned int )__l); |
|
16930 |
tmp___7 = _estrndup(__s, (unsigned int )__l); |
| 16899 |
__z___1->value.str.val = (char *)tmp___7; |
|
16931 |
__z___1->value.str.val = (char *)tmp___7; |
| 16900 |
__z___1->type = (zend_uchar )6; |
|
16932 |
__z___1->type = (zend_uchar )6; |
| 16901 |
break; |
|
16933 |
break; |
| 16902 |
} |
|
16934 |
} |
| 16903 |
if ((*from)->value.str.len < to_len) { |
|
16935 |
if ((*from)->value.str.len < to_len) { |
| 16904 |
tmp___8 = (*from)->value.str.len; |
|
16936 |
tmp___8 = (*from)->value.str.len; |
| 16905 |
} else { |
|
16937 |
} else { |
| 16906 |
tmp___8 = to_len; |
|
16938 |
tmp___8 = to_len; |
| 16907 |
} |
|
16939 |
} |
| 16908 |
php_strtr(return_value->value.str.val, return_value->value.str.len, |
|
16940 |
php_strtr(return_value->value.str.val, return_value->value.str.len, |
| 16909 |
(*from)->value.str.val, to, tmp___8); |
|
16941 |
(*from)->value.str.val, to, tmp___8); |
| 16910 |
} |
|
16942 |
} |
| 16911 |
return; |
|
16943 |
return; |
| 16912 |
} |
|
16944 |
} |
| 16913 |
} |
|
16945 |
} |
| 16914 |
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , |
|
16946 |
void zif_strrev(int ht , zval *return_value , zval **return_value_ptr , |
| 16915 |
zval *this_ptr , int return_value_used ) |
|
16947 |
zval *this_ptr , int return_value_used ) |
| 16916 |
{ |
|
16948 |
{ |
| 16917 |
char *str ; |
|
16949 |
char *str ; |
| 16918 |
char *e ; |
|
16950 |
char *e ; |
| 16919 |
char *n ; |
|
16951 |
char *n ; |
| 16920 |
char *p ; |
|
16952 |
char *p ; |
| 16921 |
int str_len ; |
|
16953 |
int str_len ; |
| 16922 |
int __attribute__((__visibility__("default"))) tmp ; |
|
16954 |
int __attribute__((__visibility__("default"))) tmp ; |
| 16923 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
16955 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 16924 |
char *tmp___1 ; |
|
16956 |
char *tmp___1 ; |
| 16925 |
char const *__s ; |
|
16957 |
char const *__s ; |
| 16926 |
int __l ; |
|
16958 |
int __l ; |
| 16927 |
zval *__z ; |
|
16959 |
zval *__z ; |
| 16928 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
16960 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 16929 |
|
|
16961 |
|
| 16930 |
{ |
|
16962 |
{ |
| 16931 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
16963 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 16932 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
16964 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 16933 |
return; |
|
16965 |
return; |
| 16934 |
} else { |
|
16966 |
} else { |
| 16935 |
|
|
16967 |
|
| 16936 |
} |
|
16968 |
} |
| 16937 |
tmp___0 = _emalloc((size_t )(str_len + 1)); |
|
16969 |
tmp___0 = _emalloc((size_t )(str_len + 1)); |
| 16938 |
n = (char *)tmp___0; |
|
16970 |
n = (char *)tmp___0; |
| 16939 |
p = n; |
|
16971 |
p = n; |
| 16940 |
e = str + str_len; |
|
16972 |
e = str + str_len; |
| 16941 |
while (1) { |
|
16973 |
while (1) { |
| 16942 |
e --; |
|
16974 |
e --; |
| 16943 |
if ((unsigned int )e >= (unsigned int )str) { |
|
16975 |
if ((unsigned int )e >= (unsigned int )str) { |
| 16944 |
|
|
16976 |
|
| 16945 |
} else { |
|
16977 |
} else { |
| 16946 |
break; |
|
16978 |
break; |
| 16947 |
} |
|
16979 |
} |
| 16948 |
tmp___1 = p; |
|
16980 |
tmp___1 = p; |
| 16949 |
p ++; |
|
16981 |
p ++; |
| 16950 |
*tmp___1 = *e; |
|
16982 |
*tmp___1 = *e; |
| 16951 |
} |
|
16983 |
} |
| 16952 |
*p = (char )'\000'; |
|
16984 |
*p = (char )'\000'; |
| 16953 |
while (1) { |
|
16985 |
while (1) { |
| 16954 |
__s = (char const *)n; |
|
16986 |
__s = (char const *)n; |
| 16955 |
__l = str_len; |
|
16987 |
__l = str_len; |
| 16956 |
__z = return_value; |
|
16988 |
__z = return_value; |
| 16957 |
__z->value.str.len = __l; |
|
16989 |
__z->value.str.len = __l; |
| 16958 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
16990 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 16959 |
__z->type = (zend_uchar )6; |
|
16991 |
__z->type = (zend_uchar )6; |
| 16960 |
break; |
|
16992 |
break; |
| 16961 |
} |
|
16993 |
} |
| 16962 |
return; |
|
16994 |
return; |
| 16963 |
} |
|
16995 |
} |
| 16964 |
} |
|
16996 |
} |
| 16965 |
static void php_similar_str(char const *txt1 , int len1 , char const *txt2 , |
|
16997 |
static void php_similar_str(char const *txt1 , int len1 , char const *txt2 , |
| 16966 |
int len2 , int *pos1 , int *pos2 , int *max ) |
|
16998 |
int len2 , int *pos1 , int *pos2 , int *max ) |
| 16967 |
{ |
|
16999 |
{ |
| 16968 |
char *p ; |
|
17000 |
char *p ; |
| 16969 |
char *q ; |
|
17001 |
char *q ; |
| 16970 |
char *end1 ; |
|
17002 |
char *end1 ; |
| 16971 |
char *end2 ; |
|
17003 |
char *end2 ; |
| 16972 |
int l ; |
|
17004 |
int l ; |
| 16973 |
|
|
17005 |
|
| 16974 |
{ |
|
17006 |
{ |
| 16975 |
end1 = (char *)txt1 + len1; |
|
17007 |
end1 = (char *)txt1 + len1; |
| 16976 |
end2 = (char *)txt2 + len2; |
|
17008 |
end2 = (char *)txt2 + len2; |
| 16977 |
*max = 0; |
|
17009 |
*max = 0; |
| 16978 |
p = (char *)txt1; |
|
17010 |
p = (char *)txt1; |
| 16979 |
while ((unsigned int )p < (unsigned int )end1) { |
|
17011 |
while ((unsigned int )p < (unsigned int )end1) { |
| 16980 |
q = (char *)txt2; |
|
17012 |
q = (char *)txt2; |
| 16981 |
while ((unsigned int )q < (unsigned int )end2) { |
|
17013 |
while ((unsigned int )q < (unsigned int )end2) { |
| 16982 |
l = 0; |
|
17014 |
l = 0; |
| 16983 |
while (1) { |
|
17015 |
while (1) { |
| 16984 |
if ((unsigned int )(p + l) < (unsigned int )end1) { |
|
17016 |
if ((unsigned int )(p + l) < (unsigned int )end1) { |
| 16985 |
if ((unsigned int )(q + l) < (unsigned int )end2) { |
|
17017 |
if ((unsigned int )(q + l) < (unsigned int )end2) { |
| 16986 |
if ((int )*(p + l) == (int )*(q + l)) { |
|
17018 |
if ((int )*(p + l) == (int )*(q + l)) { |
| 16987 |
|
|
17019 |
|
| 16988 |
} else { |
|
17020 |
} else { |
| 16989 |
break; |
|
17021 |
break; |
| 16990 |
} |
|
17022 |
} |
| 16991 |
} else { |
|
17023 |
} else { |
| 16992 |
break; |
|
17024 |
break; |
| 16993 |
} |
|
17025 |
} |
| 16994 |
} else { |
|
17026 |
} else { |
| 16995 |
break; |
|
17027 |
break; |
| 16996 |
} |
|
17028 |
} |
| 16997 |
l ++; |
|
17029 |
l ++; |
| 16998 |
} |
|
17030 |
} |
| 16999 |
if (l > *max) { |
|
17031 |
if (l > *max) { |
| 17000 |
*max = l; |
|
17032 |
*max = l; |
| 17001 |
*pos1 = p - (char *)txt1; |
|
17033 |
*pos1 = p - (char *)txt1; |
| 17002 |
*pos2 = q - (char *)txt2; |
|
17034 |
*pos2 = q - (char *)txt2; |
| 17003 |
} else { |
|
17035 |
} else { |
| 17004 |
|
|
17036 |
|
| 17005 |
} |
|
17037 |
} |
| 17006 |
q ++; |
|
17038 |
q ++; |
| 17007 |
} |
|
17039 |
} |
| 17008 |
p ++; |
|
17040 |
p ++; |
| 17009 |
} |
|
17041 |
} |
| 17010 |
return; |
|
17042 |
return; |
| 17011 |
} |
|
17043 |
} |
| 17012 |
} |
|
17044 |
} |
| 17013 |
static int php_similar_char(char const *txt1 , int len1 , char const *txt2 , |
|
17045 |
static int php_similar_char(char const *txt1 , int len1 , char const *txt2 , |
| 17014 |
int len2 ) |
|
17046 |
int len2 ) |
| 17015 |
{ |
|
17047 |
{ |
| 17016 |
int sum ; |
|
17048 |
int sum ; |
| 17017 |
int pos1 ; |
|
17049 |
int pos1 ; |
| 17018 |
int pos2 ; |
|
17050 |
int pos2 ; |
| 17019 |
int max ; |
|
17051 |
int max ; |
| 17020 |
int tmp ; |
|
17052 |
int tmp ; |
| 17021 |
int tmp___0 ; |
|
17053 |
int tmp___0 ; |
| 17022 |
|
|
17054 |
|
| 17023 |
{ |
|
17055 |
{ |
| 17024 |
php_similar_str(txt1, len1, txt2, len2, & pos1, & pos2, & max); |
|
17056 |
php_similar_str(txt1, len1, txt2, len2, & pos1, & pos2, & max); |
| 17025 |
sum = max; |
|
17057 |
sum = max; |
| 17026 |
if (sum) { |
|
17058 |
if (sum) { |
| 17027 |
if (pos1) { |
|
17059 |
if (pos1) { |
| 17028 |
if (pos2) { |
|
17060 |
if (pos2) { |
| 17029 |
tmp = php_similar_char(txt1, pos1, txt2, pos2); |
|
17061 |
tmp = php_similar_char(txt1, pos1, txt2, pos2); |
| 17030 |
sum += tmp; |
|
17062 |
sum += tmp; |
| 17031 |
} else { |
|
17063 |
} else { |
| 17032 |
|
|
17064 |
|
| 17033 |
} |
|
17065 |
} |
| 17034 |
} else { |
|
17066 |
} else { |
| 17035 |
|
|
17067 |
|
| 17036 |
} |
|
17068 |
} |
| 17037 |
if (pos1 + max < len1) { |
|
17069 |
if (pos1 + max < len1) { |
| 17038 |
if (pos2 + max < len2) { |
|
17070 |
if (pos2 + max < len2) { |
| 17039 |
tmp___0 = php_similar_char((txt1 + pos1) + max, (len1 - pos1) - max, |
|
17071 |
tmp___0 = php_similar_char((txt1 + pos1) + max, (len1 - pos1) - max, |
| 17040 |
(txt2 + pos2) + max, (len2 - pos2) - max); |
|
17072 |
(txt2 + pos2) + max, (len2 - pos2) - max); |
| 17041 |
sum += tmp___0; |
|
17073 |
sum += tmp___0; |
| 17042 |
} else { |
|
17074 |
} else { |
| 17043 |
|
|
17075 |
|
| 17044 |
} |
|
17076 |
} |
| 17045 |
} else { |
|
17077 |
} else { |
| 17046 |
|
|
17078 |
|
| 17047 |
} |
|
17079 |
} |
| 17048 |
} else { |
|
17080 |
} else { |
| 17049 |
|
|
17081 |
|
| 17050 |
} |
|
17082 |
} |
| 17051 |
return (sum); |
|
17083 |
return (sum); |
| 17052 |
} |
|
17084 |
} |
| 17053 |
} |
|
17085 |
} |
| 17054 |
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , |
|
17086 |
void zif_similar_text(int ht , zval *return_value , zval **return_value_ptr , |
| 17055 |
zval *this_ptr , int return_value_used ) |
|
17087 |
zval *this_ptr , int return_value_used ) |
| 17056 |
{ |
|
17088 |
{ |
| 17057 |
char *t1 ; |
|
17089 |
char *t1 ; |
| 17058 |
char *t2 ; |
|
17090 |
char *t2 ; |
| 17059 |
zval **percent ; |
|
17091 |
zval **percent ; |
| 17060 |
int ac ; |
|
17092 |
int ac ; |
| 17061 |
int sim ; |
|
17093 |
int sim ; |
| 17062 |
int t1_len ; |
|
17094 |
int t1_len ; |
| 17063 |
int t2_len ; |
|
17095 |
int t2_len ; |
| 17064 |
int __attribute__((__visibility__("default"))) tmp ; |
|
17096 |
int __attribute__((__visibility__("default"))) tmp ; |
| 17065 |
zval *new_zv ; |
|
17097 |
zval *new_zv ; |
| 17066 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
17098 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 17067 |
zend_uint tmp___1 ; |
|
17099 |
zend_uint tmp___1 ; |
| 17068 |
zend_bool tmp___2 ; |
|
17100 |
zend_bool tmp___2 ; |
| 17069 |
zval *__z ; |
|
17101 |
zval *__z ; |
| 17070 |
zval *__z___0 ; |
|
17102 |
zval *__z___0 ; |
| 17071 |
|
|
17103 |
|
| 17072 |
{ |
|
17104 |
{ |
| 17073 |
percent = (zval **)((void *)0); |
|
17105 |
percent = (zval **)((void *)0); |
| 17074 |
ac = ht; |
|
17106 |
ac = ht; |
| |
|
-+ |
17107 |
{ |
| 17075 |
tmp = zend_parse_parameters(ht, "ss|Z", & t1, & t1_len, & t2, & t2_len, |
= |
17108 |
tmp = zend_parse_parameters(ht, "ss|Z", & t1, & t1_len, & t2, & t2_len, |
| 17076 |
& percent); |
|
17109 |
& percent); |
| |
|
-+ |
17110 |
if (t2_len < 0) { |
| |
|
|
17111 |
return; |
| |
|
|
17112 |
} |
| |
|
|
17113 |
if (t1_len < 0) { |
| |
|
|
17114 |
return; |
| |
|
|
17115 |
} |
| |
|
|
17116 |
} |
| 17077 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
17117 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 17078 |
return; |
|
17118 |
return; |
| 17079 |
} else { |
|
17119 |
} else { |
| 17080 |
|
|
17120 |
|
| 17081 |
} |
|
17121 |
} |
| 17082 |
if (ac > 2) { |
|
17122 |
if (ac > 2) { |
| 17083 |
if ((int )(*percent)->type != 2) { |
|
17123 |
if ((int )(*percent)->type != 2) { |
| 17084 |
tmp___2 = zval_isref_p(*percent); |
|
17124 |
tmp___2 = zval_isref_p(*percent); |
| 17085 |
if (tmp___2) { |
|
17125 |
if (tmp___2) { |
| 17086 |
|
|
17126 |
|
| 17087 |
} else { |
|
17127 |
} else { |
| 17088 |
while (1) { |
|
17128 |
while (1) { |
| 17089 |
tmp___1 = zval_refcount_p(*percent); |
|
17129 |
tmp___1 = zval_refcount_p(*percent); |
| 17090 |
if (tmp___1 > 1U) { |
|
17130 |
if (tmp___1 > 1U) { |
| 17091 |
zval_delref_p(*percent); |
|
17131 |
zval_delref_p(*percent); |
| 17092 |
while (1) { |
|
17132 |
while (1) { |
| 17093 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
17133 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 17094 |
new_zv = (zval *)tmp___0; |
|
17134 |
new_zv = (zval *)tmp___0; |
| 17095 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
17135 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 17096 |
break; |
|
17136 |
break; |
| 17097 |
} |
|
17137 |
} |
| 17098 |
while (1) { |
|
17138 |
while (1) { |
| 17099 |
while (1) { |
|
17139 |
while (1) { |
| 17100 |
new_zv->value = (*percent)->value; |
|
17140 |
new_zv->value = (*percent)->value; |
| 17101 |
new_zv->type = (*percent)->type; |
|
17141 |
new_zv->type = (*percent)->type; |
| 17102 |
break; |
|
17142 |
break; |
| 17103 |
} |
|
17143 |
} |
| 17104 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
17144 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 17105 |
zval_unset_isref_p(new_zv); |
|
17145 |
zval_unset_isref_p(new_zv); |
| 17106 |
break; |
|
17146 |
break; |
| 17107 |
} |
|
17147 |
} |
| 17108 |
*percent = new_zv; |
|
17148 |
*percent = new_zv; |
| 17109 |
_zval_copy_ctor(new_zv); |
|
17149 |
_zval_copy_ctor(new_zv); |
| 17110 |
} else { |
|
17150 |
} else { |
| 17111 |
|
|
17151 |
|
| 17112 |
} |
|
17152 |
} |
| 17113 |
break; |
|
17153 |
break; |
| 17114 |
} |
|
17154 |
} |
| 17115 |
} |
|
17155 |
} |
| 17116 |
convert_to_double(*percent); |
|
17156 |
convert_to_double(*percent); |
| 17117 |
} else { |
|
17157 |
} else { |
| 17118 |
|
|
17158 |
|
| 17119 |
} |
|
17159 |
} |
| 17120 |
} else { |
|
17160 |
} else { |
| 17121 |
|
|
17161 |
|
| 17122 |
} |
|
17162 |
} |
| 17123 |
if (t1_len + t2_len == 0) { |
|
17163 |
if (t1_len + t2_len == 0) { |
| 17124 |
if (ac > 2) { |
|
17164 |
if (ac > 2) { |
| 17125 |
(*percent)->value.dval = (double )0; |
|
17165 |
(*percent)->value.dval = (double )0; |
| 17126 |
} else { |
|
17166 |
} else { |
| 17127 |
|
|
17167 |
|
| 17128 |
} |
|
17168 |
} |
| 17129 |
__z = return_value; |
|
17169 |
__z = return_value; |
| 17130 |
__z->value.lval = 0L; |
|
17170 |
__z->value.lval = 0L; |
| 17131 |
__z->type = (zend_uchar )1; |
|
17171 |
__z->type = (zend_uchar )1; |
| 17132 |
return; |
|
17172 |
return; |
| 17133 |
} else { |
|
17173 |
} else { |
| 17134 |
|
|
17174 |
|
| 17135 |
} |
|
17175 |
} |
| 17136 |
sim = php_similar_char((char const *)t1, t1_len, (char const *)t2, t2_len); |
|
17176 |
sim = php_similar_char((char const *)t1, t1_len, (char const *)t2, t2_len); |
| 17137 |
if (ac > 2) { |
|
17177 |
if (ac > 2) { |
| 17138 |
(*percent)->value.dval = ((double )sim * 200.0) / (double )(t1_len + t2_len); |
|
17178 |
(*percent)->value.dval = ((double )sim * 200.0) / (double )(t1_len + t2_len); |
| 17139 |
} else { |
|
17179 |
} else { |
| 17140 |
|
|
17180 |
|
| 17141 |
} |
|
17181 |
} |
| 17142 |
__z___0 = return_value; |
|
17182 |
__z___0 = return_value; |
| 17143 |
__z___0->value.lval = (long )sim; |
|
17183 |
__z___0->value.lval = (long )sim; |
| 17144 |
__z___0->type = (zend_uchar )1; |
|
17184 |
__z___0->type = (zend_uchar )1; |
| 17145 |
return; |
|
17185 |
return; |
| 17146 |
} |
|
17186 |
} |
| 17147 |
} |
|
17187 |
} |
| 17148 |
void __attribute__((__visibility__("default"))) php_stripslashes(char *str , |
|
17188 |
void __attribute__((__visibility__("default"))) php_stripslashes(char *str , |
| 17149 |
int *len ) |
|
17189 |
int *len ) |
| 17150 |
{ |
|
17190 |
{ |
| 17151 |
char *s ; |
|
17191 |
char *s ; |
| 17152 |
char *t ; |
|
17192 |
char *t ; |
| 17153 |
int l ; |
|
17193 |
int l ; |
| 17154 |
size_t tmp ; |
|
17194 |
size_t tmp ; |
| 17155 |
char *tmp___0 ; |
|
17195 |
char *tmp___0 ; |
| 17156 |
char *tmp___1 ; |
|
17196 |
char *tmp___1 ; |
| 17157 |
char *tmp___2 ; |
|
17197 |
char *tmp___2 ; |
| 17158 |
char *tmp___3 ; |
|
17198 |
char *tmp___3 ; |
| 17159 |
char *tmp___4 ; |
|
17199 |
char *tmp___4 ; |
| 17160 |
char *tmp___5 ; |
|
17200 |
char *tmp___5 ; |
| 17161 |
char *tmp___6 ; |
|
17201 |
char *tmp___6 ; |
| 17162 |
char *tmp___7 ; |
|
17202 |
char *tmp___7 ; |
| 17163 |
char *tmp___8 ; |
|
17203 |
char *tmp___8 ; |
| 17164 |
char *tmp___9 ; |
|
17204 |
char *tmp___9 ; |
| 17165 |
|
|
17205 |
|
| 17166 |
{ |
|
17206 |
{ |
| 17167 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
|
17207 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
| 17168 |
l = *len; |
|
17208 |
l = *len; |
| 17169 |
} else { |
|
17209 |
} else { |
| 17170 |
tmp = strlen((char const *)str); |
|
17210 |
tmp = strlen((char const *)str); |
| 17171 |
l = (int )tmp; |
|
17211 |
l = (int )tmp; |
| 17172 |
} |
|
17212 |
} |
| 17173 |
s = str; |
|
17213 |
s = str; |
| 17174 |
t = str; |
|
17214 |
t = str; |
| 17175 |
if (core_globals.magic_quotes_sybase) { |
|
17215 |
if (core_globals.magic_quotes_sybase) { |
| 17176 |
while (l > 0) { |
|
17216 |
while (l > 0) { |
| 17177 |
if ((int )*t == 39) { |
|
17217 |
if ((int )*t == 39) { |
| 17178 |
if (l > 0) { |
|
17218 |
if (l > 0) { |
| 17179 |
if ((int )*(t + 1) == 39) { |
|
17219 |
if ((int )*(t + 1) == 39) { |
| 17180 |
t ++; |
|
17220 |
t ++; |
| 17181 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
|
17221 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
| 17182 |
(*len) --; |
|
17222 |
(*len) --; |
| 17183 |
} else { |
|
17223 |
} else { |
| 17184 |
|
|
17224 |
|
| 17185 |
} |
|
17225 |
} |
| 17186 |
l --; |
|
17226 |
l --; |
| 17187 |
} else { |
|
17227 |
} else { |
| 17188 |
|
|
17228 |
|
| 17189 |
} |
|
17229 |
} |
| 17190 |
} else { |
|
17230 |
} else { |
| 17191 |
|
|
17231 |
|
| 17192 |
} |
|
17232 |
} |
| 17193 |
tmp___0 = s; |
|
17233 |
tmp___0 = s; |
| 17194 |
s ++; |
|
17234 |
s ++; |
| 17195 |
tmp___1 = t; |
|
17235 |
tmp___1 = t; |
| 17196 |
t ++; |
|
17236 |
t ++; |
| 17197 |
*tmp___0 = *tmp___1; |
|
17237 |
*tmp___0 = *tmp___1; |
| 17198 |
} else |
|
17238 |
} else |
| 17199 |
if ((int )*t == 92) { |
|
17239 |
if ((int )*t == 92) { |
| 17200 |
if ((int )*(t + 1) == 48) { |
|
17240 |
if ((int )*(t + 1) == 48) { |
| 17201 |
if (l > 0) { |
|
17241 |
if (l > 0) { |
| 17202 |
tmp___2 = s; |
|
17242 |
tmp___2 = s; |
| 17203 |
s ++; |
|
17243 |
s ++; |
| 17204 |
*tmp___2 = (char )'\000'; |
|
17244 |
*tmp___2 = (char )'\000'; |
| 17205 |
t += 2; |
|
17245 |
t += 2; |
| 17206 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
|
17246 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
| 17207 |
(*len) --; |
|
17247 |
(*len) --; |
| 17208 |
} else { |
|
17248 |
} else { |
| 17209 |
|
|
17249 |
|
| 17210 |
} |
|
17250 |
} |
| 17211 |
l --; |
|
17251 |
l --; |
| 17212 |
} else { |
|
17252 |
} else { |
| 17213 |
tmp___3 = s; |
|
17253 |
tmp___3 = s; |
| 17214 |
s ++; |
|
17254 |
s ++; |
| 17215 |
tmp___4 = t; |
|
17255 |
tmp___4 = t; |
| 17216 |
t ++; |
|
17256 |
t ++; |
| 17217 |
*tmp___3 = *tmp___4; |
|
17257 |
*tmp___3 = *tmp___4; |
| 17218 |
} |
|
17258 |
} |
| 17219 |
} else { |
|
17259 |
} else { |
| 17220 |
tmp___3 = s; |
|
17260 |
tmp___3 = s; |
| 17221 |
s ++; |
|
17261 |
s ++; |
| 17222 |
tmp___4 = t; |
|
17262 |
tmp___4 = t; |
| 17223 |
t ++; |
|
17263 |
t ++; |
| 17224 |
*tmp___3 = *tmp___4; |
|
17264 |
*tmp___3 = *tmp___4; |
| 17225 |
} |
|
17265 |
} |
| 17226 |
} else { |
|
17266 |
} else { |
| 17227 |
tmp___3 = s; |
|
17267 |
tmp___3 = s; |
| 17228 |
s ++; |
|
17268 |
s ++; |
| 17229 |
tmp___4 = t; |
|
17269 |
tmp___4 = t; |
| 17230 |
t ++; |
|
17270 |
t ++; |
| 17231 |
*tmp___3 = *tmp___4; |
|
17271 |
*tmp___3 = *tmp___4; |
| 17232 |
} |
|
17272 |
} |
| 17233 |
l --; |
|
17273 |
l --; |
| 17234 |
} |
|
17274 |
} |
| 17235 |
*s = (char )'\000'; |
|
17275 |
*s = (char )'\000'; |
| 17236 |
return; |
|
17276 |
return; |
| 17237 |
} else { |
|
17277 |
} else { |
| 17238 |
|
|
17278 |
|
| 17239 |
} |
|
17279 |
} |
| 17240 |
while (l > 0) { |
|
17280 |
while (l > 0) { |
| 17241 |
if ((int )*t == 92) { |
|
17281 |
if ((int )*t == 92) { |
| 17242 |
t ++; |
|
17282 |
t ++; |
| 17243 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
|
17283 |
if ((unsigned int )len != (unsigned int )((void *)0)) { |
| 17244 |
(*len) --; |
|
17284 |
(*len) --; |
| 17245 |
} else { |
|
17285 |
} else { |
| 17246 |
|
|
17286 |
|
| 17247 |
} |
|
17287 |
} |
| 17248 |
l --; |
|
17288 |
l --; |
| 17249 |
if (l > 0) { |
|
17289 |
if (l > 0) { |
| 17250 |
if ((int )*t == 48) { |
|
17290 |
if ((int )*t == 48) { |
| 17251 |
tmp___5 = s; |
|
17291 |
tmp___5 = s; |
| 17252 |
s ++; |
|
17292 |
s ++; |
| 17253 |
*tmp___5 = (char )'\000'; |
|
17293 |
*tmp___5 = (char )'\000'; |
| 17254 |
t ++; |
|
17294 |
t ++; |
| 17255 |
} else { |
|
17295 |
} else { |
| 17256 |
tmp___6 = s; |
|
17296 |
tmp___6 = s; |
| 17257 |
s ++; |
|
17297 |
s ++; |
| 17258 |
tmp___7 = t; |
|
17298 |
tmp___7 = t; |
| 17259 |
t ++; |
|
17299 |
t ++; |
| 17260 |
*tmp___6 = *tmp___7; |
|
17300 |
*tmp___6 = *tmp___7; |
| 17261 |
} |
|
17301 |
} |
| 17262 |
l --; |
|
17302 |
l --; |
| 17263 |
} else { |
|
17303 |
} else { |
| 17264 |
|
|
17304 |
|
| 17265 |
} |
|
17305 |
} |
| 17266 |
} else { |
|
17306 |
} else { |
| 17267 |
tmp___8 = s; |
|
17307 |
tmp___8 = s; |
| 17268 |
s ++; |
|
17308 |
s ++; |
| 17269 |
tmp___9 = t; |
|
17309 |
tmp___9 = t; |
| 17270 |
t ++; |
|
17310 |
t ++; |
| 17271 |
*tmp___8 = *tmp___9; |
|
17311 |
*tmp___8 = *tmp___9; |
| 17272 |
l --; |
|
17312 |
l --; |
| 17273 |
} |
|
17313 |
} |
| 17274 |
} |
|
17314 |
} |
| 17275 |
if ((unsigned int )s != (unsigned int )t) { |
|
17315 |
if ((unsigned int )s != (unsigned int )t) { |
| 17276 |
*s = (char )'\000'; |
|
17316 |
*s = (char )'\000'; |
| 17277 |
} else { |
|
17317 |
} else { |
| 17278 |
|
|
17318 |
|
| 17279 |
} |
|
17319 |
} |
| 17280 |
return; |
|
17320 |
return; |
| 17281 |
} |
|
17321 |
} |
| 17282 |
} |
|
17322 |
} |
| 17283 |
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
17323 |
void zif_addcslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 17284 |
zval *this_ptr , int return_value_used ) |
|
17324 |
zval *this_ptr , int return_value_used ) |
| 17285 |
{ |
|
17325 |
{ |
| 17286 |
char *str ; |
|
17326 |
char *str ; |
| 17287 |
char *what ; |
|
17327 |
char *what ; |
| 17288 |
int str_len ; |
|
17328 |
int str_len ; |
| 17289 |
int what_len ; |
|
17329 |
int what_len ; |
| 17290 |
int __attribute__((__visibility__("default"))) tmp ; |
|
17330 |
int __attribute__((__visibility__("default"))) tmp ; |
| 17291 |
zval *__z ; |
|
17331 |
zval *__z ; |
| 17292 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
17332 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 17293 |
char const *__s ; |
|
17333 |
char const *__s ; |
| 17294 |
int __l ; |
|
17334 |
int __l ; |
| 17295 |
zval *__z___0 ; |
|
17335 |
zval *__z___0 ; |
| 17296 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
17336 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 17297 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
17337 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 17298 |
char const *__s___0 ; |
|
17338 |
char const *__s___0 ; |
| 17299 |
int __l___0 ; |
|
17339 |
int __l___0 ; |
| 17300 |
zval *__z___1 ; |
|
17340 |
zval *__z___1 ; |
| 17301 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
17341 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 17302 |
|
|
17342 |
|
| 17303 |
{ |
|
17343 |
{ |
| |
|
-+ |
17344 |
{ |
| 17304 |
tmp = zend_parse_parameters(ht, "ss", & str, & str_len, & what, & what_len); |
= |
17345 |
tmp = zend_parse_parameters(ht, "ss", & str, & str_len, & what, & what_len); |
| |
|
-+ |
17346 |
if (what_len < 0) { |
| |
|
|
17347 |
return; |
| |
|
|
17348 |
} |
| |
|
|
17349 |
if (str_len < 0) { |
| |
|
|
17350 |
return; |
| |
|
|
17351 |
} |
| |
|
|
17352 |
} |
| 17305 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
17353 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 17306 |
return; |
|
17354 |
return; |
| 17307 |
} else { |
|
17355 |
} else { |
| 17308 |
|
|
17356 |
|
| 17309 |
} |
|
17357 |
} |
| 17310 |
if (str_len == 0) { |
|
17358 |
if (str_len == 0) { |
| 17311 |
while (1) { |
|
17359 |
while (1) { |
| 17312 |
__z = return_value; |
|
17360 |
__z = return_value; |
| 17313 |
__z->value.str.len = 0; |
|
17361 |
__z->value.str.len = 0; |
| 17314 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
17362 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 17315 |
__z->value.str.val = (char *)tmp___0; |
|
17363 |
__z->value.str.val = (char *)tmp___0; |
| 17316 |
__z->type = (zend_uchar )6; |
|
17364 |
__z->type = (zend_uchar )6; |
| 17317 |
break; |
|
17365 |
break; |
| 17318 |
} |
|
17366 |
} |
| 17319 |
return; |
|
17367 |
return; |
| 17320 |
} else { |
|
17368 |
} else { |
| 17321 |
|
|
17369 |
|
| 17322 |
} |
|
17370 |
} |
| 17323 |
if (what_len == 0) { |
|
17371 |
if (what_len == 0) { |
| 17324 |
while (1) { |
|
17372 |
while (1) { |
| 17325 |
__s = (char const *)str; |
|
17373 |
__s = (char const *)str; |
| 17326 |
__l = str_len; |
|
17374 |
__l = str_len; |
| 17327 |
__z___0 = return_value; |
|
17375 |
__z___0 = return_value; |
| 17328 |
__z___0->value.str.len = __l; |
|
17376 |
__z___0->value.str.len = __l; |
| 17329 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
17377 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 17330 |
__z___0->value.str.val = (char *)tmp___1; |
|
17378 |
__z___0->value.str.val = (char *)tmp___1; |
| 17331 |
__z___0->type = (zend_uchar )6; |
|
17379 |
__z___0->type = (zend_uchar )6; |
| 17332 |
break; |
|
17380 |
break; |
| 17333 |
} |
|
17381 |
} |
| 17334 |
return; |
|
17382 |
return; |
| 17335 |
} else { |
|
17383 |
} else { |
| 17336 |
|
|
17384 |
|
| 17337 |
} |
|
17385 |
} |
| 17338 |
tmp___2 = php_addcslashes(str, str_len, & return_value->value.str.len, 0, |
|
17386 |
tmp___2 = php_addcslashes(str, str_len, & return_value->value.str.len, 0, |
| 17339 |
what, what_len); |
|
17387 |
what, what_len); |
| 17340 |
return_value->value.str.val = (char *)tmp___2; |
|
17388 |
return_value->value.str.val = (char *)tmp___2; |
| 17341 |
while (1) { |
|
17389 |
while (1) { |
| 17342 |
__s___0 = (char const *)return_value->value.str.val; |
|
17390 |
__s___0 = (char const *)return_value->value.str.val; |
| 17343 |
__l___0 = return_value->value.str.len; |
|
17391 |
__l___0 = return_value->value.str.len; |
| 17344 |
__z___1 = return_value; |
|
17392 |
__z___1 = return_value; |
| 17345 |
__z___1->value.str.len = __l___0; |
|
17393 |
__z___1->value.str.len = __l___0; |
| 17346 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
17394 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 17347 |
__z___1->type = (zend_uchar )6; |
|
17395 |
__z___1->type = (zend_uchar )6; |
| 17348 |
break; |
|
17396 |
break; |
| 17349 |
} |
|
17397 |
} |
| 17350 |
return; |
|
17398 |
return; |
| 17351 |
} |
|
17399 |
} |
| 17352 |
} |
|
17400 |
} |
| 17353 |
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
17401 |
void zif_addslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 17354 |
zval *this_ptr , int return_value_used ) |
|
17402 |
zval *this_ptr , int return_value_used ) |
| 17355 |
{ |
|
17403 |
{ |
| 17356 |
char *str ; |
|
17404 |
char *str ; |
| 17357 |
int str_len ; |
|
17405 |
int str_len ; |
| 17358 |
int __attribute__((__visibility__("default"))) tmp ; |
|
17406 |
int __attribute__((__visibility__("default"))) tmp ; |
| 17359 |
zval *__z ; |
|
17407 |
zval *__z ; |
| 17360 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
17408 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 17361 |
char const *__s ; |
|
17409 |
char const *__s ; |
| 17362 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
17410 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 17363 |
zval *__z___0 ; |
|
17411 |
zval *__z___0 ; |
| 17364 |
size_t tmp___2 ; |
|
17412 |
size_t tmp___2 ; |
| 17365 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
17413 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 17366 |
|
|
17414 |
|
| 17367 |
{ |
|
17415 |
{ |
| 17368 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
17416 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 17369 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
17417 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 17370 |
return; |
|
17418 |
return; |
| 17371 |
} else { |
|
17419 |
} else { |
| 17372 |
|
|
17420 |
|
| 17373 |
} |
|
17421 |
} |
| 17374 |
if (str_len == 0) { |
|
17422 |
if (str_len == 0) { |
| 17375 |
while (1) { |
|
17423 |
while (1) { |
| 17376 |
__z = return_value; |
|
17424 |
__z = return_value; |
| 17377 |
__z->value.str.len = 0; |
|
17425 |
__z->value.str.len = 0; |
| 17378 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
17426 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 17379 |
__z->value.str.val = (char *)tmp___0; |
|
17427 |
__z->value.str.val = (char *)tmp___0; |
| 17380 |
__z->type = (zend_uchar )6; |
|
17428 |
__z->type = (zend_uchar )6; |
| 17381 |
break; |
|
17429 |
break; |
| 17382 |
} |
|
17430 |
} |
| 17383 |
return; |
|
17431 |
return; |
| 17384 |
} else { |
|
17432 |
} else { |
| 17385 |
|
|
17433 |
|
| 17386 |
} |
|
17434 |
} |
| 17387 |
while (1) { |
|
17435 |
while (1) { |
| 17388 |
tmp___1 = php_addslashes(str, str_len, & return_value->value.str.len, 0); |
|
17436 |
tmp___1 = php_addslashes(str, str_len, & return_value->value.str.len, 0); |
| 17389 |
__s = (char const *)tmp___1; |
|
17437 |
__s = (char const *)tmp___1; |
| 17390 |
__z___0 = return_value; |
|
17438 |
__z___0 = return_value; |
| 17391 |
tmp___2 = strlen(__s); |
|
17439 |
tmp___2 = strlen(__s); |
| 17392 |
__z___0->value.str.len = (int )tmp___2; |
|
17440 |
__z___0->value.str.len = (int )tmp___2; |
| 17393 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
17441 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 17394 |
__z___0->type = (zend_uchar )6; |
|
17442 |
__z___0->type = (zend_uchar )6; |
| 17395 |
break; |
|
17443 |
break; |
| 17396 |
} |
|
17444 |
} |
| 17397 |
return; |
|
17445 |
return; |
| 17398 |
} |
|
17446 |
} |
| 17399 |
} |
|
17447 |
} |
| 17400 |
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
17448 |
void zif_stripcslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 17401 |
zval *this_ptr , int return_value_used ) |
|
17449 |
zval *this_ptr , int return_value_used ) |
| 17402 |
{ |
|
17450 |
{ |
| 17403 |
char *str ; |
|
17451 |
char *str ; |
| 17404 |
int str_len ; |
|
17452 |
int str_len ; |
| 17405 |
int __attribute__((__visibility__("default"))) tmp ; |
|
17453 |
int __attribute__((__visibility__("default"))) tmp ; |
| 17406 |
char const *__s ; |
|
17454 |
char const *__s ; |
| 17407 |
int __l ; |
|
17455 |
int __l ; |
| 17408 |
zval *__z ; |
|
17456 |
zval *__z ; |
| 17409 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
17457 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 17410 |
|
|
17458 |
|
| 17411 |
{ |
|
17459 |
{ |
| 17412 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
17460 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 17413 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
17461 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 17414 |
return; |
|
17462 |
return; |
| 17415 |
} else { |
|
17463 |
} else { |
| 17416 |
|
|
17464 |
|
| 17417 |
} |
|
17465 |
} |
| 17418 |
while (1) { |
|
17466 |
while (1) { |
| 17419 |
__s = (char const *)str; |
|
17467 |
__s = (char const *)str; |
| 17420 |
__l = str_len; |
|
17468 |
__l = str_len; |
| 17421 |
__z = return_value; |
|
17469 |
__z = return_value; |
| 17422 |
__z->value.str.len = __l; |
|
17470 |
__z->value.str.len = __l; |
| 17423 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
17471 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 17424 |
__z->value.str.val = (char *)tmp___0; |
|
17472 |
__z->value.str.val = (char *)tmp___0; |
| 17425 |
__z->type = (zend_uchar )6; |
|
17473 |
__z->type = (zend_uchar )6; |
| 17426 |
break; |
|
17474 |
break; |
| 17427 |
} |
|
17475 |
} |
| 17428 |
php_stripcslashes(return_value->value.str.val, & return_value->value.str.len); |
|
17476 |
php_stripcslashes(return_value->value.str.val, & return_value->value.str.len); |
| 17429 |
return; |
|
17477 |
return; |
| 17430 |
} |
|
17478 |
} |
| 17431 |
} |
|
17479 |
} |
| 17432 |
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , |
|
17480 |
void zif_stripslashes(int ht , zval *return_value , zval **return_value_ptr , |
| 17433 |
zval *this_ptr , int return_value_used ) |
|
17481 |
zval *this_ptr , int return_value_used ) |
| 17434 |
{ |
|
17482 |
{ |
| 17435 |
char *str ; |
|
17483 |
char *str ; |
| 17436 |
int str_len ; |
|
17484 |
int str_len ; |
| 17437 |
int __attribute__((__visibility__("default"))) tmp ; |
|
17485 |
int __attribute__((__visibility__("default"))) tmp ; |
| 17438 |
char const *__s ; |
|
17486 |
char const *__s ; |
| 17439 |
int __l ; |
|
17487 |
int __l ; |
| 17440 |
zval *__z ; |
|
17488 |
zval *__z ; |
| 17441 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
17489 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 17442 |
|
|
17490 |
|
| 17443 |
{ |
|
17491 |
{ |
| 17444 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
|
17492 |
tmp = zend_parse_parameters(ht, "s", & str, & str_len); |
| 17445 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
17493 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 17446 |
return; |
|
17494 |
return; |
| 17447 |
} else { |
|
17495 |
} else { |
| 17448 |
|
|
17496 |
|
| 17449 |
} |
|
17497 |
} |
| 17450 |
while (1) { |
|
17498 |
while (1) { |
| 17451 |
__s = (char const *)str; |
|
17499 |
__s = (char const *)str; |
| 17452 |
__l = str_len; |
|
17500 |
__l = str_len; |
| 17453 |
__z = return_value; |
|
17501 |
__z = return_value; |
| 17454 |
__z->value.str.len = __l; |
|
17502 |
__z->value.str.len = __l; |
| 17455 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
17503 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 17456 |
__z->value.str.val = (char *)tmp___0; |
|
17504 |
__z->value.str.val = (char *)tmp___0; |
| 17457 |
__z->type = (zend_uchar )6; |
|
17505 |
__z->type = (zend_uchar )6; |
| 17458 |
break; |
|
17506 |
break; |
| 17459 |
} |
|
17507 |
} |
| 17460 |
php_stripslashes(return_value->value.str.val, & return_value->value.str.len); |
|
17508 |
php_stripslashes(return_value->value.str.val, & return_value->value.str.len); |
| 17461 |
return; |
|
17509 |
return; |
| 17462 |
} |
|
17510 |
} |
| 17463 |
} |
|
17511 |
} |
| 17464 |
void __attribute__((__visibility__("default"))) php_stripcslashes(char *str , |
|
17512 |
void __attribute__((__visibility__("default"))) php_stripcslashes(char *str , |
| 17465 |
int *len ) |
|
17513 |
int *len ) |
| 17466 |
{ |
|
17514 |
{ |
| 17467 |
char *source ; |
|
17515 |
char *source ; |
| 17468 |
char *target ; |
|
17516 |
char *target ; |
| 17469 |
char *end ; |
|
17517 |
char *end ; |
| 17470 |
int nlen ; |
|
17518 |
int nlen ; |
| 17471 |
int i ; |
|
17519 |
int i ; |
| 17472 |
char numtmp[4] ; |
|
17520 |
char numtmp[4] ; |
| 17473 |
char *tmp ; |
|
17521 |
char *tmp ; |
| 17474 |
char *tmp___0 ; |
|
17522 |
char *tmp___0 ; |
| 17475 |
char *tmp___1 ; |
|
17523 |
char *tmp___1 ; |
| 17476 |
char *tmp___2 ; |
|
17524 |
char *tmp___2 ; |
| 17477 |
char *tmp___3 ; |
|
17525 |
char *tmp___3 ; |
| 17478 |
char *tmp___4 ; |
|
17526 |
char *tmp___4 ; |
| 17479 |
char *tmp___5 ; |
|
17527 |
char *tmp___5 ; |
| 17480 |
char *tmp___6 ; |
|
17528 |
char *tmp___6 ; |
| 17481 |
unsigned short const **tmp___7 ; |
|
17529 |
unsigned short const **tmp___7 ; |
| 17482 |
char *tmp___8 ; |
|
17530 |
char *tmp___8 ; |
| 17483 |
long tmp___9 ; |
|
17531 |
long tmp___9 ; |
| 17484 |
unsigned short const **tmp___10 ; |
|
17532 |
unsigned short const **tmp___10 ; |
| 17485 |
int tmp___11 ; |
|
17533 |
int tmp___11 ; |
| 17486 |
char *tmp___12 ; |
|
17534 |
char *tmp___12 ; |
| 17487 |
char *tmp___13 ; |
|
17535 |
char *tmp___13 ; |
| 17488 |
long tmp___14 ; |
|
17536 |
long tmp___14 ; |
| 17489 |
char *tmp___15 ; |
|
17537 |
char *tmp___15 ; |
| 17490 |
char *tmp___16 ; |
|
17538 |
char *tmp___16 ; |
| 17491 |
|
|
17539 |
|
| 17492 |
{ |
|
17540 |
{ |
| 17493 |
nlen = *len; |
|
17541 |
nlen = *len; |
| 17494 |
source = str; |
|
17542 |
source = str; |
| 17495 |
end = str + nlen; |
|
17543 |
end = str + nlen; |
| 17496 |
target = str; |
|
17544 |
target = str; |
| 17497 |
while ((unsigned int )source < (unsigned int )end) { |
|
17545 |
while ((unsigned int )source < (unsigned int )end) { |
| 17498 |
if ((int )*source == 92) { |
|
17546 |
if ((int )*source == 92) { |
| 17499 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
|
17547 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
| 17500 |
source ++; |
|
17548 |
source ++; |
| 17501 |
switch ((int )*source) { |
|
17549 |
switch ((int )*source) { |
| 17502 |
case 110: |
|
17550 |
case 110: |
| 17503 |
tmp = target; |
|
17551 |
tmp = target; |
| 17504 |
target ++; |
|
17552 |
target ++; |
| 17505 |
*tmp = (char )'\n'; |
|
17553 |
*tmp = (char )'\n'; |
| 17506 |
nlen --; |
|
17554 |
nlen --; |
| 17507 |
break; |
|
17555 |
break; |
| 17508 |
case 114: |
|
17556 |
case 114: |
| 17509 |
tmp___0 = target; |
|
17557 |
tmp___0 = target; |
| 17510 |
target ++; |
|
17558 |
target ++; |
| 17511 |
*tmp___0 = (char )'\r'; |
|
17559 |
*tmp___0 = (char )'\r'; |
| 17512 |
nlen --; |
|
17560 |
nlen --; |
| 17513 |
break; |
|
17561 |
break; |
| 17514 |
case 97: |
|
17562 |
case 97: |
| 17515 |
tmp___1 = target; |
|
17563 |
tmp___1 = target; |
| 17516 |
target ++; |
|
17564 |
target ++; |
| 17517 |
*tmp___1 = (char )'\a'; |
|
17565 |
*tmp___1 = (char )'\a'; |
| 17518 |
nlen --; |
|
17566 |
nlen --; |
| 17519 |
break; |
|
17567 |
break; |
| 17520 |
case 116: |
|
17568 |
case 116: |
| 17521 |
tmp___2 = target; |
|
17569 |
tmp___2 = target; |
| 17522 |
target ++; |
|
17570 |
target ++; |
| 17523 |
*tmp___2 = (char )'\t'; |
|
17571 |
*tmp___2 = (char )'\t'; |
| 17524 |
nlen --; |
|
17572 |
nlen --; |
| 17525 |
break; |
|
17573 |
break; |
| 17526 |
case 118: |
|
17574 |
case 118: |
| 17527 |
tmp___3 = target; |
|
17575 |
tmp___3 = target; |
| 17528 |
target ++; |
|
17576 |
target ++; |
| 17529 |
*tmp___3 = (char )'\v'; |
|
17577 |
*tmp___3 = (char )'\v'; |
| 17530 |
nlen --; |
|
17578 |
nlen --; |
| 17531 |
break; |
|
17579 |
break; |
| 17532 |
case 98: |
|
17580 |
case 98: |
| 17533 |
tmp___4 = target; |
|
17581 |
tmp___4 = target; |
| 17534 |
target ++; |
|
17582 |
target ++; |
| 17535 |
*tmp___4 = (char )'\b'; |
|
17583 |
*tmp___4 = (char )'\b'; |
| 17536 |
nlen --; |
|
17584 |
nlen --; |
| 17537 |
break; |
|
17585 |
break; |
| 17538 |
case 102: |
|
17586 |
case 102: |
| 17539 |
tmp___5 = target; |
|
17587 |
tmp___5 = target; |
| 17540 |
target ++; |
|
17588 |
target ++; |
| 17541 |
*tmp___5 = (char )'\f'; |
|
17589 |
*tmp___5 = (char )'\f'; |
| 17542 |
nlen --; |
|
17590 |
nlen --; |
| 17543 |
break; |
|
17591 |
break; |
| 17544 |
case 92: |
|
17592 |
case 92: |
| 17545 |
tmp___6 = target; |
|
17593 |
tmp___6 = target; |
| 17546 |
target ++; |
|
17594 |
target ++; |
| 17547 |
*tmp___6 = (char )'\\'; |
|
17595 |
*tmp___6 = (char )'\\'; |
| 17548 |
nlen --; |
|
17596 |
nlen --; |
| 17549 |
break; |
|
17597 |
break; |
| 17550 |
case 120: |
|
17598 |
case 120: |
| 17551 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
|
17599 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
| 17552 |
tmp___10 = __ctype_b_loc(); |
|
17600 |
tmp___10 = __ctype_b_loc(); |
| 17553 |
if ((int const )*(*tmp___10 + (int )*(source + 1)) & 4096) { |
|
17601 |
if ((int const )*(*tmp___10 + (int )*(source + 1)) & 4096) { |
| 17554 |
source ++; |
|
17602 |
source ++; |
| 17555 |
numtmp[0] = *source; |
|
17603 |
numtmp[0] = *source; |
| 17556 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
|
17604 |
if ((unsigned int )(source + 1) < (unsigned int )end) { |
| 17557 |
tmp___7 = __ctype_b_loc(); |
|
17605 |
tmp___7 = __ctype_b_loc(); |
| 17558 |
if ((int const )*(*tmp___7 + (int )*(source + 1)) & 4096) { |
|
17606 |
if ((int const )*(*tmp___7 + (int )*(source + 1)) & 4096) { |
| 17559 |
source ++; |
|
17607 |
source ++; |
| 17560 |
numtmp[1] = *source; |
|
17608 |
numtmp[1] = *source; |
| 17561 |
numtmp[2] = (char )'\000'; |
|
17609 |
numtmp[2] = (char )'\000'; |
| 17562 |
nlen -= 3; |
|
17610 |
nlen -= 3; |
| 17563 |
} else { |
|
17611 |
} else { |
| 17564 |
numtmp[1] = (char )'\000'; |
|
17612 |
numtmp[1] = (char )'\000'; |
| 17565 |
nlen -= 2; |
|
17613 |
nlen -= 2; |
| 17566 |
} |
|
17614 |
} |
| 17567 |
} else { |
|
17615 |
} else { |
| 17568 |
numtmp[1] = (char )'\000'; |
|
17616 |
numtmp[1] = (char )'\000'; |
| 17569 |
nlen -= 2; |
|
17617 |
nlen -= 2; |
| 17570 |
} |
|
17618 |
} |
| 17571 |
tmp___8 = target; |
|
17619 |
tmp___8 = target; |
| 17572 |
target ++; |
|
17620 |
target ++; |
| 17573 |
tmp___9 = strtol((char const *)(numtmp), |
|
17621 |
tmp___9 = strtol((char const *)(numtmp), |
| 17574 |
(char **)((void *)0), 16); |
|
17622 |
(char **)((void *)0), 16); |
| 17575 |
*tmp___8 = (char )tmp___9; |
|
17623 |
*tmp___8 = (char )tmp___9; |
| 17576 |
break; |
|
17624 |
break; |
| 17577 |
} else { |
|
17625 |
} else { |
| 17578 |
|
|
17626 |
|
| 17579 |
} |
|
17627 |
} |
| 17580 |
} else { |
|
17628 |
} else { |
| 17581 |
|
|
17629 |
|
| 17582 |
} |
|
17630 |
} |
| 17583 |
default: |
|
17631 |
default: |
| 17584 |
i = 0; |
|
17632 |
i = 0; |
| 17585 |
while (1) { |
|
17633 |
while (1) { |
| 17586 |
if ((unsigned int )source < (unsigned int )end) { |
|
17634 |
if ((unsigned int )source < (unsigned int )end) { |
| 17587 |
if ((int )*source >= 48) { |
|
17635 |
if ((int )*source >= 48) { |
| 17588 |
if ((int )*source <= 55) { |
|
17636 |
if ((int )*source <= 55) { |
| 17589 |
if (i < 3) { |
|
17637 |
if (i < 3) { |
| 17590 |
|
|
17638 |
|
| 17591 |
} else { |
|
17639 |
} else { |
| 17592 |
break; |
|
17640 |
break; |
| 17593 |
} |
|
17641 |
} |
| 17594 |
} else { |
|
17642 |
} else { |
| 17595 |
break; |
|
17643 |
break; |
| 17596 |
} |
|
17644 |
} |
| 17597 |
} else { |
|
17645 |
} else { |
| 17598 |
break; |
|
17646 |
break; |
| 17599 |
} |
|
17647 |
} |
| 17600 |
} else { |
|
17648 |
} else { |
| 17601 |
break; |
|
17649 |
break; |
| 17602 |
} |
|
17650 |
} |
| 17603 |
tmp___11 = i; |
|
17651 |
tmp___11 = i; |
| 17604 |
i ++; |
|
17652 |
i ++; |
| 17605 |
tmp___12 = source; |
|
17653 |
tmp___12 = source; |
| 17606 |
source ++; |
|
17654 |
source ++; |
| 17607 |
numtmp[tmp___11] = *tmp___12; |
|
17655 |
numtmp[tmp___11] = *tmp___12; |
| 17608 |
} |
|
17656 |
} |
| 17609 |
if (i) { |
|
17657 |
if (i) { |
| 17610 |
numtmp[i] = (char )'\000'; |
|
17658 |
numtmp[i] = (char )'\000'; |
| 17611 |
tmp___13 = target; |
|
17659 |
tmp___13 = target; |
| 17612 |
target ++; |
|
17660 |
target ++; |
| 17613 |
tmp___14 = strtol((char const *)(numtmp), |
|
17661 |
tmp___14 = strtol((char const *)(numtmp), |
| 17614 |
(char **)((void *)0), 8); |
|
17662 |
(char **)((void *)0), 8); |
| 17615 |
*tmp___13 = (char )tmp___14; |
|
17663 |
*tmp___13 = (char )tmp___14; |
| 17616 |
nlen -= i; |
|
17664 |
nlen -= i; |
| 17617 |
source --; |
|
17665 |
source --; |
| 17618 |
} else { |
|
17666 |
} else { |
| 17619 |
tmp___15 = target; |
|
17667 |
tmp___15 = target; |
| 17620 |
target ++; |
|
17668 |
target ++; |
| 17621 |
*tmp___15 = *source; |
|
17669 |
*tmp___15 = *source; |
| 17622 |
nlen --; |
|
17670 |
nlen --; |
| 17623 |
} |
|
17671 |
} |
| 17624 |
} |
|
17672 |
} |
| 17625 |
} else { |
|
17673 |
} else { |
| 17626 |
tmp___16 = target; |
|
17674 |
tmp___16 = target; |
| 17627 |
target ++; |
|
17675 |
target ++; |
| 17628 |
*tmp___16 = *source; |
|
17676 |
*tmp___16 = *source; |
| 17629 |
} |
|
17677 |
} |
| 17630 |
} else { |
|
17678 |
} else { |
| 17631 |
tmp___16 = target; |
|
17679 |
tmp___16 = target; |
| 17632 |
target ++; |
|
17680 |
target ++; |
| 17633 |
*tmp___16 = *source; |
|
17681 |
*tmp___16 = *source; |
| 17634 |
} |
|
17682 |
} |
| 17635 |
source ++; |
|
17683 |
source ++; |
| 17636 |
} |
|
17684 |
} |
| 17637 |
if (nlen != 0) { |
|
17685 |
if (nlen != 0) { |
| 17638 |
*target = (char )'\000'; |
|
17686 |
*target = (char )'\000'; |
| 17639 |
} else { |
|
17687 |
} else { |
| 17640 |
|
|
17688 |
|
| 17641 |
} |
|
17689 |
} |
| 17642 |
*len = nlen; |
|
17690 |
*len = nlen; |
| 17643 |
return; |
|
17691 |
return; |
| 17644 |
} |
|
17692 |
} |
| 17645 |
} |
|
17693 |
} |
| 17646 |
char __attribute__((__visibility__("default"))) *php_addcslashes(char *str , |
|
17694 |
char __attribute__((__visibility__("default"))) *php_addcslashes(char *str , |
| 17647 |
int length , |
|
17695 |
int length , |
| 17648 |
int *new_length , |
|
17696 |
int *new_length , |
| 17649 |
int should_free , |
|
17697 |
int should_free , |
| 17650 |
char *what , |
|
17698 |
char *what , |
| 17651 |
int wlength ) |
|
17699 |
int wlength ) |
| 17652 |
{ |
|
17700 |
{ |
| 17653 |
char flags[256] ; |
|
17701 |
char flags[256] ; |
| 17654 |
char *new_str ; |
|
17702 |
char *new_str ; |
| 17655 |
size_t tmp ; |
|
17703 |
size_t tmp ; |
| 17656 |
int tmp___0 ; |
|
17704 |
int tmp___0 ; |
| 17657 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
17705 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 17658 |
char *source ; |
|
17706 |
char *source ; |
| 17659 |
char *target ; |
|
17707 |
char *target ; |
| 17660 |
char *end ; |
|
17708 |
char *end ; |
| 17661 |
char c ; |
|
17709 |
char c ; |
| 17662 |
int newlen ; |
|
17710 |
int newlen ; |
| 17663 |
size_t tmp___2 ; |
|
17711 |
size_t tmp___2 ; |
| 17664 |
char *tmp___3 ; |
|
17712 |
char *tmp___3 ; |
| 17665 |
char *tmp___4 ; |
|
17713 |
char *tmp___4 ; |
| 17666 |
char *tmp___5 ; |
|
17714 |
char *tmp___5 ; |
| 17667 |
char *tmp___6 ; |
|
17715 |
char *tmp___6 ; |
| 17668 |
char *tmp___7 ; |
|
17716 |
char *tmp___7 ; |
| 17669 |
char *tmp___8 ; |
|
17717 |
char *tmp___8 ; |
| 17670 |
char *tmp___9 ; |
|
17718 |
char *tmp___9 ; |
| 17671 |
char *tmp___10 ; |
|
17719 |
char *tmp___10 ; |
| 17672 |
int __attribute__((__visibility__("default"))) tmp___11 ; |
|
17720 |
int __attribute__((__visibility__("default"))) tmp___11 ; |
| 17673 |
char *tmp___12 ; |
|
17721 |
char *tmp___12 ; |
| 17674 |
char *tmp___13 ; |
|
17722 |
char *tmp___13 ; |
| 17675 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
|
17723 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
| 17676 |
|
|
17724 |
|
| 17677 |
{ |
|
17725 |
{ |
| 17678 |
if (length) { |
|
17726 |
if (length) { |
| 17679 |
tmp___0 = length; |
|
17727 |
tmp___0 = length; |
| 17680 |
} else { |
|
17728 |
} else { |
| 17681 |
tmp = strlen((char const *)str); |
|
17729 |
tmp = strlen((char const *)str); |
| 17682 |
length = (int )tmp; |
|
17730 |
length = (int )tmp; |
| 17683 |
tmp___0 = length; |
|
17731 |
tmp___0 = length; |
| 17684 |
} |
|
17732 |
} |
| 17685 |
tmp___1 = _safe_emalloc((size_t )4, (size_t )tmp___0, (size_t )1); |
|
17733 |
tmp___1 = _safe_emalloc((size_t )4, (size_t )tmp___0, (size_t )1); |
| 17686 |
new_str = (char *)tmp___1; |
|
17734 |
new_str = (char *)tmp___1; |
| 17687 |
if (! wlength) { |
|
17735 |
if (! wlength) { |
| 17688 |
tmp___2 = strlen((char const *)what); |
|
17736 |
tmp___2 = strlen((char const *)what); |
| 17689 |
wlength = (int )tmp___2; |
|
17737 |
wlength = (int )tmp___2; |
| 17690 |
} else { |
|
17738 |
} else { |
| 17691 |
|
|
17739 |
|
| 17692 |
} |
|
17740 |
} |
| 17693 |
php_charmask((unsigned char *)what, wlength, flags); |
|
17741 |
php_charmask((unsigned char *)what, wlength, flags); |
| 17694 |
source = str; |
|
17742 |
source = str; |
| 17695 |
end = source + length; |
|
17743 |
end = source + length; |
| 17696 |
target = new_str; |
|
17744 |
target = new_str; |
| 17697 |
while ((unsigned int )source < (unsigned int )end) { |
|
17745 |
while ((unsigned int )source < (unsigned int )end) { |
| 17698 |
c = *source; |
|
17746 |
c = *source; |
| 17699 |
if (flags[(unsigned char )c]) { |
|
17747 |
if (flags[(unsigned char )c]) { |
| 17700 |
if ((int )((unsigned char )c) < 32) { |
|
17748 |
if ((int )((unsigned char )c) < 32) { |
| 17701 |
goto _L; |
|
17749 |
goto _L; |
| 17702 |
} else |
|
17750 |
} else |
| 17703 |
if ((int )((unsigned char )c) > 126) { |
|
17751 |
if ((int )((unsigned char )c) > 126) { |
| 17704 |
_L: |
|
17752 |
_L: |
| 17705 |
tmp___3 = target; |
|
17753 |
tmp___3 = target; |
| 17706 |
target ++; |
|
17754 |
target ++; |
| 17707 |
*tmp___3 = (char )'\\'; |
|
17755 |
*tmp___3 = (char )'\\'; |
| 17708 |
switch ((int )c) { |
|
17756 |
switch ((int )c) { |
| 17709 |
case 10: |
|
17757 |
case 10: |
| 17710 |
tmp___4 = target; |
|
17758 |
tmp___4 = target; |
| 17711 |
target ++; |
|
17759 |
target ++; |
| 17712 |
*tmp___4 = (char )'n'; |
|
17760 |
*tmp___4 = (char )'n'; |
| 17713 |
break; |
|
17761 |
break; |
| 17714 |
case 9: |
|
17762 |
case 9: |
| 17715 |
tmp___5 = target; |
|
17763 |
tmp___5 = target; |
| 17716 |
target ++; |
|
17764 |
target ++; |
| 17717 |
*tmp___5 = (char )'t'; |
|
17765 |
*tmp___5 = (char )'t'; |
| 17718 |
break; |
|
17766 |
break; |
| 17719 |
case 13: |
|
17767 |
case 13: |
| 17720 |
tmp___6 = target; |
|
17768 |
tmp___6 = target; |
| 17721 |
target ++; |
|
17769 |
target ++; |
| 17722 |
*tmp___6 = (char )'r'; |
|
17770 |
*tmp___6 = (char )'r'; |
| 17723 |
break; |
|
17771 |
break; |
| 17724 |
case 7: |
|
17772 |
case 7: |
| 17725 |
tmp___7 = target; |
|
17773 |
tmp___7 = target; |
| 17726 |
target ++; |
|
17774 |
target ++; |
| 17727 |
*tmp___7 = (char )'a'; |
|
17775 |
*tmp___7 = (char )'a'; |
| 17728 |
break; |
|
17776 |
break; |
| 17729 |
case 11: |
|
17777 |
case 11: |
| 17730 |
tmp___8 = target; |
|
17778 |
tmp___8 = target; |
| 17731 |
target ++; |
|
17779 |
target ++; |
| 17732 |
*tmp___8 = (char )'v'; |
|
17780 |
*tmp___8 = (char )'v'; |
| 17733 |
break; |
|
17781 |
break; |
| 17734 |
case 8: |
|
17782 |
case 8: |
| 17735 |
tmp___9 = target; |
|
17783 |
tmp___9 = target; |
| 17736 |
target ++; |
|
17784 |
target ++; |
| 17737 |
*tmp___9 = (char )'b'; |
|
17785 |
*tmp___9 = (char )'b'; |
| 17738 |
break; |
|
17786 |
break; |
| 17739 |
case 12: |
|
17787 |
case 12: |
| 17740 |
tmp___10 = target; |
|
17788 |
tmp___10 = target; |
| 17741 |
target ++; |
|
17789 |
target ++; |
| 17742 |
*tmp___10 = (char )'f'; |
|
17790 |
*tmp___10 = (char )'f'; |
| 17743 |
break; |
|
17791 |
break; |
| 17744 |
default: |
|
17792 |
default: |
| 17745 |
tmp___11 = php_sprintf(target, "%03o", (int )((unsigned char )c)); |
|
17793 |
tmp___11 = php_sprintf(target, "%03o", (int )((unsigned char )c)); |
| 17746 |
target += tmp___11; |
|
17794 |
target += tmp___11; |
| 17747 |
} |
|
17795 |
} |
| 17748 |
goto __Cont; |
|
17796 |
goto __Cont; |
| 17749 |
} else { |
|
17797 |
} else { |
| 17750 |
|
|
17798 |
|
| 17751 |
} |
|
17799 |
} |
| 17752 |
tmp___12 = target; |
|
17800 |
tmp___12 = target; |
| 17753 |
target ++; |
|
17801 |
target ++; |
| 17754 |
*tmp___12 = (char )'\\'; |
|
17802 |
*tmp___12 = (char )'\\'; |
| 17755 |
} else { |
|
17803 |
} else { |
| 17756 |
|
|
17804 |
|
| 17757 |
} |
|
17805 |
} |
| 17758 |
tmp___13 = target; |
|
17806 |
tmp___13 = target; |
| 17759 |
target ++; |
|
17807 |
target ++; |
| 17760 |
*tmp___13 = c; |
|
17808 |
*tmp___13 = c; |
| 17761 |
__Cont: |
|
17809 |
__Cont: |
| 17762 |
source ++; |
|
17810 |
source ++; |
| 17763 |
} |
|
17811 |
} |
| 17764 |
*target = (char)0; |
|
17812 |
*target = (char)0; |
| 17765 |
newlen = target - new_str; |
|
17813 |
newlen = target - new_str; |
| 17766 |
if (target - new_str < length * 4) { |
|
17814 |
if (target - new_str < length * 4) { |
| 17767 |
tmp___14 = _erealloc((void *)new_str, (size_t )(newlen + 1), 0); |
|
17815 |
tmp___14 = _erealloc((void *)new_str, (size_t )(newlen + 1), 0); |
| 17768 |
new_str = (char *)tmp___14; |
|
17816 |
new_str = (char *)tmp___14; |
| 17769 |
} else { |
|
17817 |
} else { |
| 17770 |
|
|
17818 |
|
| 17771 |
} |
|
17819 |
} |
| 17772 |
if (new_length) { |
|
17820 |
if (new_length) { |
| 17773 |
*new_length = newlen; |
|
17821 |
*new_length = newlen; |
| 17774 |
} else { |
|
17822 |
} else { |
| 17775 |
|
|
17823 |
|
| 17776 |
} |
|
17824 |
} |
| 17777 |
if (should_free) { |
|
17825 |
if (should_free) { |
| 17778 |
if (str) { |
|
17826 |
if (str) { |
| 17779 |
if ((unsigned int )str >= (unsigned int )compiler_globals.interned_strings_start) { |
|
17827 |
if ((unsigned int )str >= (unsigned int )compiler_globals.interned_strings_start) { |
| 17780 |
if ((unsigned int )str < (unsigned int )compiler_globals.interned_strings_end) { |
|
17828 |
if ((unsigned int )str < (unsigned int )compiler_globals.interned_strings_end) { |
| 17781 |
|
|
17829 |
|
| 17782 |
} else { |
|
17830 |
} else { |
| 17783 |
_efree((void *)str); |
|
17831 |
_efree((void *)str); |
| 17784 |
} |
|
17832 |
} |
| 17785 |
} else { |
|
17833 |
} else { |
| 17786 |
_efree((void *)str); |
|
17834 |
_efree((void *)str); |
| 17787 |
} |
|
17835 |
} |
| 17788 |
} else { |
|
17836 |
} else { |
| 17789 |
|
|
17837 |
|
| 17790 |
} |
|
17838 |
} |
| 17791 |
} else { |
|
17839 |
} else { |
| 17792 |
|
|
17840 |
|
| 17793 |
} |
|
17841 |
} |
| 17794 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
17842 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 17795 |
} |
|
17843 |
} |
| 17796 |
} |
|
17844 |
} |
| 17797 |
char __attribute__((__visibility__("default"))) *php_addslashes(char *str , |
|
17845 |
char __attribute__((__visibility__("default"))) *php_addslashes(char *str , |
| 17798 |
int length , |
|
17846 |
int length , |
| 17799 |
int *new_length , |
|
17847 |
int *new_length , |
| 17800 |
int should_free ) |
|
17848 |
int should_free ) |
| 17801 |
{ |
|
17849 |
{ |
| 17802 |
char __attribute__((__visibility__("default"))) *tmp ; |
|
17850 |
char __attribute__((__visibility__("default"))) *tmp ; |
| 17803 |
|
|
17851 |
|
| 17804 |
{ |
|
17852 |
{ |
| 17805 |
tmp = php_addslashes_ex(str, length, new_length, should_free, 0); |
|
17853 |
tmp = php_addslashes_ex(str, length, new_length, should_free, 0); |
| 17806 |
return (tmp); |
|
17854 |
return (tmp); |
| 17807 |
} |
|
17855 |
} |
| 17808 |
} |
|
17856 |
} |
| 17809 |
char __attribute__((__visibility__("default"))) *php_addslashes_ex(char *str , |
|
17857 |
char __attribute__((__visibility__("default"))) *php_addslashes_ex(char *str , |
| 17810 |
int length , |
|
17858 |
int length , |
| 17811 |
int *new_length , |
|
17859 |
int *new_length , |
| 17812 |
int should_free , |
|
17860 |
int should_free , |
| 17813 |
int ignore_sybase ) |
|
17861 |
int ignore_sybase ) |
| 17814 |
{ |
|
17862 |
{ |
| 17815 |
char *new_str ; |
|
17863 |
char *new_str ; |
| 17816 |
char *source ; |
|
17864 |
char *source ; |
| 17817 |
char *target ; |
|
17865 |
char *target ; |
| 17818 |
char *end ; |
|
17866 |
char *end ; |
| 17819 |
int local_new_length ; |
|
17867 |
int local_new_length ; |
| 17820 |
size_t tmp ; |
|
17868 |
size_t tmp ; |
| 17821 |
int tmp___0 ; |
|
17869 |
int tmp___0 ; |
| 17822 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
17870 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 17823 |
char *tmp___2 ; |
|
17871 |
char *tmp___2 ; |
| 17824 |
char *tmp___3 ; |
|
17872 |
char *tmp___3 ; |
| 17825 |
char *tmp___4 ; |
|
17873 |
char *tmp___4 ; |
| 17826 |
char *tmp___5 ; |
|
17874 |
char *tmp___5 ; |
| 17827 |
char *tmp___6 ; |
|
17875 |
char *tmp___6 ; |
| 17828 |
char *tmp___7 ; |
|
17876 |
char *tmp___7 ; |
| 17829 |
char *tmp___8 ; |
|
17877 |
char *tmp___8 ; |
| 17830 |
char *tmp___9 ; |
|
17878 |
char *tmp___9 ; |
| 17831 |
char *tmp___10 ; |
|
17879 |
char *tmp___10 ; |
| 17832 |
void __attribute__((__visibility__("default"))) *tmp___11 ; |
|
17880 |
void __attribute__((__visibility__("default"))) *tmp___11 ; |
| 17833 |
|
|
17881 |
|
| 17834 |
{ |
|
17882 |
{ |
| 17835 |
if (! new_length) { |
|
17883 |
if (! new_length) { |
| 17836 |
new_length = & local_new_length; |
|
17884 |
new_length = & local_new_length; |
| 17837 |
} else { |
|
17885 |
} else { |
| 17838 |
|
|
17886 |
|
| 17839 |
} |
|
17887 |
} |
| 17840 |
if (! str) { |
|
17888 |
if (! str) { |
| 17841 |
*new_length = 0; |
|
17889 |
*new_length = 0; |
| 17842 |
return ((char __attribute__((__visibility__("default"))) *)str); |
|
17890 |
return ((char __attribute__((__visibility__("default"))) *)str); |
| 17843 |
} else { |
|
17891 |
} else { |
| 17844 |
|
|
17892 |
|
| 17845 |
} |
|
17893 |
} |
| 17846 |
if (length) { |
|
17894 |
if (length) { |
| 17847 |
tmp___0 = length; |
|
17895 |
tmp___0 = length; |
| 17848 |
} else { |
|
17896 |
} else { |
| 17849 |
tmp = strlen((char const *)str); |
|
17897 |
tmp = strlen((char const *)str); |
| 17850 |
length = (int )tmp; |
|
17898 |
length = (int )tmp; |
| 17851 |
tmp___0 = length; |
|
17899 |
tmp___0 = length; |
| 17852 |
} |
|
17900 |
} |
| 17853 |
tmp___1 = _safe_emalloc((size_t )2, (size_t )tmp___0, (size_t )1); |
|
17901 |
tmp___1 = _safe_emalloc((size_t )2, (size_t )tmp___0, (size_t )1); |
| 17854 |
new_str = (char *)tmp___1; |
|
17902 |
new_str = (char *)tmp___1; |
| 17855 |
source = str; |
|
17903 |
source = str; |
| 17856 |
end = source + length; |
|
17904 |
end = source + length; |
| 17857 |
target = new_str; |
|
17905 |
target = new_str; |
| 17858 |
if (! ignore_sybase) { |
|
17906 |
if (! ignore_sybase) { |
| 17859 |
if (core_globals.magic_quotes_sybase) { |
|
17907 |
if (core_globals.magic_quotes_sybase) { |
| 17860 |
while ((unsigned int )source < (unsigned int )end) { |
|
17908 |
while ((unsigned int )source < (unsigned int )end) { |
| 17861 |
switch ((int )*source) { |
|
17909 |
switch ((int )*source) { |
| 17862 |
case 0: |
|
17910 |
case 0: |
| 17863 |
tmp___2 = target; |
|
17911 |
tmp___2 = target; |
| 17864 |
target ++; |
|
17912 |
target ++; |
| 17865 |
*tmp___2 = (char )'\\'; |
|
17913 |
*tmp___2 = (char )'\\'; |
| 17866 |
tmp___3 = target; |
|
17914 |
tmp___3 = target; |
| 17867 |
target ++; |
|
17915 |
target ++; |
| 17868 |
*tmp___3 = (char )'0'; |
|
17916 |
*tmp___3 = (char )'0'; |
| 17869 |
break; |
|
17917 |
break; |
| 17870 |
case 39: |
|
17918 |
case 39: |
| 17871 |
tmp___4 = target; |
|
17919 |
tmp___4 = target; |
| 17872 |
target ++; |
|
17920 |
target ++; |
| 17873 |
*tmp___4 = (char )'\''; |
|
17921 |
*tmp___4 = (char )'\''; |
| 17874 |
tmp___5 = target; |
|
17922 |
tmp___5 = target; |
| 17875 |
target ++; |
|
17923 |
target ++; |
| 17876 |
*tmp___5 = (char )'\''; |
|
17924 |
*tmp___5 = (char )'\''; |
| 17877 |
break; |
|
17925 |
break; |
| 17878 |
default: |
|
17926 |
default: |
| 17879 |
tmp___6 = target; |
|
17927 |
tmp___6 = target; |
| 17880 |
target ++; |
|
17928 |
target ++; |
| 17881 |
*tmp___6 = *source; |
|
17929 |
*tmp___6 = *source; |
| 17882 |
break; |
|
17930 |
break; |
| 17883 |
} |
|
17931 |
} |
| 17884 |
source ++; |
|
17932 |
source ++; |
| 17885 |
} |
|
17933 |
} |
| 17886 |
} else { |
|
17934 |
} else { |
| 17887 |
goto _L; |
|
17935 |
goto _L; |
| 17888 |
} |
|
17936 |
} |
| 17889 |
} else { |
|
17937 |
} else { |
| 17890 |
_L: |
|
17938 |
_L: |
| 17891 |
while ((unsigned int )source < (unsigned int )end) { |
|
17939 |
while ((unsigned int )source < (unsigned int )end) { |
| 17892 |
switch ((int )*source) { |
|
17940 |
switch ((int )*source) { |
| 17893 |
case 0: |
|
17941 |
case 0: |
| 17894 |
tmp___7 = target; |
|
17942 |
tmp___7 = target; |
| 17895 |
target ++; |
|
17943 |
target ++; |
| 17896 |
*tmp___7 = (char )'\\'; |
|
17944 |
*tmp___7 = (char )'\\'; |
| 17897 |
tmp___8 = target; |
|
17945 |
tmp___8 = target; |
| 17898 |
target ++; |
|
17946 |
target ++; |
| 17899 |
*tmp___8 = (char )'0'; |
|
17947 |
*tmp___8 = (char )'0'; |
| 17900 |
break; |
|
17948 |
break; |
| 17901 |
case 92: |
|
17949 |
case 92: |
| 17902 |
case 34: |
|
17950 |
case 34: |
| 17903 |
case 39: |
|
17951 |
case 39: |
| 17904 |
tmp___9 = target; |
|
17952 |
tmp___9 = target; |
| 17905 |
target ++; |
|
17953 |
target ++; |
| 17906 |
*tmp___9 = (char )'\\'; |
|
17954 |
*tmp___9 = (char )'\\'; |
| 17907 |
default: |
|
17955 |
default: |
| 17908 |
tmp___10 = target; |
|
17956 |
tmp___10 = target; |
| 17909 |
target ++; |
|
17957 |
target ++; |
| 17910 |
*tmp___10 = *source; |
|
17958 |
*tmp___10 = *source; |
| 17911 |
break; |
|
17959 |
break; |
| 17912 |
} |
|
17960 |
} |
| 17913 |
source ++; |
|
17961 |
source ++; |
| 17914 |
} |
|
17962 |
} |
| 17915 |
} |
|
17963 |
} |
| 17916 |
*target = (char)0; |
|
17964 |
*target = (char)0; |
| 17917 |
*new_length = target - new_str; |
|
17965 |
*new_length = target - new_str; |
| 17918 |
if (should_free) { |
|
17966 |
if (should_free) { |
| 17919 |
if (str) { |
|
17967 |
if (str) { |
| 17920 |
if ((unsigned int )str >= (unsigned int )compiler_globals.interned_strings_start) { |
|
17968 |
if ((unsigned int )str >= (unsigned int )compiler_globals.interned_strings_start) { |
| 17921 |
if ((unsigned int )str < (unsigned int )compiler_globals.interned_strings_end) { |
|
17969 |
if ((unsigned int )str < (unsigned int )compiler_globals.interned_strings_end) { |
| 17922 |
|
|
17970 |
|
| 17923 |
} else { |
|
17971 |
} else { |
| 17924 |
_efree((void *)str); |
|
17972 |
_efree((void *)str); |
| 17925 |
} |
|
17973 |
} |
| 17926 |
} else { |
|
17974 |
} else { |
| 17927 |
_efree((void *)str); |
|
17975 |
_efree((void *)str); |
| 17928 |
} |
|
17976 |
} |
| 17929 |
} else { |
|
17977 |
} else { |
| 17930 |
|
|
17978 |
|
| 17931 |
} |
|
17979 |
} |
| 17932 |
} else { |
|
17980 |
} else { |
| 17933 |
|
|
17981 |
|
| 17934 |
} |
|
17982 |
} |
| 17935 |
tmp___11 = _erealloc((void *)new_str, (size_t )(*new_length + 1), 0); |
|
17983 |
tmp___11 = _erealloc((void *)new_str, (size_t )(*new_length + 1), 0); |
| 17936 |
new_str = (char *)tmp___11; |
|
17984 |
new_str = (char *)tmp___11; |
| 17937 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
17985 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 17938 |
} |
|
17986 |
} |
| 17939 |
} |
|
17987 |
} |
| 17940 |
int __attribute__((__visibility__("default"))) php_char_to_str_ex(char *str , |
|
17988 |
int __attribute__((__visibility__("default"))) php_char_to_str_ex(char *str , |
| 17941 |
uint len , |
|
17989 |
uint len , |
| 17942 |
char from , |
|
17990 |
char from , |
| 17943 |
char *to , |
|
17991 |
char *to , |
| 17944 |
int to_len , |
|
17992 |
int to_len , |
| 17945 |
zval *result , |
|
17993 |
zval *result , |
| 17946 |
int case_sensitivity , |
|
17994 |
int case_sensitivity , |
| 17947 |
int *replace_count ) |
|
17995 |
int *replace_count ) |
| 17948 |
{ |
|
17996 |
{ |
| 17949 |
int char_count ; |
|
17997 |
int char_count ; |
| 17950 |
int replaced ; |
|
17998 |
int replaced ; |
| 17951 |
char *source ; |
|
17999 |
char *source ; |
| 17952 |
char *target ; |
|
18000 |
char *target ; |
| 17953 |
char *tmp ; |
|
18001 |
char *tmp ; |
| 17954 |
char *source_end ; |
|
18002 |
char *source_end ; |
| 17955 |
char *tmp_end ; |
|
18003 |
char *tmp_end ; |
| 17956 |
char *p ; |
|
18004 |
char *p ; |
| 17957 |
char *e ; |
|
18005 |
char *e ; |
| 17958 |
void *tmp___0 ; |
|
18006 |
void *tmp___0 ; |
| 17959 |
int __res ; |
|
18007 |
int __res ; |
| 17960 |
int __c ; |
|
18008 |
int __c ; |
| 17961 |
__int32_t const **tmp___1 ; |
|
18009 |
__int32_t const **tmp___1 ; |
| 17962 |
__int32_t const **tmp___2 ; |
|
18010 |
__int32_t const **tmp___2 ; |
| 17963 |
int __res___0 ; |
|
18011 |
int __res___0 ; |
| 17964 |
int __c___0 ; |
|
18012 |
int __c___0 ; |
| 17965 |
__int32_t const **tmp___3 ; |
|
18013 |
__int32_t const **tmp___3 ; |
| 17966 |
__int32_t const **tmp___4 ; |
|
18014 |
__int32_t const **tmp___4 ; |
| 17967 |
char const *__s ; |
|
18015 |
char const *__s ; |
| 17968 |
int __l ; |
|
18016 |
int __l ; |
| 17969 |
zval *__z ; |
|
18017 |
zval *__z ; |
| 17970 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
|
18018 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
| 17971 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
|
18019 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
| 17972 |
char *p___0 ; |
|
18020 |
char *p___0 ; |
| 17973 |
char *e___0 ; |
|
18021 |
char *e___0 ; |
| 17974 |
char *s ; |
|
18022 |
char *s ; |
| 17975 |
void *tmp___7 ; |
|
18023 |
void *tmp___7 ; |
| 17976 |
int __res___1 ; |
|
18024 |
int __res___1 ; |
| 17977 |
int __c___1 ; |
|
18025 |
int __c___1 ; |
| 17978 |
__int32_t const **tmp___8 ; |
|
18026 |
__int32_t const **tmp___8 ; |
| 17979 |
__int32_t const **tmp___9 ; |
|
18027 |
__int32_t const **tmp___9 ; |
| 17980 |
int __res___2 ; |
|
18028 |
int __res___2 ; |
| 17981 |
int __c___2 ; |
|
18029 |
int __c___2 ; |
| 17982 |
__int32_t const **tmp___10 ; |
|
18030 |
__int32_t const **tmp___10 ; |
| 17983 |
__int32_t const **tmp___11 ; |
|
18031 |
__int32_t const **tmp___11 ; |
| 17984 |
|
|
18032 |
|
| 17985 |
{ |
|
18033 |
{ |
| 17986 |
char_count = 0; |
|
18034 |
char_count = 0; |
| 17987 |
replaced = 0; |
|
18035 |
replaced = 0; |
| 17988 |
source_end = str + len; |
|
18036 |
source_end = str + len; |
| 17989 |
tmp_end = (char *)((void *)0); |
|
18037 |
tmp_end = (char *)((void *)0); |
| 17990 |
if (case_sensitivity) { |
|
18038 |
if (case_sensitivity) { |
| 17991 |
p = str; |
|
18039 |
p = str; |
| 17992 |
e = p + len; |
|
18040 |
e = p + len; |
| 17993 |
while (1) { |
|
18041 |
while (1) { |
| 17994 |
tmp___0 = memchr((void const *)p, (int )from, (size_t )(e - p)); |
|
18042 |
tmp___0 = memchr((void const *)p, (int )from, (size_t )(e - p)); |
| 17995 |
p = (char *)tmp___0; |
|
18043 |
p = (char *)tmp___0; |
| 17996 |
if (p) { |
|
18044 |
if (p) { |
| 17997 |
|
|
18045 |
|
| 17998 |
} else { |
|
18046 |
} else { |
| 17999 |
break; |
|
18047 |
break; |
| 18000 |
} |
|
18048 |
} |
| 18001 |
char_count ++; |
|
18049 |
char_count ++; |
| 18002 |
p ++; |
|
18050 |
p ++; |
| 18003 |
} |
|
18051 |
} |
| 18004 |
} else { |
|
18052 |
} else { |
| 18005 |
source = str; |
|
18053 |
source = str; |
| 18006 |
while ((unsigned int )source < (unsigned int )source_end) { |
|
18054 |
while ((unsigned int )source < (unsigned int )source_end) { |
| 18007 |
if (sizeof(*source) > 1U) { |
|
18055 |
if (sizeof(*source) > 1U) { |
| 18008 |
__res = tolower((int )*source); |
|
18056 |
__res = tolower((int )*source); |
| 18009 |
} else { |
|
18057 |
} else { |
| 18010 |
tmp___2 = __ctype_tolower_loc(); |
|
18058 |
tmp___2 = __ctype_tolower_loc(); |
| 18011 |
__res = (int )*(*tmp___2 + (int )*source); |
|
18059 |
__res = (int )*(*tmp___2 + (int )*source); |
| 18012 |
} |
|
18060 |
} |
| 18013 |
if (sizeof(from) > 1U) { |
|
18061 |
if (sizeof(from) > 1U) { |
| 18014 |
__res___0 = tolower((int )from); |
|
18062 |
__res___0 = tolower((int )from); |
| 18015 |
} else { |
|
18063 |
} else { |
| 18016 |
tmp___4 = __ctype_tolower_loc(); |
|
18064 |
tmp___4 = __ctype_tolower_loc(); |
| 18017 |
__res___0 = (int )*(*tmp___4 + (int )from); |
|
18065 |
__res___0 = (int )*(*tmp___4 + (int )from); |
| 18018 |
} |
|
18066 |
} |
| 18019 |
if (__res == __res___0) { |
|
18067 |
if (__res == __res___0) { |
| 18020 |
char_count ++; |
|
18068 |
char_count ++; |
| 18021 |
} else { |
|
18069 |
} else { |
| 18022 |
|
|
18070 |
|
| 18023 |
} |
|
18071 |
} |
| 18024 |
source ++; |
|
18072 |
source ++; |
| 18025 |
} |
|
18073 |
} |
| 18026 |
} |
|
18074 |
} |
| 18027 |
if (char_count == 0) { |
|
18075 |
if (char_count == 0) { |
| 18028 |
if (case_sensitivity) { |
|
18076 |
if (case_sensitivity) { |
| 18029 |
while (1) { |
|
18077 |
while (1) { |
| 18030 |
__s = (char const *)str; |
|
18078 |
__s = (char const *)str; |
| 18031 |
__l = (int )len; |
|
18079 |
__l = (int )len; |
| 18032 |
__z = result; |
|
18080 |
__z = result; |
| 18033 |
__z->value.str.len = __l; |
|
18081 |
__z->value.str.len = __l; |
| 18034 |
tmp___5 = _estrndup(__s, (unsigned int )__l); |
|
18082 |
tmp___5 = _estrndup(__s, (unsigned int )__l); |
| 18035 |
__z->value.str.val = (char *)tmp___5; |
|
18083 |
__z->value.str.val = (char *)tmp___5; |
| 18036 |
__z->type = (zend_uchar )6; |
|
18084 |
__z->type = (zend_uchar )6; |
| 18037 |
break; |
|
18085 |
break; |
| 18038 |
} |
|
18086 |
} |
| 18039 |
return ((int __attribute__((__visibility__("default"))) )0); |
|
18087 |
return ((int __attribute__((__visibility__("default"))) )0); |
| 18040 |
} else { |
|
18088 |
} else { |
| 18041 |
|
|
18089 |
|
| 18042 |
} |
|
18090 |
} |
| 18043 |
} else { |
|
18091 |
} else { |
| 18044 |
|
|
18092 |
|
| 18045 |
} |
|
18093 |
} |
| 18046 |
result->value.str.len = (int )(len + (uint )(char_count * (to_len - 1))); |
|
18094 |
result->value.str.len = (int )(len + (uint )(char_count * (to_len - 1))); |
| 18047 |
tmp___6 = _safe_emalloc((size_t )char_count, (size_t )to_len, len + 1U); |
|
18095 |
tmp___6 = _safe_emalloc((size_t )char_count, (size_t )to_len, len + 1U); |
| 18048 |
target = (char *)tmp___6; |
|
18096 |
target = (char *)tmp___6; |
| 18049 |
result->value.str.val = target; |
|
18097 |
result->value.str.val = target; |
| 18050 |
result->type = (zend_uchar )6; |
|
18098 |
result->type = (zend_uchar )6; |
| 18051 |
if (case_sensitivity) { |
|
18099 |
if (case_sensitivity) { |
| 18052 |
p___0 = str; |
|
18100 |
p___0 = str; |
| 18053 |
e___0 = p___0 + len; |
|
18101 |
e___0 = p___0 + len; |
| 18054 |
s = str; |
|
18102 |
s = str; |
| 18055 |
while (1) { |
|
18103 |
while (1) { |
| 18056 |
tmp___7 = memchr((void const *)p___0, (int )from, |
|
18104 |
tmp___7 = memchr((void const *)p___0, (int )from, |
| 18057 |
(size_t )(e___0 - p___0)); |
|
18105 |
(size_t )(e___0 - p___0)); |
| 18058 |
p___0 = (char *)tmp___7; |
|
18106 |
p___0 = (char *)tmp___7; |
| 18059 |
if (p___0) { |
|
18107 |
if (p___0) { |
| 18060 |
|
|
18108 |
|
| 18061 |
} else { |
|
18109 |
} else { |
| 18062 |
break; |
|
18110 |
break; |
| 18063 |
} |
|
18111 |
} |
| 18064 |
memcpy((void *)target, |
|
18112 |
memcpy((void *)target, |
| 18065 |
(void const *)s, (size_t )(p___0 - s)); |
|
18113 |
(void const *)s, (size_t )(p___0 - s)); |
| 18066 |
target += p___0 - s; |
|
18114 |
target += p___0 - s; |
| 18067 |
memcpy((void *)target, |
|
18115 |
memcpy((void *)target, |
| 18068 |
(void const *)to, (size_t )to_len); |
|
18116 |
(void const *)to, (size_t )to_len); |
| 18069 |
target += to_len; |
|
18117 |
target += to_len; |
| 18070 |
p___0 ++; |
|
18118 |
p___0 ++; |
| 18071 |
s = p___0; |
|
18119 |
s = p___0; |
| 18072 |
if (replace_count) { |
|
18120 |
if (replace_count) { |
| 18073 |
(*replace_count) ++; |
|
18121 |
(*replace_count) ++; |
| 18074 |
} else { |
|
18122 |
} else { |
| 18075 |
|
|
18123 |
|
| 18076 |
} |
|
18124 |
} |
| 18077 |
} |
|
18125 |
} |
| 18078 |
if ((unsigned int )s < (unsigned int )e___0) { |
|
18126 |
if ((unsigned int )s < (unsigned int )e___0) { |
| 18079 |
memcpy((void *)target, |
|
18127 |
memcpy((void *)target, |
| 18080 |
(void const *)s, (size_t )(e___0 - s)); |
|
18128 |
(void const *)s, (size_t )(e___0 - s)); |
| 18081 |
target += e___0 - s; |
|
18129 |
target += e___0 - s; |
| 18082 |
} else { |
|
18130 |
} else { |
| 18083 |
|
|
18131 |
|
| 18084 |
} |
|
18132 |
} |
| 18085 |
} else { |
|
18133 |
} else { |
| 18086 |
source = str; |
|
18134 |
source = str; |
| 18087 |
while ((unsigned int )source < (unsigned int )source_end) { |
|
18135 |
while ((unsigned int )source < (unsigned int )source_end) { |
| 18088 |
if (sizeof(*source) > 1U) { |
|
18136 |
if (sizeof(*source) > 1U) { |
| 18089 |
__res___1 = tolower((int )*source); |
|
18137 |
__res___1 = tolower((int )*source); |
| 18090 |
} else { |
|
18138 |
} else { |
| 18091 |
tmp___9 = __ctype_tolower_loc(); |
|
18139 |
tmp___9 = __ctype_tolower_loc(); |
| 18092 |
__res___1 = (int )*(*tmp___9 + (int )*source); |
|
18140 |
__res___1 = (int )*(*tmp___9 + (int )*source); |
| 18093 |
} |
|
18141 |
} |
| 18094 |
if (sizeof(from) > 1U) { |
|
18142 |
if (sizeof(from) > 1U) { |
| 18095 |
__res___2 = tolower((int )from); |
|
18143 |
__res___2 = tolower((int )from); |
| 18096 |
} else { |
|
18144 |
} else { |
| 18097 |
tmp___11 = __ctype_tolower_loc(); |
|
18145 |
tmp___11 = __ctype_tolower_loc(); |
| 18098 |
__res___2 = (int )*(*tmp___11 + (int )from); |
|
18146 |
__res___2 = (int )*(*tmp___11 + (int )from); |
| 18099 |
} |
|
18147 |
} |
| 18100 |
if (__res___1 == __res___2) { |
|
18148 |
if (__res___1 == __res___2) { |
| 18101 |
replaced = 1; |
|
18149 |
replaced = 1; |
| 18102 |
if (replace_count) { |
|
18150 |
if (replace_count) { |
| 18103 |
(*replace_count) ++; |
|
18151 |
(*replace_count) ++; |
| 18104 |
} else { |
|
18152 |
} else { |
| 18105 |
|
|
18153 |
|
| 18106 |
} |
|
18154 |
} |
| 18107 |
tmp = to; |
|
18155 |
tmp = to; |
| 18108 |
tmp_end = tmp + to_len; |
|
18156 |
tmp_end = tmp + to_len; |
| 18109 |
while ((unsigned int )tmp < (unsigned int )tmp_end) { |
|
18157 |
while ((unsigned int )tmp < (unsigned int )tmp_end) { |
| 18110 |
*target = *tmp; |
|
18158 |
*target = *tmp; |
| 18111 |
target ++; |
|
18159 |
target ++; |
| 18112 |
tmp ++; |
|
18160 |
tmp ++; |
| 18113 |
} |
|
18161 |
} |
| 18114 |
} else { |
|
18162 |
} else { |
| 18115 |
*target = *source; |
|
18163 |
*target = *source; |
| 18116 |
target ++; |
|
18164 |
target ++; |
| 18117 |
} |
|
18165 |
} |
| 18118 |
source ++; |
|
18166 |
source ++; |
| 18119 |
} |
|
18167 |
} |
| 18120 |
} |
|
18168 |
} |
| 18121 |
*target = (char)0; |
|
18169 |
*target = (char)0; |
| 18122 |
return ((int __attribute__((__visibility__("default"))) )replaced); |
|
18170 |
return ((int __attribute__((__visibility__("default"))) )replaced); |
| 18123 |
} |
|
18171 |
} |
| 18124 |
} |
|
18172 |
} |
| 18125 |
int __attribute__((__visibility__("default"))) php_char_to_str(char *str , |
|
18173 |
int __attribute__((__visibility__("default"))) php_char_to_str(char *str , |
| 18126 |
uint len , |
|
18174 |
uint len , |
| 18127 |
char from , |
|
18175 |
char from , |
| 18128 |
char *to , |
|
18176 |
char *to , |
| 18129 |
int to_len , |
|
18177 |
int to_len , |
| 18130 |
zval *result ) |
|
18178 |
zval *result ) |
| 18131 |
{ |
|
18179 |
{ |
| 18132 |
int __attribute__((__visibility__("default"))) tmp ; |
|
18180 |
int __attribute__((__visibility__("default"))) tmp ; |
| 18133 |
|
|
18181 |
|
| 18134 |
{ |
|
18182 |
{ |
| 18135 |
tmp = php_char_to_str_ex(str, len, from, to, to_len, result, 1, |
|
18183 |
tmp = php_char_to_str_ex(str, len, from, to, to_len, result, 1, |
| 18136 |
(int *)((void *)0)); |
|
18184 |
(int *)((void *)0)); |
| 18137 |
return (tmp); |
|
18185 |
return (tmp); |
| 18138 |
} |
|
18186 |
} |
| 18139 |
} |
|
18187 |
} |
| 18140 |
char __attribute__((__visibility__("default"))) *php_str_to_str_ex(char *haystack , |
|
18188 |
char __attribute__((__visibility__("default"))) *php_str_to_str_ex(char *haystack , |
| 18141 |
int length , |
|
18189 |
int length , |
| 18142 |
char *needle , |
|
18190 |
char *needle , |
| 18143 |
int needle_len , |
|
18191 |
int needle_len , |
| 18144 |
char *str , |
|
18192 |
char *str , |
| 18145 |
int str_len , |
|
18193 |
int str_len , |
| 18146 |
int *_new_length , |
|
18194 |
int *_new_length , |
| 18147 |
int case_sensitivity , |
|
18195 |
int case_sensitivity , |
| 18148 |
int *replace_count ) |
|
18196 |
int *replace_count ) |
| 18149 |
{ |
|
18197 |
{ |
| 18150 |
char *new_str ; |
|
18198 |
char *new_str ; |
| 18151 |
char *end ; |
|
18199 |
char *end ; |
| 18152 |
char *haystack_dup ; |
|
18200 |
char *haystack_dup ; |
| 18153 |
char *needle_dup ; |
|
18201 |
char *needle_dup ; |
| 18154 |
char *e ; |
|
18202 |
char *e ; |
| 18155 |
char *s ; |
|
18203 |
char *s ; |
| 18156 |
char *p ; |
|
18204 |
char *p ; |
| 18157 |
char *r ; |
|
18205 |
char *r ; |
| 18158 |
char __attribute__((__visibility__("default"))) *tmp ; |
|
18206 |
char __attribute__((__visibility__("default"))) *tmp ; |
| 18159 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
18207 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 18160 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
18208 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 18161 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
18209 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 18162 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
18210 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 18163 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
|
18211 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
| 18164 |
int count ; |
|
18212 |
int count ; |
| 18165 |
char *o ; |
|
18213 |
char *o ; |
| 18166 |
char *n ; |
|
18214 |
char *n ; |
| 18167 |
char *endp ; |
|
18215 |
char *endp ; |
| 18168 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
|
18216 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
| 18169 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
|
18217 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
| 18170 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
|
18218 |
void __attribute__((__visibility__("default"))) *tmp___7 ; |
| 18171 |
char __attribute__((__visibility__("default"))) *tmp___8 ; |
|
18219 |
char __attribute__((__visibility__("default"))) *tmp___8 ; |
| 18172 |
char *l_haystack ; |
|
18220 |
char *l_haystack ; |
| 18173 |
char *l_needle ; |
|
18221 |
char *l_needle ; |
| 18174 |
char __attribute__((__visibility__("default"))) *tmp___9 ; |
|
18222 |
char __attribute__((__visibility__("default"))) *tmp___9 ; |
| 18175 |
char __attribute__((__visibility__("default"))) *tmp___10 ; |
|
18223 |
char __attribute__((__visibility__("default"))) *tmp___10 ; |
| 18176 |
int tmp___11 ; |
|
18224 |
int tmp___11 ; |
| 18177 |
int tmp___12 ; |
|
18225 |
int tmp___12 ; |
| 18178 |
char __attribute__((__visibility__("default"))) *tmp___13 ; |
|
18226 |
char __attribute__((__visibility__("default"))) *tmp___13 ; |
| 18179 |
|
|
18227 |
|
| 18180 |
{ |
|
18228 |
{ |
| 18181 |
if (needle_len < length) { |
|
18229 |
if (needle_len < length) { |
| 18182 |
haystack_dup = (char *)((void *)0); |
|
18230 |
haystack_dup = (char *)((void *)0); |
| 18183 |
needle_dup = (char *)((void *)0); |
|
18231 |
needle_dup = (char *)((void *)0); |
| 18184 |
if (needle_len == str_len) { |
|
18232 |
if (needle_len == str_len) { |
| 18185 |
tmp = _estrndup((char const *)haystack, (unsigned int )length); |
|
18233 |
tmp = _estrndup((char const *)haystack, (unsigned int )length); |
| 18186 |
new_str = (char *)tmp; |
|
18234 |
new_str = (char *)tmp; |
| 18187 |
*_new_length = length; |
|
18235 |
*_new_length = length; |
| 18188 |
if (case_sensitivity) { |
|
18236 |
if (case_sensitivity) { |
| 18189 |
end = new_str + length; |
|
18237 |
end = new_str + length; |
| 18190 |
p = new_str; |
|
18238 |
p = new_str; |
| 18191 |
while (1) { |
|
18239 |
while (1) { |
| 18192 |
r = zend_memnstr(p, needle, needle_len, end); |
|
18240 |
r = zend_memnstr(p, needle, needle_len, end); |
| 18193 |
if (r) { |
|
18241 |
if (r) { |
| 18194 |
|
|
18242 |
|
| 18195 |
} else { |
|
18243 |
} else { |
| 18196 |
break; |
|
18244 |
break; |
| 18197 |
} |
|
18245 |
} |
| 18198 |
memcpy((void *)r, |
|
18246 |
memcpy((void *)r, |
| 18199 |
(void const *)str, (size_t )str_len); |
|
18247 |
(void const *)str, (size_t )str_len); |
| 18200 |
if (replace_count) { |
|
18248 |
if (replace_count) { |
| 18201 |
(*replace_count) ++; |
|
18249 |
(*replace_count) ++; |
| 18202 |
} else { |
|
18250 |
} else { |
| 18203 |
|
|
18251 |
|
| 18204 |
} |
|
18252 |
} |
| 18205 |
p = r + needle_len; |
|
18253 |
p = r + needle_len; |
| 18206 |
} |
|
18254 |
} |
| 18207 |
} else { |
|
18255 |
} else { |
| 18208 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )length); |
|
18256 |
tmp___0 = _estrndup((char const *)haystack, (unsigned int )length); |
| 18209 |
haystack_dup = (char *)tmp___0; |
|
18257 |
haystack_dup = (char *)tmp___0; |
| 18210 |
tmp___1 = _estrndup((char const *)needle, (unsigned int )needle_len); |
|
18258 |
tmp___1 = _estrndup((char const *)needle, (unsigned int )needle_len); |
| 18211 |
needle_dup = (char *)tmp___1; |
|
18259 |
needle_dup = (char *)tmp___1; |
| 18212 |
php_strtolower(haystack_dup, (size_t )length); |
|
18260 |
php_strtolower(haystack_dup, (size_t )length); |
| 18213 |
php_strtolower(needle_dup, (size_t )needle_len); |
|
18261 |
php_strtolower(needle_dup, (size_t )needle_len); |
| 18214 |
end = haystack_dup + length; |
|
18262 |
end = haystack_dup + length; |
| 18215 |
p = haystack_dup; |
|
18263 |
p = haystack_dup; |
| 18216 |
while (1) { |
|
18264 |
while (1) { |
| 18217 |
r = zend_memnstr(p, needle_dup, needle_len, end); |
|
18265 |
r = zend_memnstr(p, needle_dup, needle_len, end); |
| 18218 |
if (r) { |
|
18266 |
if (r) { |
| 18219 |
|
|
18267 |
|
| 18220 |
} else { |
|
18268 |
} else { |
| 18221 |
break; |
|
18269 |
break; |
| 18222 |
} |
|
18270 |
} |
| 18223 |
memcpy((void *)(new_str + (r - haystack_dup)), |
|
18271 |
memcpy((void *)(new_str + (r - haystack_dup)), |
| 18224 |
(void const *)str, (size_t )str_len); |
|
18272 |
(void const *)str, (size_t )str_len); |
| 18225 |
if (replace_count) { |
|
18273 |
if (replace_count) { |
| 18226 |
(*replace_count) ++; |
|
18274 |
(*replace_count) ++; |
| 18227 |
} else { |
|
18275 |
} else { |
| 18228 |
|
|
18276 |
|
| 18229 |
} |
|
18277 |
} |
| 18230 |
p = r + needle_len; |
|
18278 |
p = r + needle_len; |
| 18231 |
} |
|
18279 |
} |
| 18232 |
_efree((void *)haystack_dup); |
|
18280 |
_efree((void *)haystack_dup); |
| 18233 |
_efree((void *)needle_dup); |
|
18281 |
_efree((void *)needle_dup); |
| 18234 |
} |
|
18282 |
} |
| 18235 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
18283 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 18236 |
} else { |
|
18284 |
} else { |
| 18237 |
if (! case_sensitivity) { |
|
18285 |
if (! case_sensitivity) { |
| 18238 |
tmp___2 = _estrndup((char const *)haystack, (unsigned int )length); |
|
18286 |
tmp___2 = _estrndup((char const *)haystack, (unsigned int )length); |
| 18239 |
haystack_dup = (char *)tmp___2; |
|
18287 |
haystack_dup = (char *)tmp___2; |
| 18240 |
tmp___3 = _estrndup((char const *)needle, (unsigned int )needle_len); |
|
18288 |
tmp___3 = _estrndup((char const *)needle, (unsigned int )needle_len); |
| 18241 |
needle_dup = (char *)tmp___3; |
|
18289 |
needle_dup = (char *)tmp___3; |
| 18242 |
php_strtolower(haystack_dup, (size_t )length); |
|
18290 |
php_strtolower(haystack_dup, (size_t )length); |
| 18243 |
php_strtolower(needle_dup, (size_t )needle_len); |
|
18291 |
php_strtolower(needle_dup, (size_t )needle_len); |
| 18244 |
} else { |
|
18292 |
} else { |
| 18245 |
|
|
18293 |
|
| 18246 |
} |
|
18294 |
} |
| 18247 |
if (str_len < needle_len) { |
|
18295 |
if (str_len < needle_len) { |
| 18248 |
tmp___4 = _emalloc((size_t )(length + 1)); |
|
18296 |
tmp___4 = _emalloc((size_t )(length + 1)); |
| 18249 |
new_str = (char *)tmp___4; |
|
18297 |
new_str = (char *)tmp___4; |
| 18250 |
} else { |
|
18298 |
} else { |
| 18251 |
count = 0; |
|
18299 |
count = 0; |
| 18252 |
if (case_sensitivity) { |
|
18300 |
if (case_sensitivity) { |
| 18253 |
o = haystack; |
|
18301 |
o = haystack; |
| 18254 |
n = needle; |
|
18302 |
n = needle; |
| 18255 |
} else { |
|
18303 |
} else { |
| 18256 |
o = haystack_dup; |
|
18304 |
o = haystack_dup; |
| 18257 |
n = needle_dup; |
|
18305 |
n = needle_dup; |
| 18258 |
} |
|
18306 |
} |
| 18259 |
endp = o + length; |
|
18307 |
endp = o + length; |
| 18260 |
while (1) { |
|
18308 |
while (1) { |
| 18261 |
o = zend_memnstr(o, n, needle_len, endp); |
|
18309 |
o = zend_memnstr(o, n, needle_len, endp); |
| 18262 |
if (o) { |
|
18310 |
if (o) { |
| 18263 |
|
|
18311 |
|
| 18264 |
} else { |
|
18312 |
} else { |
| 18265 |
break; |
|
18313 |
break; |
| 18266 |
} |
|
18314 |
} |
| 18267 |
o += needle_len; |
|
18315 |
o += needle_len; |
| 18268 |
count ++; |
|
18316 |
count ++; |
| 18269 |
} |
|
18317 |
} |
| 18270 |
if (count == 0) { |
|
18318 |
if (count == 0) { |
| 18271 |
if (haystack_dup) { |
|
18319 |
if (haystack_dup) { |
| 18272 |
_efree((void *)haystack_dup); |
|
18320 |
_efree((void *)haystack_dup); |
| 18273 |
} else { |
|
18321 |
} else { |
| 18274 |
|
|
18322 |
|
| 18275 |
} |
|
18323 |
} |
| 18276 |
if (needle_dup) { |
|
18324 |
if (needle_dup) { |
| 18277 |
_efree((void *)needle_dup); |
|
18325 |
_efree((void *)needle_dup); |
| 18278 |
} else { |
|
18326 |
} else { |
| 18279 |
|
|
18327 |
|
| 18280 |
} |
|
18328 |
} |
| 18281 |
tmp___5 = _estrndup((char const *)haystack, (unsigned int )length); |
|
18329 |
tmp___5 = _estrndup((char const *)haystack, (unsigned int )length); |
| 18282 |
new_str = (char *)tmp___5; |
|
18330 |
new_str = (char *)tmp___5; |
| 18283 |
if (_new_length) { |
|
18331 |
if (_new_length) { |
| 18284 |
*_new_length = length; |
|
18332 |
*_new_length = length; |
| 18285 |
} else { |
|
18333 |
} else { |
| 18286 |
|
|
18334 |
|
| 18287 |
} |
|
18335 |
} |
| 18288 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
18336 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 18289 |
} else { |
|
18337 |
} else { |
| 18290 |
tmp___6 = _safe_emalloc((size_t )count, |
|
18338 |
tmp___6 = _safe_emalloc((size_t )count, |
| 18291 |
(size_t )(str_len - needle_len), |
|
18339 |
(size_t )(str_len - needle_len), |
| 18292 |
(size_t )(length + 1)); |
|
18340 |
(size_t )(length + 1)); |
| 18293 |
new_str = (char *)tmp___6; |
|
18341 |
new_str = (char *)tmp___6; |
| 18294 |
} |
|
18342 |
} |
| 18295 |
} |
|
18343 |
} |
| 18296 |
s = new_str; |
|
18344 |
s = new_str; |
| 18297 |
e = s; |
|
18345 |
e = s; |
| 18298 |
if (case_sensitivity) { |
|
18346 |
if (case_sensitivity) { |
| 18299 |
end = haystack + length; |
|
18347 |
end = haystack + length; |
| 18300 |
p = haystack; |
|
18348 |
p = haystack; |
| 18301 |
while (1) { |
|
18349 |
while (1) { |
| 18302 |
r = zend_memnstr(p, needle, needle_len, end); |
|
18350 |
r = zend_memnstr(p, needle, needle_len, end); |
| 18303 |
if (r) { |
|
18351 |
if (r) { |
| 18304 |
|
|
18352 |
|
| 18305 |
} else { |
|
18353 |
} else { |
| 18306 |
break; |
|
18354 |
break; |
| 18307 |
} |
|
18355 |
} |
| 18308 |
memcpy((void *)e, (void const *)p, |
|
18356 |
memcpy((void *)e, (void const *)p, |
| 18309 |
(size_t )(r - p)); |
|
18357 |
(size_t )(r - p)); |
| 18310 |
e += r - p; |
|
18358 |
e += r - p; |
| 18311 |
memcpy((void *)e, |
|
18359 |
memcpy((void *)e, |
| 18312 |
(void const *)str, (size_t )str_len); |
|
18360 |
(void const *)str, (size_t )str_len); |
| 18313 |
e += str_len; |
|
18361 |
e += str_len; |
| 18314 |
if (replace_count) { |
|
18362 |
if (replace_count) { |
| 18315 |
(*replace_count) ++; |
|
18363 |
(*replace_count) ++; |
| 18316 |
} else { |
|
18364 |
} else { |
| 18317 |
|
|
18365 |
|
| 18318 |
} |
|
18366 |
} |
| 18319 |
p = r + needle_len; |
|
18367 |
p = r + needle_len; |
| 18320 |
} |
|
18368 |
} |
| 18321 |
if ((unsigned int )p < (unsigned int )end) { |
|
18369 |
if ((unsigned int )p < (unsigned int )end) { |
| 18322 |
memcpy((void *)e, (void const *)p, |
|
18370 |
memcpy((void *)e, (void const *)p, |
| 18323 |
(size_t )(end - p)); |
|
18371 |
(size_t )(end - p)); |
| 18324 |
e += end - p; |
|
18372 |
e += end - p; |
| 18325 |
} else { |
|
18373 |
} else { |
| 18326 |
|
|
18374 |
|
| 18327 |
} |
|
18375 |
} |
| 18328 |
} else { |
|
18376 |
} else { |
| 18329 |
end = haystack_dup + length; |
|
18377 |
end = haystack_dup + length; |
| 18330 |
p = haystack_dup; |
|
18378 |
p = haystack_dup; |
| 18331 |
while (1) { |
|
18379 |
while (1) { |
| 18332 |
r = zend_memnstr(p, needle_dup, needle_len, end); |
|
18380 |
r = zend_memnstr(p, needle_dup, needle_len, end); |
| 18333 |
if (r) { |
|
18381 |
if (r) { |
| 18334 |
|
|
18382 |
|
| 18335 |
} else { |
|
18383 |
} else { |
| 18336 |
break; |
|
18384 |
break; |
| 18337 |
} |
|
18385 |
} |
| 18338 |
memcpy((void *)e, |
|
18386 |
memcpy((void *)e, |
| 18339 |
(void const *)(haystack + (p - haystack_dup)), |
|
18387 |
(void const *)(haystack + (p - haystack_dup)), |
| 18340 |
(size_t )(r - p)); |
|
18388 |
(size_t )(r - p)); |
| 18341 |
e += r - p; |
|
18389 |
e += r - p; |
| 18342 |
memcpy((void *)e, |
|
18390 |
memcpy((void *)e, |
| 18343 |
(void const *)str, (size_t )str_len); |
|
18391 |
(void const *)str, (size_t )str_len); |
| 18344 |
e += str_len; |
|
18392 |
e += str_len; |
| 18345 |
if (replace_count) { |
|
18393 |
if (replace_count) { |
| 18346 |
(*replace_count) ++; |
|
18394 |
(*replace_count) ++; |
| 18347 |
} else { |
|
18395 |
} else { |
| 18348 |
|
|
18396 |
|
| 18349 |
} |
|
18397 |
} |
| 18350 |
p = r + needle_len; |
|
18398 |
p = r + needle_len; |
| 18351 |
} |
|
18399 |
} |
| 18352 |
if ((unsigned int )p < (unsigned int )end) { |
|
18400 |
if ((unsigned int )p < (unsigned int )end) { |
| 18353 |
memcpy((void *)e, |
|
18401 |
memcpy((void *)e, |
| 18354 |
(void const *)(haystack + (p - haystack_dup)), |
|
18402 |
(void const *)(haystack + (p - haystack_dup)), |
| 18355 |
(size_t )(end - p)); |
|
18403 |
(size_t )(end - p)); |
| 18356 |
e += end - p; |
|
18404 |
e += end - p; |
| 18357 |
} else { |
|
18405 |
} else { |
| 18358 |
|
|
18406 |
|
| 18359 |
} |
|
18407 |
} |
| 18360 |
} |
|
18408 |
} |
| 18361 |
if (haystack_dup) { |
|
18409 |
if (haystack_dup) { |
| 18362 |
_efree((void *)haystack_dup); |
|
18410 |
_efree((void *)haystack_dup); |
| 18363 |
} else { |
|
18411 |
} else { |
| 18364 |
|
|
18412 |
|
| 18365 |
} |
|
18413 |
} |
| 18366 |
if (needle_dup) { |
|
18414 |
if (needle_dup) { |
| 18367 |
_efree((void *)needle_dup); |
|
18415 |
_efree((void *)needle_dup); |
| 18368 |
} else { |
|
18416 |
} else { |
| 18369 |
|
|
18417 |
|
| 18370 |
} |
|
18418 |
} |
| 18371 |
*e = (char )'\000'; |
|
18419 |
*e = (char )'\000'; |
| 18372 |
*_new_length = e - s; |
|
18420 |
*_new_length = e - s; |
| 18373 |
tmp___7 = _erealloc((void *)new_str, (size_t )(*_new_length + 1), 0); |
|
18421 |
tmp___7 = _erealloc((void *)new_str, (size_t )(*_new_length + 1), 0); |
| 18374 |
new_str = (char *)tmp___7; |
|
18422 |
new_str = (char *)tmp___7; |
| 18375 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
18423 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 18376 |
} |
|
18424 |
} |
| 18377 |
} else |
|
18425 |
} else |
| 18378 |
if (needle_len > length) { |
|
18426 |
if (needle_len > length) { |
| 18379 |
nothing_todo: |
|
18427 |
nothing_todo: |
| 18380 |
*_new_length = length; |
|
18428 |
*_new_length = length; |
| 18381 |
tmp___8 = _estrndup((char const *)haystack, (unsigned int )length); |
|
18429 |
tmp___8 = _estrndup((char const *)haystack, (unsigned int )length); |
| 18382 |
new_str = (char *)tmp___8; |
|
18430 |
new_str = (char *)tmp___8; |
| 18383 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
18431 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 18384 |
} else { |
|
18432 |
} else { |
| 18385 |
if (case_sensitivity) { |
|
18433 |
if (case_sensitivity) { |
| 18386 |
tmp___12 = memcmp((void const *)haystack, (void const *)needle, |
|
18434 |
tmp___12 = memcmp((void const *)haystack, (void const *)needle, |
| 18387 |
(size_t )length); |
|
18435 |
(size_t )length); |
| 18388 |
if (tmp___12) { |
|
18436 |
if (tmp___12) { |
| 18389 |
goto nothing_todo; |
|
18437 |
goto nothing_todo; |
| 18390 |
} else { |
|
18438 |
} else { |
| 18391 |
goto _L; |
|
18439 |
goto _L; |
| 18392 |
} |
|
18440 |
} |
| 18393 |
} else |
|
18441 |
} else |
| 18394 |
_L: |
|
18442 |
_L: |
| 18395 |
if (! case_sensitivity) { |
|
18443 |
if (! case_sensitivity) { |
| 18396 |
tmp___9 = _estrndup((char const *)haystack, (unsigned int )length); |
|
18444 |
tmp___9 = _estrndup((char const *)haystack, (unsigned int )length); |
| 18397 |
l_haystack = (char *)tmp___9; |
|
18445 |
l_haystack = (char *)tmp___9; |
| 18398 |
tmp___10 = _estrndup((char const *)needle, (unsigned int )length); |
|
18446 |
tmp___10 = _estrndup((char const *)needle, (unsigned int )length); |
| 18399 |
l_needle = (char *)tmp___10; |
|
18447 |
l_needle = (char *)tmp___10; |
| 18400 |
php_strtolower(l_haystack, (size_t )length); |
|
18448 |
php_strtolower(l_haystack, (size_t )length); |
| 18401 |
php_strtolower(l_needle, (size_t )length); |
|
18449 |
php_strtolower(l_needle, (size_t )length); |
| 18402 |
tmp___11 = memcmp((void const *)l_haystack, (void const *)l_needle, |
|
18450 |
tmp___11 = memcmp((void const *)l_haystack, (void const *)l_needle, |
| 18403 |
(size_t )length); |
|
18451 |
(size_t )length); |
| 18404 |
if (tmp___11) { |
|
18452 |
if (tmp___11) { |
| 18405 |
_efree((void *)l_haystack); |
|
18453 |
_efree((void *)l_haystack); |
| 18406 |
_efree((void *)l_needle); |
|
18454 |
_efree((void *)l_needle); |
| 18407 |
goto nothing_todo; |
|
18455 |
goto nothing_todo; |
| 18408 |
} else { |
|
18456 |
} else { |
| 18409 |
|
|
18457 |
|
| 18410 |
} |
|
18458 |
} |
| 18411 |
_efree((void *)l_haystack); |
|
18459 |
_efree((void *)l_haystack); |
| 18412 |
_efree((void *)l_needle); |
|
18460 |
_efree((void *)l_needle); |
| 18413 |
} else { |
|
18461 |
} else { |
| 18414 |
|
|
18462 |
|
| 18415 |
} |
|
18463 |
} |
| 18416 |
*_new_length = str_len; |
|
18464 |
*_new_length = str_len; |
| 18417 |
tmp___13 = _estrndup((char const *)str, (unsigned int )str_len); |
|
18465 |
tmp___13 = _estrndup((char const *)str, (unsigned int )str_len); |
| 18418 |
new_str = (char *)tmp___13; |
|
18466 |
new_str = (char *)tmp___13; |
| 18419 |
if (replace_count) { |
|
18467 |
if (replace_count) { |
| 18420 |
(*replace_count) ++; |
|
18468 |
(*replace_count) ++; |
| 18421 |
} else { |
|
18469 |
} else { |
| 18422 |
|
|
18470 |
|
| 18423 |
} |
|
18471 |
} |
| 18424 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
|
18472 |
return ((char __attribute__((__visibility__("default"))) *)new_str); |
| 18425 |
} |
|
18473 |
} |
| 18426 |
} |
|
18474 |
} |
| 18427 |
} |
|
18475 |
} |
| 18428 |
char __attribute__((__visibility__("default"))) *php_str_to_str(char *haystack , |
|
18476 |
char __attribute__((__visibility__("default"))) *php_str_to_str(char *haystack , |
| 18429 |
int length , |
|
18477 |
int length , |
| 18430 |
char *needle , |
|
18478 |
char *needle , |
| 18431 |
int needle_len , |
|
18479 |
int needle_len , |
| 18432 |
char *str , |
|
18480 |
char *str , |
| 18433 |
int str_len , |
|
18481 |
int str_len , |
| 18434 |
int *_new_length ) |
|
18482 |
int *_new_length ) |
| 18435 |
{ |
|
18483 |
{ |
| 18436 |
char __attribute__((__visibility__("default"))) *tmp ; |
|
18484 |
char __attribute__((__visibility__("default"))) *tmp ; |
| 18437 |
|
|
18485 |
|
| 18438 |
{ |
|
18486 |
{ |
| 18439 |
tmp = php_str_to_str_ex(haystack, length, needle, needle_len, str, str_len, |
|
18487 |
tmp = php_str_to_str_ex(haystack, length, needle, needle_len, str, str_len, |
| 18440 |
_new_length, 1, (int *)((void *)0)); |
|
18488 |
_new_length, 1, (int *)((void *)0)); |
| 18441 |
return (tmp); |
|
18489 |
return (tmp); |
| 18442 |
} |
|
18490 |
} |
| 18443 |
} |
|
18491 |
} |
| 18444 |
static void php_str_replace_in_subject(zval *search , zval *replace , |
|
18492 |
static void php_str_replace_in_subject(zval *search , zval *replace , |
| 18445 |
zval **subject , zval *result , |
|
18493 |
zval **subject , zval *result , |
| 18446 |
int case_sensitivity , |
|
18494 |
int case_sensitivity , |
| 18447 |
int *replace_count ) |
|
18495 |
int *replace_count ) |
| 18448 |
{ |
|
18496 |
{ |
| 18449 |
zval **search_entry ; |
|
18497 |
zval **search_entry ; |
| 18450 |
zval **replace_entry ; |
|
18498 |
zval **replace_entry ; |
| 18451 |
zval temp_result ; |
|
18499 |
zval temp_result ; |
| 18452 |
char *replace_value ; |
|
18500 |
char *replace_value ; |
| 18453 |
int replace_len ; |
|
18501 |
int replace_len ; |
| 18454 |
zval *new_zv ; |
|
18502 |
zval *new_zv ; |
| 18455 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
18503 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 18456 |
zend_uint tmp___0 ; |
|
18504 |
zend_uint tmp___0 ; |
| 18457 |
zend_bool tmp___1 ; |
|
18505 |
zend_bool tmp___1 ; |
| 18458 |
char const *__s ; |
|
18506 |
char const *__s ; |
| 18459 |
int __l ; |
|
18507 |
int __l ; |
| 18460 |
zval *__z ; |
|
18508 |
zval *__z ; |
| 18461 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
18509 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 18462 |
zval *new_zv___0 ; |
|
18510 |
zval *new_zv___0 ; |
| 18463 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
18511 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 18464 |
zend_uint tmp___4 ; |
|
18512 |
zend_uint tmp___4 ; |
| 18465 |
zval *new_zv___1 ; |
|
18513 |
zval *new_zv___1 ; |
| 18466 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
|
18514 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
| 18467 |
zend_uint tmp___6 ; |
|
18515 |
zend_uint tmp___6 ; |
| 18468 |
zend_bool tmp___7 ; |
|
18516 |
zend_bool tmp___7 ; |
| 18469 |
int __attribute__((__visibility__("default"))) tmp___8 ; |
|
18517 |
int __attribute__((__visibility__("default"))) tmp___8 ; |
| 18470 |
char __attribute__((__visibility__("default"))) *tmp___9 ; |
|
18518 |
char __attribute__((__visibility__("default"))) *tmp___9 ; |
| 18471 |
int __attribute__((__visibility__("default"))) tmp___10 ; |
|
18519 |
int __attribute__((__visibility__("default"))) tmp___10 ; |
| 18472 |
char __attribute__((__visibility__("default"))) *tmp___11 ; |
|
18520 |
char __attribute__((__visibility__("default"))) *tmp___11 ; |
| 18473 |
|
|
18521 |
|
| 18474 |
{ |
|
18522 |
{ |
| 18475 |
replace_entry = (zval **)((void *)0); |
|
18523 |
replace_entry = (zval **)((void *)0); |
| 18476 |
replace_value = (char *)((void *)0); |
|
18524 |
replace_value = (char *)((void *)0); |
| 18477 |
replace_len = 0; |
|
18525 |
replace_len = 0; |
| 18478 |
if ((int )(*subject)->type != 6) { |
|
18526 |
if ((int )(*subject)->type != 6) { |
| 18479 |
tmp___1 = zval_isref_p(*subject); |
|
18527 |
tmp___1 = zval_isref_p(*subject); |
| 18480 |
if (tmp___1) { |
|
18528 |
if (tmp___1) { |
| 18481 |
|
|
18529 |
|
| 18482 |
} else { |
|
18530 |
} else { |
| 18483 |
while (1) { |
|
18531 |
while (1) { |
| 18484 |
tmp___0 = zval_refcount_p(*subject); |
|
18532 |
tmp___0 = zval_refcount_p(*subject); |
| 18485 |
if (tmp___0 > 1U) { |
|
18533 |
if (tmp___0 > 1U) { |
| 18486 |
zval_delref_p(*subject); |
|
18534 |
zval_delref_p(*subject); |
| 18487 |
while (1) { |
|
18535 |
while (1) { |
| 18488 |
tmp = _emalloc(sizeof(zval_gc_info )); |
|
18536 |
tmp = _emalloc(sizeof(zval_gc_info )); |
| 18489 |
new_zv = (zval *)tmp; |
|
18537 |
new_zv = (zval *)tmp; |
| 18490 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18538 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18491 |
break; |
|
18539 |
break; |
| 18492 |
} |
|
18540 |
} |
| 18493 |
while (1) { |
|
18541 |
while (1) { |
| 18494 |
while (1) { |
|
18542 |
while (1) { |
| 18495 |
new_zv->value = (*subject)->value; |
|
18543 |
new_zv->value = (*subject)->value; |
| 18496 |
new_zv->type = (*subject)->type; |
|
18544 |
new_zv->type = (*subject)->type; |
| 18497 |
break; |
|
18545 |
break; |
| 18498 |
} |
|
18546 |
} |
| 18499 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
18547 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 18500 |
zval_unset_isref_p(new_zv); |
|
18548 |
zval_unset_isref_p(new_zv); |
| 18501 |
break; |
|
18549 |
break; |
| 18502 |
} |
|
18550 |
} |
| 18503 |
*subject = new_zv; |
|
18551 |
*subject = new_zv; |
| 18504 |
_zval_copy_ctor(new_zv); |
|
18552 |
_zval_copy_ctor(new_zv); |
| 18505 |
} else { |
|
18553 |
} else { |
| 18506 |
|
|
18554 |
|
| 18507 |
} |
|
18555 |
} |
| 18508 |
break; |
|
18556 |
break; |
| 18509 |
} |
|
18557 |
} |
| 18510 |
} |
|
18558 |
} |
| 18511 |
if ((int )(*subject)->type != 6) { |
|
18559 |
if ((int )(*subject)->type != 6) { |
| 18512 |
_convert_to_string(*subject); |
|
18560 |
_convert_to_string(*subject); |
| 18513 |
} else { |
|
18561 |
} else { |
| 18514 |
|
|
18562 |
|
| 18515 |
} |
|
18563 |
} |
| 18516 |
} else { |
|
18564 |
} else { |
| 18517 |
|
|
18565 |
|
| 18518 |
} |
|
18566 |
} |
| 18519 |
result->type = (zend_uchar )6; |
|
18567 |
result->type = (zend_uchar )6; |
| 18520 |
if ((*subject)->value.str.len == 0) { |
|
18568 |
if ((*subject)->value.str.len == 0) { |
| 18521 |
while (1) { |
|
18569 |
while (1) { |
| 18522 |
__s = ""; |
|
18570 |
__s = ""; |
| 18523 |
__l = 0; |
|
18571 |
__l = 0; |
| 18524 |
__z = result; |
|
18572 |
__z = result; |
| 18525 |
__z->value.str.len = __l; |
|
18573 |
__z->value.str.len = __l; |
| 18526 |
tmp___2 = _estrndup(__s, (unsigned int )__l); |
|
18574 |
tmp___2 = _estrndup(__s, (unsigned int )__l); |
| 18527 |
__z->value.str.val = (char *)tmp___2; |
|
18575 |
__z->value.str.val = (char *)tmp___2; |
| 18528 |
__z->type = (zend_uchar )6; |
|
18576 |
__z->type = (zend_uchar )6; |
| 18529 |
break; |
|
18577 |
break; |
| 18530 |
} |
|
18578 |
} |
| 18531 |
return; |
|
18579 |
return; |
| 18532 |
} else { |
|
18580 |
} else { |
| 18533 |
|
|
18581 |
|
| 18534 |
} |
|
18582 |
} |
| 18535 |
if ((int )search->type == 4) { |
|
18583 |
if ((int )search->type == 4) { |
| 18536 |
while (1) { |
|
18584 |
while (1) { |
| 18537 |
while (1) { |
|
18585 |
while (1) { |
| 18538 |
result->value = (*subject)->value; |
|
18586 |
result->value = (*subject)->value; |
| 18539 |
result->type = (*subject)->type; |
|
18587 |
result->type = (*subject)->type; |
| 18540 |
break; |
|
18588 |
break; |
| 18541 |
} |
|
18589 |
} |
| 18542 |
zval_set_refcount_p(result, (zend_uint )1); |
|
18590 |
zval_set_refcount_p(result, (zend_uint )1); |
| 18543 |
zval_unset_isref_p(result); |
|
18591 |
zval_unset_isref_p(result); |
| 18544 |
break; |
|
18592 |
break; |
| 18545 |
} |
|
18593 |
} |
| 18546 |
_zval_copy_ctor(result); |
|
18594 |
_zval_copy_ctor(result); |
| 18547 |
zend_hash_internal_pointer_reset_ex(search->value.ht, |
|
18595 |
zend_hash_internal_pointer_reset_ex(search->value.ht, |
| 18548 |
(HashPosition *)((void *)0)); |
|
18596 |
(HashPosition *)((void *)0)); |
| 18549 |
if ((int )replace->type == 4) { |
|
18597 |
if ((int )replace->type == 4) { |
| 18550 |
zend_hash_internal_pointer_reset_ex(replace->value.ht, |
|
18598 |
zend_hash_internal_pointer_reset_ex(replace->value.ht, |
| 18551 |
(HashPosition *)((void *)0)); |
|
18599 |
(HashPosition *)((void *)0)); |
| 18552 |
} else { |
|
18600 |
} else { |
| 18553 |
replace_value = replace->value.str.val; |
|
18601 |
replace_value = replace->value.str.val; |
| 18554 |
replace_len = replace->value.str.len; |
|
18602 |
replace_len = replace->value.str.len; |
| 18555 |
} |
|
18603 |
} |
| 18556 |
while (1) { |
|
18604 |
while (1) { |
| 18557 |
tmp___10 = zend_hash_get_current_data_ex(search->value.ht, |
|
18605 |
tmp___10 = zend_hash_get_current_data_ex(search->value.ht, |
| 18558 |
(void **)(& search_entry), |
|
18606 |
(void **)(& search_entry), |
| 18559 |
(HashPosition *)((void *)0)); |
|
18607 |
(HashPosition *)((void *)0)); |
| 18560 |
if (tmp___10 == (int __attribute__((__visibility__("default"))) )0) { |
|
18608 |
if (tmp___10 == (int __attribute__((__visibility__("default"))) )0) { |
| 18561 |
|
|
18609 |
|
| 18562 |
} else { |
|
18610 |
} else { |
| 18563 |
break; |
|
18611 |
break; |
| 18564 |
} |
|
18612 |
} |
| 18565 |
while (1) { |
|
18613 |
while (1) { |
| 18566 |
tmp___4 = zval_refcount_p(*search_entry); |
|
18614 |
tmp___4 = zval_refcount_p(*search_entry); |
| 18567 |
if (tmp___4 > 1U) { |
|
18615 |
if (tmp___4 > 1U) { |
| 18568 |
zval_delref_p(*search_entry); |
|
18616 |
zval_delref_p(*search_entry); |
| 18569 |
while (1) { |
|
18617 |
while (1) { |
| 18570 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
|
18618 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
| 18571 |
new_zv___0 = (zval *)tmp___3; |
|
18619 |
new_zv___0 = (zval *)tmp___3; |
| 18572 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18620 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18573 |
break; |
|
18621 |
break; |
| 18574 |
} |
|
18622 |
} |
| 18575 |
while (1) { |
|
18623 |
while (1) { |
| 18576 |
while (1) { |
|
18624 |
while (1) { |
| 18577 |
new_zv___0->value = (*search_entry)->value; |
|
18625 |
new_zv___0->value = (*search_entry)->value; |
| 18578 |
new_zv___0->type = (*search_entry)->type; |
|
18626 |
new_zv___0->type = (*search_entry)->type; |
| 18579 |
break; |
|
18627 |
break; |
| 18580 |
} |
|
18628 |
} |
| 18581 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
|
18629 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
| 18582 |
zval_unset_isref_p(new_zv___0); |
|
18630 |
zval_unset_isref_p(new_zv___0); |
| 18583 |
break; |
|
18631 |
break; |
| 18584 |
} |
|
18632 |
} |
| 18585 |
*search_entry = new_zv___0; |
|
18633 |
*search_entry = new_zv___0; |
| 18586 |
_zval_copy_ctor(new_zv___0); |
|
18634 |
_zval_copy_ctor(new_zv___0); |
| 18587 |
} else { |
|
18635 |
} else { |
| 18588 |
|
|
18636 |
|
| 18589 |
} |
|
18637 |
} |
| 18590 |
break; |
|
18638 |
break; |
| 18591 |
} |
|
18639 |
} |
| 18592 |
if ((int )(*search_entry)->type != 6) { |
|
18640 |
if ((int )(*search_entry)->type != 6) { |
| 18593 |
_convert_to_string(*search_entry); |
|
18641 |
_convert_to_string(*search_entry); |
| 18594 |
} else { |
|
18642 |
} else { |
| 18595 |
|
|
18643 |
|
| 18596 |
} |
|
18644 |
} |
| 18597 |
if ((*search_entry)->value.str.len == 0) { |
|
18645 |
if ((*search_entry)->value.str.len == 0) { |
| 18598 |
zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0)); |
|
18646 |
zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0)); |
| 18599 |
if ((int )replace->type == 4) { |
|
18647 |
if ((int )replace->type == 4) { |
| 18600 |
zend_hash_move_forward_ex(replace->value.ht, |
|
18648 |
zend_hash_move_forward_ex(replace->value.ht, |
| 18601 |
(HashPosition *)((void *)0)); |
|
18649 |
(HashPosition *)((void *)0)); |
| 18602 |
} else { |
|
18650 |
} else { |
| 18603 |
|
|
18651 |
|
| 18604 |
} |
|
18652 |
} |
| 18605 |
continue; |
|
18653 |
continue; |
| 18606 |
} else { |
|
18654 |
} else { |
| 18607 |
|
|
18655 |
|
| 18608 |
} |
|
18656 |
} |
| 18609 |
if ((int )replace->type == 4) { |
|
18657 |
if ((int )replace->type == 4) { |
| 18610 |
tmp___8 = zend_hash_get_current_data_ex(replace->value.ht, |
|
18658 |
tmp___8 = zend_hash_get_current_data_ex(replace->value.ht, |
| 18611 |
(void **)(& replace_entry), |
|
18659 |
(void **)(& replace_entry), |
| 18612 |
(HashPosition *)((void *)0)); |
|
18660 |
(HashPosition *)((void *)0)); |
| 18613 |
if (tmp___8 == (int __attribute__((__visibility__("default"))) )0) { |
|
18661 |
if (tmp___8 == (int __attribute__((__visibility__("default"))) )0) { |
| 18614 |
if ((int )(*replace_entry)->type != 6) { |
|
18662 |
if ((int )(*replace_entry)->type != 6) { |
| 18615 |
tmp___7 = zval_isref_p(*replace_entry); |
|
18663 |
tmp___7 = zval_isref_p(*replace_entry); |
| 18616 |
if (tmp___7) { |
|
18664 |
if (tmp___7) { |
| 18617 |
|
|
18665 |
|
| 18618 |
} else { |
|
18666 |
} else { |
| 18619 |
while (1) { |
|
18667 |
while (1) { |
| 18620 |
tmp___6 = zval_refcount_p(*replace_entry); |
|
18668 |
tmp___6 = zval_refcount_p(*replace_entry); |
| 18621 |
if (tmp___6 > 1U) { |
|
18669 |
if (tmp___6 > 1U) { |
| 18622 |
zval_delref_p(*replace_entry); |
|
18670 |
zval_delref_p(*replace_entry); |
| 18623 |
while (1) { |
|
18671 |
while (1) { |
| 18624 |
tmp___5 = _emalloc(sizeof(zval_gc_info )); |
|
18672 |
tmp___5 = _emalloc(sizeof(zval_gc_info )); |
| 18625 |
new_zv___1 = (zval *)tmp___5; |
|
18673 |
new_zv___1 = (zval *)tmp___5; |
| 18626 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18674 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18627 |
break; |
|
18675 |
break; |
| 18628 |
} |
|
18676 |
} |
| 18629 |
while (1) { |
|
18677 |
while (1) { |
| 18630 |
while (1) { |
|
18678 |
while (1) { |
| 18631 |
new_zv___1->value = (*replace_entry)->value; |
|
18679 |
new_zv___1->value = (*replace_entry)->value; |
| 18632 |
new_zv___1->type = (*replace_entry)->type; |
|
18680 |
new_zv___1->type = (*replace_entry)->type; |
| 18633 |
break; |
|
18681 |
break; |
| 18634 |
} |
|
18682 |
} |
| 18635 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
|
18683 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
| 18636 |
zval_unset_isref_p(new_zv___1); |
|
18684 |
zval_unset_isref_p(new_zv___1); |
| 18637 |
break; |
|
18685 |
break; |
| 18638 |
} |
|
18686 |
} |
| 18639 |
*replace_entry = new_zv___1; |
|
18687 |
*replace_entry = new_zv___1; |
| 18640 |
_zval_copy_ctor(new_zv___1); |
|
18688 |
_zval_copy_ctor(new_zv___1); |
| 18641 |
} else { |
|
18689 |
} else { |
| 18642 |
|
|
18690 |
|
| 18643 |
} |
|
18691 |
} |
| 18644 |
break; |
|
18692 |
break; |
| 18645 |
} |
|
18693 |
} |
| 18646 |
} |
|
18694 |
} |
| 18647 |
if ((int )(*replace_entry)->type != 6) { |
|
18695 |
if ((int )(*replace_entry)->type != 6) { |
| 18648 |
_convert_to_string(*replace_entry); |
|
18696 |
_convert_to_string(*replace_entry); |
| 18649 |
} else { |
|
18697 |
} else { |
| 18650 |
|
|
18698 |
|
| 18651 |
} |
|
18699 |
} |
| 18652 |
} else { |
|
18700 |
} else { |
| 18653 |
|
|
18701 |
|
| 18654 |
} |
|
18702 |
} |
| 18655 |
replace_value = (*replace_entry)->value.str.val; |
|
18703 |
replace_value = (*replace_entry)->value.str.val; |
| 18656 |
replace_len = (*replace_entry)->value.str.len; |
|
18704 |
replace_len = (*replace_entry)->value.str.len; |
| 18657 |
zend_hash_move_forward_ex(replace->value.ht, |
|
18705 |
zend_hash_move_forward_ex(replace->value.ht, |
| 18658 |
(HashPosition *)((void *)0)); |
|
18706 |
(HashPosition *)((void *)0)); |
| 18659 |
} else { |
|
18707 |
} else { |
| 18660 |
replace_value = (char *)""; |
|
18708 |
replace_value = (char *)""; |
| 18661 |
replace_len = 0; |
|
18709 |
replace_len = 0; |
| 18662 |
} |
|
18710 |
} |
| 18663 |
} else { |
|
18711 |
} else { |
| 18664 |
|
|
18712 |
|
| 18665 |
} |
|
18713 |
} |
| 18666 |
if ((*search_entry)->value.str.len == 1) { |
|
18714 |
if ((*search_entry)->value.str.len == 1) { |
| 18667 |
php_char_to_str_ex(result->value.str.val, (uint )result->value.str.len, |
|
18715 |
php_char_to_str_ex(result->value.str.val, (uint )result->value.str.len, |
| 18668 |
*((*search_entry)->value.str.val + 0), replace_value, |
|
18716 |
*((*search_entry)->value.str.val + 0), replace_value, |
| 18669 |
replace_len, & temp_result, case_sensitivity, |
|
18717 |
replace_len, & temp_result, case_sensitivity, |
| 18670 |
replace_count); |
|
18718 |
replace_count); |
| 18671 |
} else |
|
18719 |
} else |
| 18672 |
if ((*search_entry)->value.str.len > 1) { |
|
18720 |
if ((*search_entry)->value.str.len > 1) { |
| 18673 |
tmp___9 = php_str_to_str_ex(result->value.str.val, |
|
18721 |
tmp___9 = php_str_to_str_ex(result->value.str.val, |
| 18674 |
result->value.str.len, |
|
18722 |
result->value.str.len, |
| 18675 |
(*search_entry)->value.str.val, |
|
18723 |
(*search_entry)->value.str.val, |
| 18676 |
(*search_entry)->value.str.len, |
|
18724 |
(*search_entry)->value.str.len, |
| 18677 |
replace_value, replace_len, |
|
18725 |
replace_value, replace_len, |
| 18678 |
& temp_result.value.str.len, |
|
18726 |
& temp_result.value.str.len, |
| 18679 |
case_sensitivity, replace_count); |
|
18727 |
case_sensitivity, replace_count); |
| 18680 |
temp_result.value.str.val = (char *)tmp___9; |
|
18728 |
temp_result.value.str.val = (char *)tmp___9; |
| 18681 |
} else { |
|
18729 |
} else { |
| 18682 |
|
|
18730 |
|
| 18683 |
} |
|
18731 |
} |
| 18684 |
while (1) { |
|
18732 |
while (1) { |
| 18685 |
if ((unsigned int )result->value.str.val >= (unsigned int )compiler_globals.interned_strings_start) { |
|
18733 |
if ((unsigned int )result->value.str.val >= (unsigned int )compiler_globals.interned_strings_start) { |
| 18686 |
if ((unsigned int )result->value.str.val < (unsigned int )compiler_globals.interned_strings_end) { |
|
18734 |
if ((unsigned int )result->value.str.val < (unsigned int )compiler_globals.interned_strings_end) { |
| 18687 |
|
|
18735 |
|
| 18688 |
} else { |
|
18736 |
} else { |
| 18689 |
_efree((void *)result->value.str.val); |
|
18737 |
_efree((void *)result->value.str.val); |
| 18690 |
} |
|
18738 |
} |
| 18691 |
} else { |
|
18739 |
} else { |
| 18692 |
_efree((void *)result->value.str.val); |
|
18740 |
_efree((void *)result->value.str.val); |
| 18693 |
} |
|
18741 |
} |
| 18694 |
break; |
|
18742 |
break; |
| 18695 |
} |
|
18743 |
} |
| 18696 |
result->value.str.val = temp_result.value.str.val; |
|
18744 |
result->value.str.val = temp_result.value.str.val; |
| 18697 |
result->value.str.len = temp_result.value.str.len; |
|
18745 |
result->value.str.len = temp_result.value.str.len; |
| 18698 |
if (result->value.str.len == 0) { |
|
18746 |
if (result->value.str.len == 0) { |
| 18699 |
return; |
|
18747 |
return; |
| 18700 |
} else { |
|
18748 |
} else { |
| 18701 |
|
|
18749 |
|
| 18702 |
} |
|
18750 |
} |
| 18703 |
zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0)); |
|
18751 |
zend_hash_move_forward_ex(search->value.ht, (HashPosition *)((void *)0)); |
| 18704 |
} |
|
18752 |
} |
| 18705 |
} else |
|
18753 |
} else |
| 18706 |
if (search->value.str.len == 1) { |
|
18754 |
if (search->value.str.len == 1) { |
| 18707 |
php_char_to_str_ex((*subject)->value.str.val, |
|
18755 |
php_char_to_str_ex((*subject)->value.str.val, |
| 18708 |
(uint )(*subject)->value.str.len, |
|
18756 |
(uint )(*subject)->value.str.len, |
| 18709 |
*(search->value.str.val + 0), replace->value.str.val, |
|
18757 |
*(search->value.str.val + 0), replace->value.str.val, |
| 18710 |
replace->value.str.len, result, case_sensitivity, |
|
18758 |
replace->value.str.len, result, case_sensitivity, |
| 18711 |
replace_count); |
|
18759 |
replace_count); |
| 18712 |
} else |
|
18760 |
} else |
| 18713 |
if (search->value.str.len > 1) { |
|
18761 |
if (search->value.str.len > 1) { |
| 18714 |
tmp___11 = php_str_to_str_ex((*subject)->value.str.val, |
|
18762 |
tmp___11 = php_str_to_str_ex((*subject)->value.str.val, |
| 18715 |
(*subject)->value.str.len, |
|
18763 |
(*subject)->value.str.len, |
| 18716 |
search->value.str.val, search->value.str.len, |
|
18764 |
search->value.str.val, search->value.str.len, |
| 18717 |
replace->value.str.val, replace->value.str.len, |
|
18765 |
replace->value.str.val, replace->value.str.len, |
| 18718 |
& result->value.str.len, case_sensitivity, |
|
18766 |
& result->value.str.len, case_sensitivity, |
| 18719 |
replace_count); |
|
18767 |
replace_count); |
| 18720 |
result->value.str.val = (char *)tmp___11; |
|
18768 |
result->value.str.val = (char *)tmp___11; |
| 18721 |
} else { |
|
18769 |
} else { |
| 18722 |
while (1) { |
|
18770 |
while (1) { |
| 18723 |
while (1) { |
|
18771 |
while (1) { |
| 18724 |
result->value = (*subject)->value; |
|
18772 |
result->value = (*subject)->value; |
| 18725 |
result->type = (*subject)->type; |
|
18773 |
result->type = (*subject)->type; |
| 18726 |
break; |
|
18774 |
break; |
| 18727 |
} |
|
18775 |
} |
| 18728 |
zval_set_refcount_p(result, (zend_uint )1); |
|
18776 |
zval_set_refcount_p(result, (zend_uint )1); |
| 18729 |
zval_unset_isref_p(result); |
|
18777 |
zval_unset_isref_p(result); |
| 18730 |
break; |
|
18778 |
break; |
| 18731 |
} |
|
18779 |
} |
| 18732 |
_zval_copy_ctor(result); |
|
18780 |
_zval_copy_ctor(result); |
| 18733 |
} |
|
18781 |
} |
| 18734 |
return; |
|
18782 |
return; |
| 18735 |
} |
|
18783 |
} |
| 18736 |
} |
|
18784 |
} |
| 18737 |
static void php_str_replace_common(int ht , zval *return_value , |
|
18785 |
static void php_str_replace_common(int ht , zval *return_value , |
| 18738 |
zval **return_value_ptr , zval *this_ptr , |
|
18786 |
zval **return_value_ptr , zval *this_ptr , |
| 18739 |
int return_value_used , int case_sensitivity ) |
|
18787 |
int return_value_used , int case_sensitivity ) |
| 18740 |
{ |
|
18788 |
{ |
| 18741 |
zval **subject ; |
|
18789 |
zval **subject ; |
| 18742 |
zval **search ; |
|
18790 |
zval **search ; |
| 18743 |
zval **replace ; |
|
18791 |
zval **replace ; |
| 18744 |
zval **subject_entry ; |
|
18792 |
zval **subject_entry ; |
| 18745 |
zval **zcount ; |
|
18793 |
zval **zcount ; |
| 18746 |
zval *result ; |
|
18794 |
zval *result ; |
| 18747 |
char *string_key ; |
|
18795 |
char *string_key ; |
| 18748 |
uint string_key_len ; |
|
18796 |
uint string_key_len ; |
| 18749 |
ulong num_key ; |
|
18797 |
ulong num_key ; |
| 18750 |
int count ; |
|
18798 |
int count ; |
| 18751 |
int argc ; |
|
18799 |
int argc ; |
| 18752 |
int __attribute__((__visibility__("default"))) tmp ; |
|
18800 |
int __attribute__((__visibility__("default"))) tmp ; |
| 18753 |
zval *new_zv ; |
|
18801 |
zval *new_zv ; |
| 18754 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
18802 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 18755 |
zend_uint tmp___1 ; |
|
18803 |
zend_uint tmp___1 ; |
| 18756 |
zval *new_zv___0 ; |
|
18804 |
zval *new_zv___0 ; |
| 18757 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
|
18805 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
| 18758 |
zend_uint tmp___3 ; |
|
18806 |
zend_uint tmp___3 ; |
| 18759 |
zval *new_zv___1 ; |
|
18807 |
zval *new_zv___1 ; |
| 18760 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
|
18808 |
void __attribute__((__visibility__("default"))) *tmp___4 ; |
| 18761 |
zend_uint tmp___5 ; |
|
18809 |
zend_uint tmp___5 ; |
| 18762 |
zval *new_zv___2 ; |
|
18810 |
zval *new_zv___2 ; |
| 18763 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
|
18811 |
void __attribute__((__visibility__("default"))) *tmp___6 ; |
| 18764 |
zend_uint tmp___7 ; |
|
18812 |
zend_uint tmp___7 ; |
| 18765 |
zend_bool tmp___8 ; |
|
18813 |
zend_bool tmp___8 ; |
| 18766 |
zval *new_zv___3 ; |
|
18814 |
zval *new_zv___3 ; |
| 18767 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
|
18815 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
| 18768 |
zend_uint tmp___10 ; |
|
18816 |
zend_uint tmp___10 ; |
| 18769 |
zend_bool tmp___11 ; |
|
18817 |
zend_bool tmp___11 ; |
| 18770 |
zval *new_zv___4 ; |
|
18818 |
zval *new_zv___4 ; |
| 18771 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
|
18819 |
void __attribute__((__visibility__("default"))) *tmp___12 ; |
| 18772 |
zend_uint tmp___13 ; |
|
18820 |
zend_uint tmp___13 ; |
| 18773 |
zend_bool tmp___14 ; |
|
18821 |
zend_bool tmp___14 ; |
| 18774 |
void __attribute__((__visibility__("default"))) *tmp___15 ; |
|
18822 |
void __attribute__((__visibility__("default"))) *tmp___15 ; |
| 18775 |
zval *new_zv___5 ; |
|
18823 |
zval *new_zv___5 ; |
| 18776 |
void __attribute__((__visibility__("default"))) *tmp___16 ; |
|
18824 |
void __attribute__((__visibility__("default"))) *tmp___16 ; |
| 18777 |
zend_uint tmp___17 ; |
|
18825 |
zend_uint tmp___17 ; |
| 18778 |
int *tmp___18 ; |
|
18826 |
int *tmp___18 ; |
| 18779 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
|
18827 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
| 18780 |
zend_uint tmp___20 ; |
|
18828 |
zend_uint tmp___20 ; |
| 18781 |
int __attribute__((__visibility__("default"))) tmp___21 ; |
|
18829 |
int __attribute__((__visibility__("default"))) tmp___21 ; |
| 18782 |
int __attribute__((__visibility__("default"))) tmp___22 ; |
|
18830 |
int __attribute__((__visibility__("default"))) tmp___22 ; |
| 18783 |
int *tmp___23 ; |
|
18831 |
int *tmp___23 ; |
| 18784 |
zval *__z ; |
|
18832 |
zval *__z ; |
| 18785 |
|
|
18833 |
|
| 18786 |
{ |
|
18834 |
{ |
| 18787 |
zcount = (zval **)((void *)0); |
|
18835 |
zcount = (zval **)((void *)0); |
| 18788 |
count = 0; |
|
18836 |
count = 0; |
| 18789 |
argc = ht; |
|
18837 |
argc = ht; |
| 18790 |
tmp = zend_parse_parameters(ht, "ZZZ|Z", & search, & replace, & subject, |
|
18838 |
tmp = zend_parse_parameters(ht, "ZZZ|Z", & search, & replace, & subject, |
| 18791 |
& zcount); |
|
18839 |
& zcount); |
| 18792 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
18840 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 18793 |
return; |
|
18841 |
return; |
| 18794 |
} else { |
|
18842 |
} else { |
| 18795 |
|
|
18843 |
|
| 18796 |
} |
|
18844 |
} |
| 18797 |
while (1) { |
|
18845 |
while (1) { |
| 18798 |
tmp___1 = zval_refcount_p(*search); |
|
18846 |
tmp___1 = zval_refcount_p(*search); |
| 18799 |
if (tmp___1 > 1U) { |
|
18847 |
if (tmp___1 > 1U) { |
| 18800 |
zval_delref_p(*search); |
|
18848 |
zval_delref_p(*search); |
| 18801 |
while (1) { |
|
18849 |
while (1) { |
| 18802 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
18850 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 18803 |
new_zv = (zval *)tmp___0; |
|
18851 |
new_zv = (zval *)tmp___0; |
| 18804 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18852 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18805 |
break; |
|
18853 |
break; |
| 18806 |
} |
|
18854 |
} |
| 18807 |
while (1) { |
|
18855 |
while (1) { |
| 18808 |
while (1) { |
|
18856 |
while (1) { |
| 18809 |
new_zv->value = (*search)->value; |
|
18857 |
new_zv->value = (*search)->value; |
| 18810 |
new_zv->type = (*search)->type; |
|
18858 |
new_zv->type = (*search)->type; |
| 18811 |
break; |
|
18859 |
break; |
| 18812 |
} |
|
18860 |
} |
| 18813 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
18861 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 18814 |
zval_unset_isref_p(new_zv); |
|
18862 |
zval_unset_isref_p(new_zv); |
| 18815 |
break; |
|
18863 |
break; |
| 18816 |
} |
|
18864 |
} |
| 18817 |
*search = new_zv; |
|
18865 |
*search = new_zv; |
| 18818 |
_zval_copy_ctor(new_zv); |
|
18866 |
_zval_copy_ctor(new_zv); |
| 18819 |
} else { |
|
18867 |
} else { |
| 18820 |
|
|
18868 |
|
| 18821 |
} |
|
18869 |
} |
| 18822 |
break; |
|
18870 |
break; |
| 18823 |
} |
|
18871 |
} |
| 18824 |
while (1) { |
|
18872 |
while (1) { |
| 18825 |
tmp___3 = zval_refcount_p(*replace); |
|
18873 |
tmp___3 = zval_refcount_p(*replace); |
| 18826 |
if (tmp___3 > 1U) { |
|
18874 |
if (tmp___3 > 1U) { |
| 18827 |
zval_delref_p(*replace); |
|
18875 |
zval_delref_p(*replace); |
| 18828 |
while (1) { |
|
18876 |
while (1) { |
| 18829 |
tmp___2 = _emalloc(sizeof(zval_gc_info )); |
|
18877 |
tmp___2 = _emalloc(sizeof(zval_gc_info )); |
| 18830 |
new_zv___0 = (zval *)tmp___2; |
|
18878 |
new_zv___0 = (zval *)tmp___2; |
| 18831 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18879 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18832 |
break; |
|
18880 |
break; |
| 18833 |
} |
|
18881 |
} |
| 18834 |
while (1) { |
|
18882 |
while (1) { |
| 18835 |
while (1) { |
|
18883 |
while (1) { |
| 18836 |
new_zv___0->value = (*replace)->value; |
|
18884 |
new_zv___0->value = (*replace)->value; |
| 18837 |
new_zv___0->type = (*replace)->type; |
|
18885 |
new_zv___0->type = (*replace)->type; |
| 18838 |
break; |
|
18886 |
break; |
| 18839 |
} |
|
18887 |
} |
| 18840 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
|
18888 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
| 18841 |
zval_unset_isref_p(new_zv___0); |
|
18889 |
zval_unset_isref_p(new_zv___0); |
| 18842 |
break; |
|
18890 |
break; |
| 18843 |
} |
|
18891 |
} |
| 18844 |
*replace = new_zv___0; |
|
18892 |
*replace = new_zv___0; |
| 18845 |
_zval_copy_ctor(new_zv___0); |
|
18893 |
_zval_copy_ctor(new_zv___0); |
| 18846 |
} else { |
|
18894 |
} else { |
| 18847 |
|
|
18895 |
|
| 18848 |
} |
|
18896 |
} |
| 18849 |
break; |
|
18897 |
break; |
| 18850 |
} |
|
18898 |
} |
| 18851 |
while (1) { |
|
18899 |
while (1) { |
| 18852 |
tmp___5 = zval_refcount_p(*subject); |
|
18900 |
tmp___5 = zval_refcount_p(*subject); |
| 18853 |
if (tmp___5 > 1U) { |
|
18901 |
if (tmp___5 > 1U) { |
| 18854 |
zval_delref_p(*subject); |
|
18902 |
zval_delref_p(*subject); |
| 18855 |
while (1) { |
|
18903 |
while (1) { |
| 18856 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
|
18904 |
tmp___4 = _emalloc(sizeof(zval_gc_info )); |
| 18857 |
new_zv___1 = (zval *)tmp___4; |
|
18905 |
new_zv___1 = (zval *)tmp___4; |
| 18858 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18906 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18859 |
break; |
|
18907 |
break; |
| 18860 |
} |
|
18908 |
} |
| 18861 |
while (1) { |
|
18909 |
while (1) { |
| 18862 |
while (1) { |
|
18910 |
while (1) { |
| 18863 |
new_zv___1->value = (*subject)->value; |
|
18911 |
new_zv___1->value = (*subject)->value; |
| 18864 |
new_zv___1->type = (*subject)->type; |
|
18912 |
new_zv___1->type = (*subject)->type; |
| 18865 |
break; |
|
18913 |
break; |
| 18866 |
} |
|
18914 |
} |
| 18867 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
|
18915 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
| 18868 |
zval_unset_isref_p(new_zv___1); |
|
18916 |
zval_unset_isref_p(new_zv___1); |
| 18869 |
break; |
|
18917 |
break; |
| 18870 |
} |
|
18918 |
} |
| 18871 |
*subject = new_zv___1; |
|
18919 |
*subject = new_zv___1; |
| 18872 |
_zval_copy_ctor(new_zv___1); |
|
18920 |
_zval_copy_ctor(new_zv___1); |
| 18873 |
} else { |
|
18921 |
} else { |
| 18874 |
|
|
18922 |
|
| 18875 |
} |
|
18923 |
} |
| 18876 |
break; |
|
18924 |
break; |
| 18877 |
} |
|
18925 |
} |
| 18878 |
if ((int )(*search)->type != 4) { |
|
18926 |
if ((int )(*search)->type != 4) { |
| 18879 |
if ((int )(*search)->type != 6) { |
|
18927 |
if ((int )(*search)->type != 6) { |
| 18880 |
tmp___8 = zval_isref_p(*search); |
|
18928 |
tmp___8 = zval_isref_p(*search); |
| 18881 |
if (tmp___8) { |
|
18929 |
if (tmp___8) { |
| 18882 |
|
|
18930 |
|
| 18883 |
} else { |
|
18931 |
} else { |
| 18884 |
while (1) { |
|
18932 |
while (1) { |
| 18885 |
tmp___7 = zval_refcount_p(*search); |
|
18933 |
tmp___7 = zval_refcount_p(*search); |
| 18886 |
if (tmp___7 > 1U) { |
|
18934 |
if (tmp___7 > 1U) { |
| 18887 |
zval_delref_p(*search); |
|
18935 |
zval_delref_p(*search); |
| 18888 |
while (1) { |
|
18936 |
while (1) { |
| 18889 |
tmp___6 = _emalloc(sizeof(zval_gc_info )); |
|
18937 |
tmp___6 = _emalloc(sizeof(zval_gc_info )); |
| 18890 |
new_zv___2 = (zval *)tmp___6; |
|
18938 |
new_zv___2 = (zval *)tmp___6; |
| 18891 |
((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18939 |
((zval_gc_info *)new_zv___2)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18892 |
break; |
|
18940 |
break; |
| 18893 |
} |
|
18941 |
} |
| 18894 |
while (1) { |
|
18942 |
while (1) { |
| 18895 |
while (1) { |
|
18943 |
while (1) { |
| 18896 |
new_zv___2->value = (*search)->value; |
|
18944 |
new_zv___2->value = (*search)->value; |
| 18897 |
new_zv___2->type = (*search)->type; |
|
18945 |
new_zv___2->type = (*search)->type; |
| 18898 |
break; |
|
18946 |
break; |
| 18899 |
} |
|
18947 |
} |
| 18900 |
zval_set_refcount_p(new_zv___2, (zend_uint )1); |
|
18948 |
zval_set_refcount_p(new_zv___2, (zend_uint )1); |
| 18901 |
zval_unset_isref_p(new_zv___2); |
|
18949 |
zval_unset_isref_p(new_zv___2); |
| 18902 |
break; |
|
18950 |
break; |
| 18903 |
} |
|
18951 |
} |
| 18904 |
*search = new_zv___2; |
|
18952 |
*search = new_zv___2; |
| 18905 |
_zval_copy_ctor(new_zv___2); |
|
18953 |
_zval_copy_ctor(new_zv___2); |
| 18906 |
} else { |
|
18954 |
} else { |
| 18907 |
|
|
18955 |
|
| 18908 |
} |
|
18956 |
} |
| 18909 |
break; |
|
18957 |
break; |
| 18910 |
} |
|
18958 |
} |
| 18911 |
} |
|
18959 |
} |
| 18912 |
if ((int )(*search)->type != 6) { |
|
18960 |
if ((int )(*search)->type != 6) { |
| 18913 |
_convert_to_string(*search); |
|
18961 |
_convert_to_string(*search); |
| 18914 |
} else { |
|
18962 |
} else { |
| 18915 |
|
|
18963 |
|
| 18916 |
} |
|
18964 |
} |
| 18917 |
} else { |
|
18965 |
} else { |
| 18918 |
|
|
18966 |
|
| 18919 |
} |
|
18967 |
} |
| 18920 |
if ((int )(*replace)->type != 6) { |
|
18968 |
if ((int )(*replace)->type != 6) { |
| 18921 |
tmp___11 = zval_isref_p(*replace); |
|
18969 |
tmp___11 = zval_isref_p(*replace); |
| 18922 |
if (tmp___11) { |
|
18970 |
if (tmp___11) { |
| 18923 |
|
|
18971 |
|
| 18924 |
} else { |
|
18972 |
} else { |
| 18925 |
while (1) { |
|
18973 |
while (1) { |
| 18926 |
tmp___10 = zval_refcount_p(*replace); |
|
18974 |
tmp___10 = zval_refcount_p(*replace); |
| 18927 |
if (tmp___10 > 1U) { |
|
18975 |
if (tmp___10 > 1U) { |
| 18928 |
zval_delref_p(*replace); |
|
18976 |
zval_delref_p(*replace); |
| 18929 |
while (1) { |
|
18977 |
while (1) { |
| 18930 |
tmp___9 = _emalloc(sizeof(zval_gc_info )); |
|
18978 |
tmp___9 = _emalloc(sizeof(zval_gc_info )); |
| 18931 |
new_zv___3 = (zval *)tmp___9; |
|
18979 |
new_zv___3 = (zval *)tmp___9; |
| 18932 |
((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0); |
|
18980 |
((zval_gc_info *)new_zv___3)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18933 |
break; |
|
18981 |
break; |
| 18934 |
} |
|
18982 |
} |
| 18935 |
while (1) { |
|
18983 |
while (1) { |
| 18936 |
while (1) { |
|
18984 |
while (1) { |
| 18937 |
new_zv___3->value = (*replace)->value; |
|
18985 |
new_zv___3->value = (*replace)->value; |
| 18938 |
new_zv___3->type = (*replace)->type; |
|
18986 |
new_zv___3->type = (*replace)->type; |
| 18939 |
break; |
|
18987 |
break; |
| 18940 |
} |
|
18988 |
} |
| 18941 |
zval_set_refcount_p(new_zv___3, (zend_uint )1); |
|
18989 |
zval_set_refcount_p(new_zv___3, (zend_uint )1); |
| 18942 |
zval_unset_isref_p(new_zv___3); |
|
18990 |
zval_unset_isref_p(new_zv___3); |
| 18943 |
break; |
|
18991 |
break; |
| 18944 |
} |
|
18992 |
} |
| 18945 |
*replace = new_zv___3; |
|
18993 |
*replace = new_zv___3; |
| 18946 |
_zval_copy_ctor(new_zv___3); |
|
18994 |
_zval_copy_ctor(new_zv___3); |
| 18947 |
} else { |
|
18995 |
} else { |
| 18948 |
|
|
18996 |
|
| 18949 |
} |
|
18997 |
} |
| 18950 |
break; |
|
18998 |
break; |
| 18951 |
} |
|
18999 |
} |
| 18952 |
} |
|
19000 |
} |
| 18953 |
if ((int )(*replace)->type != 6) { |
|
19001 |
if ((int )(*replace)->type != 6) { |
| 18954 |
_convert_to_string(*replace); |
|
19002 |
_convert_to_string(*replace); |
| 18955 |
} else { |
|
19003 |
} else { |
| 18956 |
|
|
19004 |
|
| 18957 |
} |
|
19005 |
} |
| 18958 |
} else { |
|
19006 |
} else { |
| 18959 |
|
|
19007 |
|
| 18960 |
} |
|
19008 |
} |
| 18961 |
} else |
|
19009 |
} else |
| 18962 |
if ((int )(*replace)->type != 4) { |
|
19010 |
if ((int )(*replace)->type != 4) { |
| 18963 |
if ((int )(*replace)->type != 6) { |
|
19011 |
if ((int )(*replace)->type != 6) { |
| 18964 |
tmp___14 = zval_isref_p(*replace); |
|
19012 |
tmp___14 = zval_isref_p(*replace); |
| 18965 |
if (tmp___14) { |
|
19013 |
if (tmp___14) { |
| 18966 |
|
|
19014 |
|
| 18967 |
} else { |
|
19015 |
} else { |
| 18968 |
while (1) { |
|
19016 |
while (1) { |
| 18969 |
tmp___13 = zval_refcount_p(*replace); |
|
19017 |
tmp___13 = zval_refcount_p(*replace); |
| 18970 |
if (tmp___13 > 1U) { |
|
19018 |
if (tmp___13 > 1U) { |
| 18971 |
zval_delref_p(*replace); |
|
19019 |
zval_delref_p(*replace); |
| 18972 |
while (1) { |
|
19020 |
while (1) { |
| 18973 |
tmp___12 = _emalloc(sizeof(zval_gc_info )); |
|
19021 |
tmp___12 = _emalloc(sizeof(zval_gc_info )); |
| 18974 |
new_zv___4 = (zval *)tmp___12; |
|
19022 |
new_zv___4 = (zval *)tmp___12; |
| 18975 |
((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19023 |
((zval_gc_info *)new_zv___4)->u.buffered = (gc_root_buffer *)((void *)0); |
| 18976 |
break; |
|
19024 |
break; |
| 18977 |
} |
|
19025 |
} |
| 18978 |
while (1) { |
|
19026 |
while (1) { |
| 18979 |
while (1) { |
|
19027 |
while (1) { |
| 18980 |
new_zv___4->value = (*replace)->value; |
|
19028 |
new_zv___4->value = (*replace)->value; |
| 18981 |
new_zv___4->type = (*replace)->type; |
|
19029 |
new_zv___4->type = (*replace)->type; |
| 18982 |
break; |
|
19030 |
break; |
| 18983 |
} |
|
19031 |
} |
| 18984 |
zval_set_refcount_p(new_zv___4, (zend_uint )1); |
|
19032 |
zval_set_refcount_p(new_zv___4, (zend_uint )1); |
| 18985 |
zval_unset_isref_p(new_zv___4); |
|
19033 |
zval_unset_isref_p(new_zv___4); |
| 18986 |
break; |
|
19034 |
break; |
| 18987 |
} |
|
19035 |
} |
| 18988 |
*replace = new_zv___4; |
|
19036 |
*replace = new_zv___4; |
| 18989 |
_zval_copy_ctor(new_zv___4); |
|
19037 |
_zval_copy_ctor(new_zv___4); |
| 18990 |
} else { |
|
19038 |
} else { |
| 18991 |
|
|
19039 |
|
| 18992 |
} |
|
19040 |
} |
| 18993 |
break; |
|
19041 |
break; |
| 18994 |
} |
|
19042 |
} |
| 18995 |
} |
|
19043 |
} |
| 18996 |
if ((int )(*replace)->type != 6) { |
|
19044 |
if ((int )(*replace)->type != 6) { |
| 18997 |
_convert_to_string(*replace); |
|
19045 |
_convert_to_string(*replace); |
| 18998 |
} else { |
|
19046 |
} else { |
| 18999 |
|
|
19047 |
|
| 19000 |
} |
|
19048 |
} |
| 19001 |
} else { |
|
19049 |
} else { |
| 19002 |
|
|
19050 |
|
| 19003 |
} |
|
19051 |
} |
| 19004 |
} else { |
|
19052 |
} else { |
| 19005 |
|
|
19053 |
|
| 19006 |
} |
|
19054 |
} |
| 19007 |
if ((int )(*subject)->type == 4) { |
|
19055 |
if ((int )(*subject)->type == 4) { |
| 19008 |
_array_init(return_value, (uint )0); |
|
19056 |
_array_init(return_value, (uint )0); |
| 19009 |
zend_hash_internal_pointer_reset_ex((*subject)->value.ht, |
|
19057 |
zend_hash_internal_pointer_reset_ex((*subject)->value.ht, |
| 19010 |
(HashPosition *)((void *)0)); |
|
19058 |
(HashPosition *)((void *)0)); |
| 19011 |
while (1) { |
|
19059 |
while (1) { |
| 19012 |
tmp___22 = zend_hash_get_current_data_ex((*subject)->value.ht, |
|
19060 |
tmp___22 = zend_hash_get_current_data_ex((*subject)->value.ht, |
| 19013 |
(void **)(& subject_entry), |
|
19061 |
(void **)(& subject_entry), |
| 19014 |
(HashPosition *)((void *)0)); |
|
19062 |
(HashPosition *)((void *)0)); |
| 19015 |
if (tmp___22 == (int __attribute__((__visibility__("default"))) )0) { |
|
19063 |
if (tmp___22 == (int __attribute__((__visibility__("default"))) )0) { |
| 19016 |
|
|
19064 |
|
| 19017 |
} else { |
|
19065 |
} else { |
| 19018 |
break; |
|
19066 |
break; |
| 19019 |
} |
|
19067 |
} |
| 19020 |
if ((int )(*subject_entry)->type != 4) { |
|
19068 |
if ((int )(*subject_entry)->type != 4) { |
| 19021 |
if ((int )(*subject_entry)->type != 5) { |
|
19069 |
if ((int )(*subject_entry)->type != 5) { |
| 19022 |
while (1) { |
|
19070 |
while (1) { |
| 19023 |
tmp___15 = _emalloc(sizeof(zval_gc_info )); |
|
19071 |
tmp___15 = _emalloc(sizeof(zval_gc_info )); |
| 19024 |
result = (zval *)tmp___15; |
|
19072 |
result = (zval *)tmp___15; |
| 19025 |
((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19073 |
((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19026 |
break; |
|
19074 |
break; |
| 19027 |
} |
|
19075 |
} |
| 19028 |
result->refcount__gc = (zend_uint )1; |
|
19076 |
result->refcount__gc = (zend_uint )1; |
| 19029 |
result->is_ref__gc = (zend_uchar )0; |
|
19077 |
result->is_ref__gc = (zend_uchar )0; |
| 19030 |
while (1) { |
|
19078 |
while (1) { |
| 19031 |
tmp___17 = zval_refcount_p(*subject_entry); |
|
19079 |
tmp___17 = zval_refcount_p(*subject_entry); |
| 19032 |
if (tmp___17 > 1U) { |
|
19080 |
if (tmp___17 > 1U) { |
| 19033 |
zval_delref_p(*subject_entry); |
|
19081 |
zval_delref_p(*subject_entry); |
| 19034 |
while (1) { |
|
19082 |
while (1) { |
| 19035 |
tmp___16 = _emalloc(sizeof(zval_gc_info )); |
|
19083 |
tmp___16 = _emalloc(sizeof(zval_gc_info )); |
| 19036 |
new_zv___5 = (zval *)tmp___16; |
|
19084 |
new_zv___5 = (zval *)tmp___16; |
| 19037 |
((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19085 |
((zval_gc_info *)new_zv___5)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19038 |
break; |
|
19086 |
break; |
| 19039 |
} |
|
19087 |
} |
| 19040 |
while (1) { |
|
19088 |
while (1) { |
| 19041 |
while (1) { |
|
19089 |
while (1) { |
| 19042 |
new_zv___5->value = (*subject_entry)->value; |
|
19090 |
new_zv___5->value = (*subject_entry)->value; |
| 19043 |
new_zv___5->type = (*subject_entry)->type; |
|
19091 |
new_zv___5->type = (*subject_entry)->type; |
| 19044 |
break; |
|
19092 |
break; |
| 19045 |
} |
|
19093 |
} |
| 19046 |
zval_set_refcount_p(new_zv___5, (zend_uint )1); |
|
19094 |
zval_set_refcount_p(new_zv___5, (zend_uint )1); |
| 19047 |
zval_unset_isref_p(new_zv___5); |
|
19095 |
zval_unset_isref_p(new_zv___5); |
| 19048 |
break; |
|
19096 |
break; |
| 19049 |
} |
|
19097 |
} |
| 19050 |
*subject_entry = new_zv___5; |
|
19098 |
*subject_entry = new_zv___5; |
| 19051 |
_zval_copy_ctor(new_zv___5); |
|
19099 |
_zval_copy_ctor(new_zv___5); |
| 19052 |
} else { |
|
19100 |
} else { |
| 19053 |
|
|
19101 |
|
| 19054 |
} |
|
19102 |
} |
| 19055 |
break; |
|
19103 |
break; |
| 19056 |
} |
|
19104 |
} |
| 19057 |
if (argc > 3) { |
|
19105 |
if (argc > 3) { |
| 19058 |
tmp___18 = & count; |
|
19106 |
tmp___18 = & count; |
| 19059 |
} else { |
|
19107 |
} else { |
| 19060 |
tmp___18 = (int *)((void *)0); |
|
19108 |
tmp___18 = (int *)((void *)0); |
| 19061 |
} |
|
19109 |
} |
| 19062 |
php_str_replace_in_subject(*search, *replace, subject_entry, result, |
|
19110 |
php_str_replace_in_subject(*search, *replace, subject_entry, result, |
| 19063 |
case_sensitivity, tmp___18); |
|
19111 |
case_sensitivity, tmp___18); |
| 19064 |
} else { |
|
19112 |
} else { |
| 19065 |
goto _L; |
|
19113 |
goto _L; |
| 19066 |
} |
|
19114 |
} |
| 19067 |
} else { |
|
19115 |
} else { |
| 19068 |
_L: |
|
19116 |
_L: |
| 19069 |
while (1) { |
|
19117 |
while (1) { |
| 19070 |
tmp___19 = _emalloc(sizeof(zval_gc_info )); |
|
19118 |
tmp___19 = _emalloc(sizeof(zval_gc_info )); |
| 19071 |
result = (zval *)tmp___19; |
|
19119 |
result = (zval *)tmp___19; |
| 19072 |
((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19120 |
((zval_gc_info *)result)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19073 |
break; |
|
19121 |
break; |
| 19074 |
} |
|
19122 |
} |
| 19075 |
zval_addref_p(*subject_entry); |
|
19123 |
zval_addref_p(*subject_entry); |
| 19076 |
*result = *(*subject_entry); |
|
19124 |
*result = *(*subject_entry); |
| 19077 |
tmp___20 = zval_refcount_p(*subject_entry); |
|
19125 |
tmp___20 = zval_refcount_p(*subject_entry); |
| 19078 |
if (tmp___20 > 1U) { |
|
19126 |
if (tmp___20 > 1U) { |
| 19079 |
_zval_copy_ctor(result); |
|
19127 |
_zval_copy_ctor(result); |
| 19080 |
zval_delref_p(*subject_entry); |
|
19128 |
zval_delref_p(*subject_entry); |
| 19081 |
} else { |
|
19129 |
} else { |
| 19082 |
while (1) { |
|
19130 |
while (1) { |
| 19083 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)*subject_entry)->u.buffered & 4294967292UL)) { |
|
19131 |
if ((gc_root_buffer *)((zend_uintptr_t )((zval_gc_info *)*subject_entry)->u.buffered & 4294967292UL)) { |
| 19084 |
gc_remove_zval_from_buffer(*subject_entry); |
|
19132 |
gc_remove_zval_from_buffer(*subject_entry); |
| 19085 |
} else { |
|
19133 |
} else { |
| 19086 |
|
|
19134 |
|
| 19087 |
} |
|
19135 |
} |
| 19088 |
_efree((void *)*subject_entry); |
|
19136 |
_efree((void *)*subject_entry); |
| 19089 |
break; |
|
19137 |
break; |
| 19090 |
} |
|
19138 |
} |
| 19091 |
} |
|
19139 |
} |
| 19092 |
result->refcount__gc = (zend_uint )1; |
|
19140 |
result->refcount__gc = (zend_uint )1; |
| 19093 |
result->is_ref__gc = (zend_uchar )0; |
|
19141 |
result->is_ref__gc = (zend_uchar )0; |
| 19094 |
} |
|
19142 |
} |
| 19095 |
tmp___21 = zend_hash_get_current_key_ex((HashTable const *)(*subject)->value.ht, |
|
19143 |
tmp___21 = zend_hash_get_current_key_ex((HashTable const *)(*subject)->value.ht, |
| 19096 |
& string_key, & string_key_len, |
|
19144 |
& string_key, & string_key_len, |
| 19097 |
& num_key, (zend_bool )0, |
|
19145 |
& num_key, (zend_bool )0, |
| 19098 |
(HashPosition *)((void *)0)); |
|
19146 |
(HashPosition *)((void *)0)); |
| 19099 |
switch (tmp___21) { |
|
19147 |
switch (tmp___21) { |
| 19100 |
case (int __attribute__((__visibility__("default"))) )1: |
|
19148 |
case (int __attribute__((__visibility__("default"))) )1: |
| 19101 |
add_assoc_zval_ex(return_value, (char const *)string_key, |
|
19149 |
add_assoc_zval_ex(return_value, (char const *)string_key, |
| 19102 |
string_key_len, result); |
|
19150 |
string_key_len, result); |
| 19103 |
break; |
|
19151 |
break; |
| 19104 |
case (int __attribute__((__visibility__("default"))) )2: |
|
19152 |
case (int __attribute__((__visibility__("default"))) )2: |
| 19105 |
add_index_zval(return_value, num_key, result); |
|
19153 |
add_index_zval(return_value, num_key, result); |
| 19106 |
break; |
|
19154 |
break; |
| 19107 |
} |
|
19155 |
} |
| 19108 |
zend_hash_move_forward_ex((*subject)->value.ht, |
|
19156 |
zend_hash_move_forward_ex((*subject)->value.ht, |
| 19109 |
(HashPosition *)((void *)0)); |
|
19157 |
(HashPosition *)((void *)0)); |
| 19110 |
} |
|
19158 |
} |
| 19111 |
} else { |
|
19159 |
} else { |
| 19112 |
if (argc > 3) { |
|
19160 |
if (argc > 3) { |
| 19113 |
tmp___23 = & count; |
|
19161 |
tmp___23 = & count; |
| 19114 |
} else { |
|
19162 |
} else { |
| 19115 |
tmp___23 = (int *)((void *)0); |
|
19163 |
tmp___23 = (int *)((void *)0); |
| 19116 |
} |
|
19164 |
} |
| 19117 |
php_str_replace_in_subject(*search, *replace, subject, return_value, |
|
19165 |
php_str_replace_in_subject(*search, *replace, subject, return_value, |
| 19118 |
case_sensitivity, tmp___23); |
|
19166 |
case_sensitivity, tmp___23); |
| 19119 |
} |
|
19167 |
} |
| 19120 |
if (argc > 3) { |
|
19168 |
if (argc > 3) { |
| 19121 |
_zval_dtor(*zcount); |
|
19169 |
_zval_dtor(*zcount); |
| 19122 |
__z = *zcount; |
|
19170 |
__z = *zcount; |
| 19123 |
__z->value.lval = (long )count; |
|
19171 |
__z->value.lval = (long )count; |
| 19124 |
__z->type = (zend_uchar )1; |
|
19172 |
__z->type = (zend_uchar )1; |
| 19125 |
} else { |
|
19173 |
} else { |
| 19126 |
|
|
19174 |
|
| 19127 |
} |
|
19175 |
} |
| 19128 |
return; |
|
19176 |
return; |
| 19129 |
} |
|
19177 |
} |
| 19130 |
} |
|
19178 |
} |
| 19131 |
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , |
|
19179 |
void zif_str_replace(int ht , zval *return_value , zval **return_value_ptr , |
| 19132 |
zval *this_ptr , int return_value_used ) |
|
19180 |
zval *this_ptr , int return_value_used ) |
| 19133 |
{ |
|
19181 |
{ |
| 19134 |
|
|
19182 |
|
| 19135 |
|
|
19183 |
|
| 19136 |
{ |
|
19184 |
{ |
| 19137 |
php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, |
|
19185 |
php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, |
| 19138 |
return_value_used, 1); |
|
19186 |
return_value_used, 1); |
| 19139 |
return; |
|
19187 |
return; |
| 19140 |
} |
|
19188 |
} |
| 19141 |
} |
|
19189 |
} |
| 19142 |
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , |
|
19190 |
void zif_str_ireplace(int ht , zval *return_value , zval **return_value_ptr , |
| 19143 |
zval *this_ptr , int return_value_used ) |
|
19191 |
zval *this_ptr , int return_value_used ) |
| 19144 |
{ |
|
19192 |
{ |
| 19145 |
|
|
19193 |
|
| 19146 |
|
|
19194 |
|
| 19147 |
{ |
|
19195 |
{ |
| 19148 |
php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, |
|
19196 |
php_str_replace_common(ht, return_value, return_value_ptr, this_ptr, |
| 19149 |
return_value_used, 0); |
|
19197 |
return_value_used, 0); |
| 19150 |
return; |
|
19198 |
return; |
| 19151 |
} |
|
19199 |
} |
| 19152 |
} |
|
19200 |
} |
| 19153 |
static void php_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
|
19201 |
static void php_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
| 19154 |
zval *this_ptr , int return_value_used , |
|
19202 |
zval *this_ptr , int return_value_used , |
| 19155 |
int convert_newlines ) |
|
19203 |
int convert_newlines ) |
| 19156 |
{ |
|
19204 |
{ |
| 19157 |
char *str ; |
|
19205 |
char *str ; |
| 19158 |
char *heb_str ; |
|
19206 |
char *heb_str ; |
| 19159 |
char *tmp ; |
|
19207 |
char *tmp ; |
| 19160 |
char *target ; |
|
19208 |
char *target ; |
| 19161 |
char *broken_str ; |
|
19209 |
char *broken_str ; |
| 19162 |
int block_start ; |
|
19210 |
int block_start ; |
| 19163 |
int block_end ; |
|
19211 |
int block_end ; |
| 19164 |
int block_type ; |
|
19212 |
int block_type ; |
| 19165 |
int block_length ; |
|
19213 |
int block_length ; |
| 19166 |
int i ; |
|
19214 |
int i ; |
| 19167 |
long max_chars ; |
|
19215 |
long max_chars ; |
| 19168 |
int begin ; |
|
19216 |
int begin ; |
| 19169 |
int end ; |
|
19217 |
int end ; |
| 19170 |
int char_count ; |
|
19218 |
int char_count ; |
| 19171 |
int orig_begin ; |
|
19219 |
int orig_begin ; |
| 19172 |
int str_len ; |
|
19220 |
int str_len ; |
| 19173 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
19221 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 19174 |
zval *__z ; |
|
19222 |
zval *__z ; |
| 19175 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
19223 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 19176 |
int tmp___2 ; |
|
19224 |
int tmp___2 ; |
| 19177 |
int tmp___3 ; |
|
19225 |
int tmp___3 ; |
| 19178 |
int tmp___4 ; |
|
19226 |
int tmp___4 ; |
| 19179 |
unsigned short const **tmp___5 ; |
|
19227 |
unsigned short const **tmp___5 ; |
| 19180 |
int tmp___6 ; |
|
19228 |
int tmp___6 ; |
| 19181 |
int tmp___7 ; |
|
19229 |
int tmp___7 ; |
| 19182 |
unsigned short const **tmp___8 ; |
|
19230 |
unsigned short const **tmp___8 ; |
| 19183 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
|
19231 |
void __attribute__((__visibility__("default"))) *tmp___9 ; |
| 19184 |
int tmp___10 ; |
|
19232 |
int tmp___10 ; |
| 19185 |
int tmp___11 ; |
|
19233 |
int tmp___11 ; |
| 19186 |
int new_char_count ; |
|
19234 |
int new_char_count ; |
| 19187 |
int new_begin ; |
|
19235 |
int new_begin ; |
| 19188 |
int tmp___12 ; |
|
19236 |
int tmp___12 ; |
| 19189 |
int tmp___13 ; |
|
19237 |
int tmp___13 ; |
| 19190 |
int tmp___14 ; |
|
19238 |
int tmp___14 ; |
| 19191 |
int tmp___15 ; |
|
19239 |
int tmp___15 ; |
| 19192 |
int tmp___16 ; |
|
19240 |
int tmp___16 ; |
| 19193 |
|
|
19241 |
|
| 19194 |
{ |
|
19242 |
{ |
| 19195 |
max_chars = 0L; |
|
19243 |
max_chars = 0L; |
| 19196 |
tmp___0 = zend_parse_parameters(ht, "s|l", & str, & str_len, & max_chars); |
|
19244 |
tmp___0 = zend_parse_parameters(ht, "s|l", & str, & str_len, & max_chars); |
| 19197 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
|
19245 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
| 19198 |
return; |
|
19246 |
return; |
| 19199 |
} else { |
|
19247 |
} else { |
| 19200 |
|
|
19248 |
|
| 19201 |
} |
|
19249 |
} |
| 19202 |
if (str_len == 0) { |
|
19250 |
if (str_len == 0) { |
| 19203 |
while (1) { |
|
19251 |
while (1) { |
| 19204 |
__z = return_value; |
|
19252 |
__z = return_value; |
| 19205 |
__z->value.lval = 0L; |
|
19253 |
__z->value.lval = 0L; |
| 19206 |
__z->type = (zend_uchar )3; |
|
19254 |
__z->type = (zend_uchar )3; |
| 19207 |
break; |
|
19255 |
break; |
| 19208 |
} |
|
19256 |
} |
| 19209 |
return; |
|
19257 |
return; |
| 19210 |
} else { |
|
19258 |
} else { |
| 19211 |
|
|
19259 |
|
| 19212 |
} |
|
19260 |
} |
| 19213 |
tmp = str; |
|
19261 |
tmp = str; |
| 19214 |
block_end = 0; |
|
19262 |
block_end = 0; |
| 19215 |
block_start = block_end; |
|
19263 |
block_start = block_end; |
| 19216 |
tmp___1 = _emalloc((size_t )(str_len + 1)); |
|
19264 |
tmp___1 = _emalloc((size_t )(str_len + 1)); |
| 19217 |
heb_str = (char *)tmp___1; |
|
19265 |
heb_str = (char *)tmp___1; |
| 19218 |
target = heb_str + str_len; |
|
19266 |
target = heb_str + str_len; |
| 19219 |
*target = (char)0; |
|
19267 |
*target = (char)0; |
| 19220 |
target --; |
|
19268 |
target --; |
| 19221 |
block_length = 0; |
|
19269 |
block_length = 0; |
| 19222 |
if ((int )((unsigned char )*tmp) >= 224) { |
|
19270 |
if ((int )((unsigned char )*tmp) >= 224) { |
| 19223 |
if ((int )((unsigned char )*tmp) <= 250) { |
|
19271 |
if ((int )((unsigned char )*tmp) <= 250) { |
| 19224 |
tmp___2 = 1; |
|
19272 |
tmp___2 = 1; |
| 19225 |
} else { |
|
19273 |
} else { |
| 19226 |
tmp___2 = 0; |
|
19274 |
tmp___2 = 0; |
| 19227 |
} |
|
19275 |
} |
| 19228 |
} else { |
|
19276 |
} else { |
| 19229 |
tmp___2 = 0; |
|
19277 |
tmp___2 = 0; |
| 19230 |
} |
|
19278 |
} |
| 19231 |
if (tmp___2) { |
|
19279 |
if (tmp___2) { |
| 19232 |
block_type = 2; |
|
19280 |
block_type = 2; |
| 19233 |
} else { |
|
19281 |
} else { |
| 19234 |
block_type = 1; |
|
19282 |
block_type = 1; |
| 19235 |
} |
|
19283 |
} |
| 19236 |
while (1) { |
|
19284 |
while (1) { |
| 19237 |
if (block_type == 2) { |
|
19285 |
if (block_type == 2) { |
| 19238 |
while (1) { |
|
19286 |
while (1) { |
| 19239 |
if ((int )((unsigned char )((int )*(tmp + 1))) >= 224) { |
|
19287 |
if ((int )((unsigned char )((int )*(tmp + 1))) >= 224) { |
| 19240 |
if ((int )((unsigned char )((int )*(tmp + 1))) <= 250) { |
|
19288 |
if ((int )((unsigned char )((int )*(tmp + 1))) <= 250) { |
| 19241 |
tmp___3 = 1; |
|
19289 |
tmp___3 = 1; |
| 19242 |
} else { |
|
19290 |
} else { |
| 19243 |
tmp___3 = 0; |
|
19291 |
tmp___3 = 0; |
| 19244 |
} |
|
19292 |
} |
| 19245 |
} else { |
|
19293 |
} else { |
| 19246 |
tmp___3 = 0; |
|
19294 |
tmp___3 = 0; |
| 19247 |
} |
|
19295 |
} |
| 19248 |
if (tmp___3) { |
|
19296 |
if (tmp___3) { |
| 19249 |
goto _L; |
|
19297 |
goto _L; |
| 19250 |
} else { |
|
19298 |
} else { |
| 19251 |
if ((int )((unsigned char )((int )*(tmp + 1))) == 32) { |
|
19299 |
if ((int )((unsigned char )((int )*(tmp + 1))) == 32) { |
| 19252 |
tmp___4 = 1; |
|
19300 |
tmp___4 = 1; |
| 19253 |
} else |
|
19301 |
} else |
| 19254 |
if ((int )((unsigned char )((int )*(tmp + 1))) == 9) { |
|
19302 |
if ((int )((unsigned char )((int )*(tmp + 1))) == 9) { |
| 19255 |
tmp___4 = 1; |
|
19303 |
tmp___4 = 1; |
| 19256 |
} else { |
|
19304 |
} else { |
| 19257 |
tmp___4 = 0; |
|
19305 |
tmp___4 = 0; |
| 19258 |
} |
|
19306 |
} |
| 19259 |
if (tmp___4) { |
|
19307 |
if (tmp___4) { |
| 19260 |
goto _L; |
|
19308 |
goto _L; |
| 19261 |
} else { |
|
19309 |
} else { |
| 19262 |
tmp___5 = __ctype_b_loc(); |
|
19310 |
tmp___5 = __ctype_b_loc(); |
| 19263 |
if ((int const )*(*tmp___5 + (int )*(tmp + 1)) & 4) { |
|
19311 |
if ((int const )*(*tmp___5 + (int )*(tmp + 1)) & 4) { |
| 19264 |
goto _L; |
|
19312 |
goto _L; |
| 19265 |
} else |
|
19313 |
} else |
| 19266 |
if ((int )*(tmp + 1) == 10) { |
|
19314 |
if ((int )*(tmp + 1) == 10) { |
| 19267 |
_L: |
|
19315 |
_L: |
| 19268 |
if (block_end < str_len - 1) { |
|
19316 |
if (block_end < str_len - 1) { |
| 19269 |
|
|
19317 |
|
| 19270 |
} else { |
|
19318 |
} else { |
| 19271 |
break; |
|
19319 |
break; |
| 19272 |
} |
|
19320 |
} |
| 19273 |
} else { |
|
19321 |
} else { |
| 19274 |
break; |
|
19322 |
break; |
| 19275 |
} |
|
19323 |
} |
| 19276 |
} |
|
19324 |
} |
| 19277 |
} |
|
19325 |
} |
| 19278 |
tmp ++; |
|
19326 |
tmp ++; |
| 19279 |
block_end ++; |
|
19327 |
block_end ++; |
| 19280 |
block_length ++; |
|
19328 |
block_length ++; |
| 19281 |
} |
|
19329 |
} |
| 19282 |
i = block_start; |
|
19330 |
i = block_start; |
| 19283 |
while (i <= block_end) { |
|
19331 |
while (i <= block_end) { |
| 19284 |
*target = *(str + i); |
|
19332 |
*target = *(str + i); |
| 19285 |
switch ((int )*target) { |
|
19333 |
switch ((int )*target) { |
| 19286 |
case 40: |
|
19334 |
case 40: |
| 19287 |
*target = (char )')'; |
|
19335 |
*target = (char )')'; |
| 19288 |
break; |
|
19336 |
break; |
| 19289 |
case 41: |
|
19337 |
case 41: |
| 19290 |
*target = (char )'('; |
|
19338 |
*target = (char )'('; |
| 19291 |
break; |
|
19339 |
break; |
| 19292 |
case 91: |
|
19340 |
case 91: |
| 19293 |
*target = (char )']'; |
|
19341 |
*target = (char )']'; |
| 19294 |
break; |
|
19342 |
break; |
| 19295 |
case 93: |
|
19343 |
case 93: |
| 19296 |
*target = (char )'['; |
|
19344 |
*target = (char )'['; |
| 19297 |
break; |
|
19345 |
break; |
| 19298 |
case 123: |
|
19346 |
case 123: |
| 19299 |
*target = (char )'}'; |
|
19347 |
*target = (char )'}'; |
| 19300 |
break; |
|
19348 |
break; |
| 19301 |
case 125: |
|
19349 |
case 125: |
| 19302 |
*target = (char )'{'; |
|
19350 |
*target = (char )'{'; |
| 19303 |
break; |
|
19351 |
break; |
| 19304 |
case 60: |
|
19352 |
case 60: |
| 19305 |
*target = (char )'>'; |
|
19353 |
*target = (char )'>'; |
| 19306 |
break; |
|
19354 |
break; |
| 19307 |
case 62: |
|
19355 |
case 62: |
| 19308 |
*target = (char )'<'; |
|
19356 |
*target = (char )'<'; |
| 19309 |
break; |
|
19357 |
break; |
| 19310 |
case 92: |
|
19358 |
case 92: |
| 19311 |
*target = (char )'/'; |
|
19359 |
*target = (char )'/'; |
| 19312 |
break; |
|
19360 |
break; |
| 19313 |
case 47: |
|
19361 |
case 47: |
| 19314 |
*target = (char )'\\'; |
|
19362 |
*target = (char )'\\'; |
| 19315 |
break; |
|
19363 |
break; |
| 19316 |
default: |
|
19364 |
default: |
| 19317 |
break; |
|
19365 |
break; |
| 19318 |
} |
|
19366 |
} |
| 19319 |
target --; |
|
19367 |
target --; |
| 19320 |
i ++; |
|
19368 |
i ++; |
| 19321 |
} |
|
19369 |
} |
| 19322 |
block_type = 1; |
|
19370 |
block_type = 1; |
| 19323 |
} else { |
|
19371 |
} else { |
| 19324 |
while (1) { |
|
19372 |
while (1) { |
| 19325 |
if ((int )((unsigned char )*(tmp + 1)) >= 224) { |
|
19373 |
if ((int )((unsigned char )*(tmp + 1)) >= 224) { |
| 19326 |
if ((int )((unsigned char )*(tmp + 1)) <= 250) { |
|
19374 |
if ((int )((unsigned char )*(tmp + 1)) <= 250) { |
| 19327 |
tmp___6 = 1; |
|
19375 |
tmp___6 = 1; |
| 19328 |
} else { |
|
19376 |
} else { |
| 19329 |
tmp___6 = 0; |
|
19377 |
tmp___6 = 0; |
| 19330 |
} |
|
19378 |
} |
| 19331 |
} else { |
|
19379 |
} else { |
| 19332 |
tmp___6 = 0; |
|
19380 |
tmp___6 = 0; |
| 19333 |
} |
|
19381 |
} |
| 19334 |
if (tmp___6) { |
|
19382 |
if (tmp___6) { |
| 19335 |
break; |
|
19383 |
break; |
| 19336 |
} else |
|
19384 |
} else |
| 19337 |
if ((int )*(tmp + 1) != 10) { |
|
19385 |
if ((int )*(tmp + 1) != 10) { |
| 19338 |
if (block_end < str_len - 1) { |
|
19386 |
if (block_end < str_len - 1) { |
| 19339 |
|
|
19387 |
|
| 19340 |
} else { |
|
19388 |
} else { |
| 19341 |
break; |
|
19389 |
break; |
| 19342 |
} |
|
19390 |
} |
| 19343 |
} else { |
|
19391 |
} else { |
| 19344 |
break; |
|
19392 |
break; |
| 19345 |
} |
|
19393 |
} |
| 19346 |
tmp ++; |
|
19394 |
tmp ++; |
| 19347 |
block_end ++; |
|
19395 |
block_end ++; |
| 19348 |
block_length ++; |
|
19396 |
block_length ++; |
| 19349 |
} |
|
19397 |
} |
| 19350 |
while (1) { |
|
19398 |
while (1) { |
| 19351 |
if ((int )((unsigned char )((int )*tmp)) == 32) { |
|
19399 |
if ((int )((unsigned char )((int )*tmp)) == 32) { |
| 19352 |
tmp___7 = 1; |
|
19400 |
tmp___7 = 1; |
| 19353 |
} else |
|
19401 |
} else |
| 19354 |
if ((int )((unsigned char )((int )*tmp)) == 9) { |
|
19402 |
if ((int )((unsigned char )((int )*tmp)) == 9) { |
| 19355 |
tmp___7 = 1; |
|
19403 |
tmp___7 = 1; |
| 19356 |
} else { |
|
19404 |
} else { |
| 19357 |
tmp___7 = 0; |
|
19405 |
tmp___7 = 0; |
| 19358 |
} |
|
19406 |
} |
| 19359 |
if (tmp___7) { |
|
19407 |
if (tmp___7) { |
| 19360 |
goto _L___0; |
|
19408 |
goto _L___0; |
| 19361 |
} else { |
|
19409 |
} else { |
| 19362 |
tmp___8 = __ctype_b_loc(); |
|
19410 |
tmp___8 = __ctype_b_loc(); |
| 19363 |
if ((int const )*(*tmp___8 + (int )*tmp) & 4) { |
|
19411 |
if ((int const )*(*tmp___8 + (int )*tmp) & 4) { |
| 19364 |
_L___0: |
|
19412 |
_L___0: |
| 19365 |
if ((int )*tmp != 47) { |
|
19413 |
if ((int )*tmp != 47) { |
| 19366 |
if ((int )*tmp != 45) { |
|
19414 |
if ((int )*tmp != 45) { |
| 19367 |
if (block_end > block_start) { |
|
19415 |
if (block_end > block_start) { |
| 19368 |
|
|
19416 |
|
| 19369 |
} else { |
|
19417 |
} else { |
| 19370 |
break; |
|
19418 |
break; |
| 19371 |
} |
|
19419 |
} |
| 19372 |
} else { |
|
19420 |
} else { |
| 19373 |
break; |
|
19421 |
break; |
| 19374 |
} |
|
19422 |
} |
| 19375 |
} else { |
|
19423 |
} else { |
| 19376 |
break; |
|
19424 |
break; |
| 19377 |
} |
|
19425 |
} |
| 19378 |
} else { |
|
19426 |
} else { |
| 19379 |
break; |
|
19427 |
break; |
| 19380 |
} |
|
19428 |
} |
| 19381 |
} |
|
19429 |
} |
| 19382 |
tmp --; |
|
19430 |
tmp --; |
| 19383 |
block_end --; |
|
19431 |
block_end --; |
| 19384 |
} |
|
19432 |
} |
| 19385 |
i = block_end; |
|
19433 |
i = block_end; |
| 19386 |
while (i >= block_start) { |
|
19434 |
while (i >= block_start) { |
| 19387 |
*target = *(str + i); |
|
19435 |
*target = *(str + i); |
| 19388 |
target --; |
|
19436 |
target --; |
| 19389 |
i --; |
|
19437 |
i --; |
| 19390 |
} |
|
19438 |
} |
| 19391 |
block_type = 2; |
|
19439 |
block_type = 2; |
| 19392 |
} |
|
19440 |
} |
| 19393 |
block_start = block_end + 1; |
|
19441 |
block_start = block_end + 1; |
| 19394 |
if (block_end < str_len - 1) { |
|
19442 |
if (block_end < str_len - 1) { |
| 19395 |
|
|
19443 |
|
| 19396 |
} else { |
|
19444 |
} else { |
| 19397 |
break; |
|
19445 |
break; |
| 19398 |
} |
|
19446 |
} |
| 19399 |
} |
|
19447 |
} |
| 19400 |
tmp___9 = _emalloc((size_t )(str_len + 1)); |
|
19448 |
tmp___9 = _emalloc((size_t )(str_len + 1)); |
| 19401 |
broken_str = (char *)tmp___9; |
|
19449 |
broken_str = (char *)tmp___9; |
| 19402 |
end = str_len - 1; |
|
19450 |
end = str_len - 1; |
| 19403 |
begin = end; |
|
19451 |
begin = end; |
| 19404 |
target = broken_str; |
|
19452 |
target = broken_str; |
| 19405 |
while (1) { |
|
19453 |
while (1) { |
| 19406 |
char_count = 0; |
|
19454 |
char_count = 0; |
| 19407 |
while (1) { |
|
19455 |
while (1) { |
| 19408 |
if (! max_chars) { |
|
19456 |
if (! max_chars) { |
| 19409 |
goto _L___2; |
|
19457 |
goto _L___2; |
| 19410 |
} else |
|
19458 |
} else |
| 19411 |
if ((long )char_count < max_chars) { |
|
19459 |
if ((long )char_count < max_chars) { |
| 19412 |
_L___2: |
|
19460 |
_L___2: |
| 19413 |
if (begin > 0) { |
|
19461 |
if (begin > 0) { |
| 19414 |
|
|
19462 |
|
| 19415 |
} else { |
|
19463 |
} else { |
| 19416 |
break; |
|
19464 |
break; |
| 19417 |
} |
|
19465 |
} |
| 19418 |
} else { |
|
19466 |
} else { |
| 19419 |
break; |
|
19467 |
break; |
| 19420 |
} |
|
19468 |
} |
| 19421 |
char_count ++; |
|
19469 |
char_count ++; |
| 19422 |
begin --; |
|
19470 |
begin --; |
| 19423 |
if (begin <= 0) { |
|
19471 |
if (begin <= 0) { |
| 19424 |
goto _L___1; |
|
19472 |
goto _L___1; |
| 19425 |
} else { |
|
19473 |
} else { |
| 19426 |
if ((int )((unsigned char )*(heb_str + begin)) == 10) { |
|
19474 |
if ((int )((unsigned char )*(heb_str + begin)) == 10) { |
| 19427 |
tmp___11 = 1; |
|
19475 |
tmp___11 = 1; |
| 19428 |
} else |
|
19476 |
} else |
| 19429 |
if ((int )((unsigned char )*(heb_str + begin)) == 13) { |
|
19477 |
if ((int )((unsigned char )*(heb_str + begin)) == 13) { |
| 19430 |
tmp___11 = 1; |
|
19478 |
tmp___11 = 1; |
| 19431 |
} else { |
|
19479 |
} else { |
| 19432 |
tmp___11 = 0; |
|
19480 |
tmp___11 = 0; |
| 19433 |
} |
|
19481 |
} |
| 19434 |
if (tmp___11) { |
|
19482 |
if (tmp___11) { |
| 19435 |
_L___1: |
|
19483 |
_L___1: |
| 19436 |
while (1) { |
|
19484 |
while (1) { |
| 19437 |
if (begin > 0) { |
|
19485 |
if (begin > 0) { |
| 19438 |
if ((int )((unsigned char )*(heb_str + (begin - 1))) == 10) { |
|
19486 |
if ((int )((unsigned char )*(heb_str + (begin - 1))) == 10) { |
| 19439 |
tmp___10 = 1; |
|
19487 |
tmp___10 = 1; |
| 19440 |
} else |
|
19488 |
} else |
| 19441 |
if ((int )((unsigned char )*(heb_str + (begin - 1))) == 13) { |
|
19489 |
if ((int )((unsigned char )*(heb_str + (begin - 1))) == 13) { |
| 19442 |
tmp___10 = 1; |
|
19490 |
tmp___10 = 1; |
| 19443 |
} else { |
|
19491 |
} else { |
| 19444 |
tmp___10 = 0; |
|
19492 |
tmp___10 = 0; |
| 19445 |
} |
|
19493 |
} |
| 19446 |
if (tmp___10) { |
|
19494 |
if (tmp___10) { |
| 19447 |
|
|
19495 |
|
| 19448 |
} else { |
|
19496 |
} else { |
| 19449 |
break; |
|
19497 |
break; |
| 19450 |
} |
|
19498 |
} |
| 19451 |
} else { |
|
19499 |
} else { |
| 19452 |
break; |
|
19500 |
break; |
| 19453 |
} |
|
19501 |
} |
| 19454 |
begin --; |
|
19502 |
begin --; |
| 19455 |
char_count ++; |
|
19503 |
char_count ++; |
| 19456 |
} |
|
19504 |
} |
| 19457 |
break; |
|
19505 |
break; |
| 19458 |
} else { |
|
19506 |
} else { |
| 19459 |
|
|
19507 |
|
| 19460 |
} |
|
19508 |
} |
| 19461 |
} |
|
19509 |
} |
| 19462 |
} |
|
19510 |
} |
| 19463 |
if ((long )char_count == max_chars) { |
|
19511 |
if ((long )char_count == max_chars) { |
| 19464 |
new_char_count = char_count; |
|
19512 |
new_char_count = char_count; |
| 19465 |
new_begin = begin; |
|
19513 |
new_begin = begin; |
| 19466 |
while (new_char_count > 0) { |
|
19514 |
while (new_char_count > 0) { |
| 19467 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 32) { |
|
19515 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 32) { |
| 19468 |
tmp___12 = 1; |
|
19516 |
tmp___12 = 1; |
| 19469 |
} else |
|
19517 |
} else |
| 19470 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 9) { |
|
19518 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 9) { |
| 19471 |
tmp___12 = 1; |
|
19519 |
tmp___12 = 1; |
| 19472 |
} else { |
|
19520 |
} else { |
| 19473 |
tmp___12 = 0; |
|
19521 |
tmp___12 = 0; |
| 19474 |
} |
|
19522 |
} |
| 19475 |
if (tmp___12) { |
|
19523 |
if (tmp___12) { |
| 19476 |
break; |
|
19524 |
break; |
| 19477 |
} else { |
|
19525 |
} else { |
| 19478 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 10) { |
|
19526 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 10) { |
| 19479 |
tmp___13 = 1; |
|
19527 |
tmp___13 = 1; |
| 19480 |
} else |
|
19528 |
} else |
| 19481 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 13) { |
|
19529 |
if ((int )((unsigned char )*(heb_str + new_begin)) == 13) { |
| 19482 |
tmp___13 = 1; |
|
19530 |
tmp___13 = 1; |
| 19483 |
} else { |
|
19531 |
} else { |
| 19484 |
tmp___13 = 0; |
|
19532 |
tmp___13 = 0; |
| 19485 |
} |
|
19533 |
} |
| 19486 |
if (tmp___13) { |
|
19534 |
if (tmp___13) { |
| 19487 |
break; |
|
19535 |
break; |
| 19488 |
} else { |
|
19536 |
} else { |
| 19489 |
|
|
19537 |
|
| 19490 |
} |
|
19538 |
} |
| 19491 |
} |
|
19539 |
} |
| 19492 |
new_begin ++; |
|
19540 |
new_begin ++; |
| 19493 |
new_char_count --; |
|
19541 |
new_char_count --; |
| 19494 |
} |
|
19542 |
} |
| 19495 |
if (new_char_count > 0) { |
|
19543 |
if (new_char_count > 0) { |
| 19496 |
char_count = new_char_count; |
|
19544 |
char_count = new_char_count; |
| 19497 |
begin = new_begin; |
|
19545 |
begin = new_begin; |
| 19498 |
} else { |
|
19546 |
} else { |
| 19499 |
|
|
19547 |
|
| 19500 |
} |
|
19548 |
} |
| 19501 |
} else { |
|
19549 |
} else { |
| 19502 |
|
|
19550 |
|
| 19503 |
} |
|
19551 |
} |
| 19504 |
orig_begin = begin; |
|
19552 |
orig_begin = begin; |
| 19505 |
if ((int )((unsigned char )*(heb_str + begin)) == 32) { |
|
19553 |
if ((int )((unsigned char )*(heb_str + begin)) == 32) { |
| 19506 |
tmp___14 = 1; |
|
19554 |
tmp___14 = 1; |
| 19507 |
} else |
|
19555 |
} else |
| 19508 |
if ((int )((unsigned char )*(heb_str + begin)) == 9) { |
|
19556 |
if ((int )((unsigned char )*(heb_str + begin)) == 9) { |
| 19509 |
tmp___14 = 1; |
|
19557 |
tmp___14 = 1; |
| 19510 |
} else { |
|
19558 |
} else { |
| 19511 |
tmp___14 = 0; |
|
19559 |
tmp___14 = 0; |
| 19512 |
} |
|
19560 |
} |
| 19513 |
if (tmp___14) { |
|
19561 |
if (tmp___14) { |
| 19514 |
*(heb_str + begin) = (char )'\n'; |
|
19562 |
*(heb_str + begin) = (char )'\n'; |
| 19515 |
} else { |
|
19563 |
} else { |
| 19516 |
|
|
19564 |
|
| 19517 |
} |
|
19565 |
} |
| 19518 |
while (1) { |
|
19566 |
while (1) { |
| 19519 |
if (begin <= end) { |
|
19567 |
if (begin <= end) { |
| 19520 |
if ((int )((unsigned char )*(heb_str + begin)) == 10) { |
|
19568 |
if ((int )((unsigned char )*(heb_str + begin)) == 10) { |
| 19521 |
tmp___15 = 1; |
|
19569 |
tmp___15 = 1; |
| 19522 |
} else |
|
19570 |
} else |
| 19523 |
if ((int )((unsigned char )*(heb_str + begin)) == 13) { |
|
19571 |
if ((int )((unsigned char )*(heb_str + begin)) == 13) { |
| 19524 |
tmp___15 = 1; |
|
19572 |
tmp___15 = 1; |
| 19525 |
} else { |
|
19573 |
} else { |
| 19526 |
tmp___15 = 0; |
|
19574 |
tmp___15 = 0; |
| 19527 |
} |
|
19575 |
} |
| 19528 |
if (tmp___15) { |
|
19576 |
if (tmp___15) { |
| 19529 |
|
|
19577 |
|
| 19530 |
} else { |
|
19578 |
} else { |
| 19531 |
break; |
|
19579 |
break; |
| 19532 |
} |
|
19580 |
} |
| 19533 |
} else { |
|
19581 |
} else { |
| 19534 |
break; |
|
19582 |
break; |
| 19535 |
} |
|
19583 |
} |
| 19536 |
begin ++; |
|
19584 |
begin ++; |
| 19537 |
} |
|
19585 |
} |
| 19538 |
i = begin; |
|
19586 |
i = begin; |
| 19539 |
while (i <= end) { |
|
19587 |
while (i <= end) { |
| 19540 |
*target = *(heb_str + i); |
|
19588 |
*target = *(heb_str + i); |
| 19541 |
target ++; |
|
19589 |
target ++; |
| 19542 |
i ++; |
|
19590 |
i ++; |
| 19543 |
} |
|
19591 |
} |
| 19544 |
i = orig_begin; |
|
19592 |
i = orig_begin; |
| 19545 |
while (1) { |
|
19593 |
while (1) { |
| 19546 |
if (i <= end) { |
|
19594 |
if (i <= end) { |
| 19547 |
if ((int )((unsigned char )*(heb_str + i)) == 10) { |
|
19595 |
if ((int )((unsigned char )*(heb_str + i)) == 10) { |
| 19548 |
tmp___16 = 1; |
|
19596 |
tmp___16 = 1; |
| 19549 |
} else |
|
19597 |
} else |
| 19550 |
if ((int )((unsigned char )*(heb_str + i)) == 13) { |
|
19598 |
if ((int )((unsigned char )*(heb_str + i)) == 13) { |
| 19551 |
tmp___16 = 1; |
|
19599 |
tmp___16 = 1; |
| 19552 |
} else { |
|
19600 |
} else { |
| 19553 |
tmp___16 = 0; |
|
19601 |
tmp___16 = 0; |
| 19554 |
} |
|
19602 |
} |
| 19555 |
if (tmp___16) { |
|
19603 |
if (tmp___16) { |
| 19556 |
|
|
19604 |
|
| 19557 |
} else { |
|
19605 |
} else { |
| 19558 |
break; |
|
19606 |
break; |
| 19559 |
} |
|
19607 |
} |
| 19560 |
} else { |
|
19608 |
} else { |
| 19561 |
break; |
|
19609 |
break; |
| 19562 |
} |
|
19610 |
} |
| 19563 |
*target = *(heb_str + i); |
|
19611 |
*target = *(heb_str + i); |
| 19564 |
target ++; |
|
19612 |
target ++; |
| 19565 |
i ++; |
|
19613 |
i ++; |
| 19566 |
} |
|
19614 |
} |
| 19567 |
begin = orig_begin; |
|
19615 |
begin = orig_begin; |
| 19568 |
if (begin <= 0) { |
|
19616 |
if (begin <= 0) { |
| 19569 |
*target = (char)0; |
|
19617 |
*target = (char)0; |
| 19570 |
break; |
|
19618 |
break; |
| 19571 |
} else { |
|
19619 |
} else { |
| 19572 |
|
|
19620 |
|
| 19573 |
} |
|
19621 |
} |
| 19574 |
begin --; |
|
19622 |
begin --; |
| 19575 |
end = begin; |
|
19623 |
end = begin; |
| 19576 |
} |
|
19624 |
} |
| 19577 |
_efree((void *)heb_str); |
|
19625 |
_efree((void *)heb_str); |
| 19578 |
if (convert_newlines) { |
|
19626 |
if (convert_newlines) { |
| 19579 |
php_char_to_str(broken_str, (uint )str_len, (char )'\n', (char *)"<br />\n", |
|
19627 |
php_char_to_str(broken_str, (uint )str_len, (char )'\n', (char *)"<br />\n", |
| 19580 |
7, return_value); |
|
19628 |
7, return_value); |
| 19581 |
_efree((void *)broken_str); |
|
19629 |
_efree((void *)broken_str); |
| 19582 |
} else { |
|
19630 |
} else { |
| 19583 |
return_value->value.str.val = broken_str; |
|
19631 |
return_value->value.str.val = broken_str; |
| 19584 |
return_value->value.str.len = str_len; |
|
19632 |
return_value->value.str.len = str_len; |
| 19585 |
return_value->type = (zend_uchar )6; |
|
19633 |
return_value->type = (zend_uchar )6; |
| 19586 |
} |
|
19634 |
} |
| 19587 |
return; |
|
19635 |
return; |
| 19588 |
} |
|
19636 |
} |
| 19589 |
} |
|
19637 |
} |
| 19590 |
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
|
19638 |
void zif_hebrev(int ht , zval *return_value , zval **return_value_ptr , |
| 19591 |
zval *this_ptr , int return_value_used ) |
|
19639 |
zval *this_ptr , int return_value_used ) |
| 19592 |
{ |
|
19640 |
{ |
| 19593 |
|
|
19641 |
|
| 19594 |
|
|
19642 |
|
| 19595 |
{ |
|
19643 |
{ |
| 19596 |
php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0); |
|
19644 |
php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 0); |
| 19597 |
return; |
|
19645 |
return; |
| 19598 |
} |
|
19646 |
} |
| 19599 |
} |
|
19647 |
} |
| 19600 |
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , |
|
19648 |
void zif_hebrevc(int ht , zval *return_value , zval **return_value_ptr , |
| 19601 |
zval *this_ptr , int return_value_used ) |
|
19649 |
zval *this_ptr , int return_value_used ) |
| 19602 |
{ |
|
19650 |
{ |
| 19603 |
|
|
19651 |
|
| 19604 |
|
|
19652 |
|
| 19605 |
{ |
|
19653 |
{ |
| 19606 |
php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1); |
|
19654 |
php_hebrev(ht, return_value, return_value_ptr, this_ptr, return_value_used, 1); |
| 19607 |
return; |
|
19655 |
return; |
| 19608 |
} |
|
19656 |
} |
| 19609 |
} |
|
19657 |
} |
| 19610 |
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , |
|
19658 |
void zif_nl2br(int ht , zval *return_value , zval **return_value_ptr , |
| 19611 |
zval *this_ptr , int return_value_used ) |
|
19659 |
zval *this_ptr , int return_value_used ) |
| 19612 |
{ |
|
19660 |
{ |
| 19613 |
char *tmp ; |
|
19661 |
char *tmp ; |
| 19614 |
char *str ; |
|
19662 |
char *str ; |
| 19615 |
int new_length ; |
|
19663 |
int new_length ; |
| 19616 |
char *end ; |
|
19664 |
char *end ; |
| 19617 |
char *target ; |
|
19665 |
char *target ; |
| 19618 |
int repl_cnt ; |
|
19666 |
int repl_cnt ; |
| 19619 |
int str_len ; |
|
19667 |
int str_len ; |
| 19620 |
zend_bool is_xhtml ; |
|
19668 |
zend_bool is_xhtml ; |
| 19621 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
19669 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 19622 |
char const *__s ; |
|
19670 |
char const *__s ; |
| 19623 |
int __l ; |
|
19671 |
int __l ; |
| 19624 |
zval *__z ; |
|
19672 |
zval *__z ; |
| 19625 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
19673 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 19626 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
|
19674 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
| 19627 |
char *tmp___3 ; |
|
19675 |
char *tmp___3 ; |
| 19628 |
char *tmp___4 ; |
|
19676 |
char *tmp___4 ; |
| 19629 |
char *tmp___5 ; |
|
19677 |
char *tmp___5 ; |
| 19630 |
char *tmp___6 ; |
|
19678 |
char *tmp___6 ; |
| 19631 |
char *tmp___7 ; |
|
19679 |
char *tmp___7 ; |
| 19632 |
char *tmp___8 ; |
|
19680 |
char *tmp___8 ; |
| 19633 |
char *tmp___9 ; |
|
19681 |
char *tmp___9 ; |
| 19634 |
char *tmp___10 ; |
|
19682 |
char *tmp___10 ; |
| 19635 |
char *tmp___11 ; |
|
19683 |
char *tmp___11 ; |
| 19636 |
char const *__s___0 ; |
|
19684 |
char const *__s___0 ; |
| 19637 |
int __l___0 ; |
|
19685 |
int __l___0 ; |
| 19638 |
zval *__z___0 ; |
|
19686 |
zval *__z___0 ; |
| 19639 |
char __attribute__((__visibility__("default"))) *tmp___12 ; |
|
19687 |
char __attribute__((__visibility__("default"))) *tmp___12 ; |
| 19640 |
|
|
19688 |
|
| 19641 |
{ |
|
19689 |
{ |
| 19642 |
repl_cnt = 0; |
|
19690 |
repl_cnt = 0; |
| 19643 |
is_xhtml = (zend_bool )1; |
|
19691 |
is_xhtml = (zend_bool )1; |
| 19644 |
tmp___0 = zend_parse_parameters(ht, "s|b", & str, & str_len, & is_xhtml); |
|
19692 |
tmp___0 = zend_parse_parameters(ht, "s|b", & str, & str_len, & is_xhtml); |
| 19645 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
|
19693 |
if (tmp___0 == (int __attribute__((__visibility__("default"))) )-1) { |
| 19646 |
return; |
|
19694 |
return; |
| 19647 |
} else { |
|
19695 |
} else { |
| 19648 |
|
|
19696 |
|
| 19649 |
} |
|
19697 |
} |
| 19650 |
tmp = str; |
|
19698 |
tmp = str; |
| 19651 |
end = str + str_len; |
|
19699 |
end = str + str_len; |
| 19652 |
while ((unsigned int )tmp < (unsigned int )end) { |
|
19700 |
while ((unsigned int )tmp < (unsigned int )end) { |
| 19653 |
if ((int )*tmp == 13) { |
|
19701 |
if ((int )*tmp == 13) { |
| 19654 |
if ((int )*(tmp + 1) == 10) { |
|
19702 |
if ((int )*(tmp + 1) == 10) { |
| 19655 |
tmp ++; |
|
19703 |
tmp ++; |
| 19656 |
} else { |
|
19704 |
} else { |
| 19657 |
|
|
19705 |
|
| 19658 |
} |
|
19706 |
} |
| 19659 |
repl_cnt ++; |
|
19707 |
repl_cnt ++; |
| 19660 |
} else |
|
19708 |
} else |
| 19661 |
if ((int )*tmp == 10) { |
|
19709 |
if ((int )*tmp == 10) { |
| 19662 |
if ((int )*(tmp + 1) == 13) { |
|
19710 |
if ((int )*(tmp + 1) == 13) { |
| 19663 |
tmp ++; |
|
19711 |
tmp ++; |
| 19664 |
} else { |
|
19712 |
} else { |
| 19665 |
|
|
19713 |
|
| 19666 |
} |
|
19714 |
} |
| 19667 |
repl_cnt ++; |
|
19715 |
repl_cnt ++; |
| 19668 |
} else { |
|
19716 |
} else { |
| 19669 |
|
|
19717 |
|
| 19670 |
} |
|
19718 |
} |
| 19671 |
tmp ++; |
|
19719 |
tmp ++; |
| 19672 |
} |
|
19720 |
} |
| 19673 |
if (repl_cnt == 0) { |
|
19721 |
if (repl_cnt == 0) { |
| 19674 |
while (1) { |
|
19722 |
while (1) { |
| 19675 |
__s = (char const *)str; |
|
19723 |
__s = (char const *)str; |
| 19676 |
__l = str_len; |
|
19724 |
__l = str_len; |
| 19677 |
__z = return_value; |
|
19725 |
__z = return_value; |
| 19678 |
__z->value.str.len = __l; |
|
19726 |
__z->value.str.len = __l; |
| 19679 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
|
19727 |
tmp___1 = _estrndup(__s, (unsigned int )__l); |
| 19680 |
__z->value.str.val = (char *)tmp___1; |
|
19728 |
__z->value.str.val = (char *)tmp___1; |
| 19681 |
__z->type = (zend_uchar )6; |
|
19729 |
__z->type = (zend_uchar )6; |
| 19682 |
break; |
|
19730 |
break; |
| 19683 |
} |
|
19731 |
} |
| 19684 |
return; |
|
19732 |
return; |
| 19685 |
} else { |
|
19733 |
} else { |
| 19686 |
|
|
19734 |
|
| 19687 |
} |
|
19735 |
} |
| 19688 |
if (is_xhtml) { |
|
19736 |
if (is_xhtml) { |
| 19689 |
new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br />") - 1U)); |
|
19737 |
new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br />") - 1U)); |
| 19690 |
} else { |
|
19738 |
} else { |
| 19691 |
new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br>") - 1U)); |
|
19739 |
new_length = (int )((unsigned int )str_len + (unsigned int )repl_cnt * (sizeof("<br>") - 1U)); |
| 19692 |
} |
|
19740 |
} |
| 19693 |
tmp___2 = _emalloc((size_t )(new_length + 1)); |
|
19741 |
tmp___2 = _emalloc((size_t )(new_length + 1)); |
| 19694 |
target = (char *)tmp___2; |
|
19742 |
target = (char *)tmp___2; |
| 19695 |
tmp = target; |
|
19743 |
tmp = target; |
| 19696 |
while ((unsigned int )str < (unsigned int )end) { |
|
19744 |
while ((unsigned int )str < (unsigned int )end) { |
| 19697 |
switch ((int )*str) { |
|
19745 |
switch ((int )*str) { |
| 19698 |
case 10: |
|
19746 |
case 10: |
| 19699 |
case 13: |
|
19747 |
case 13: |
| 19700 |
tmp___3 = target; |
|
19748 |
tmp___3 = target; |
| 19701 |
target ++; |
|
19749 |
target ++; |
| 19702 |
*tmp___3 = (char )'<'; |
|
19750 |
*tmp___3 = (char )'<'; |
| 19703 |
tmp___4 = target; |
|
19751 |
tmp___4 = target; |
| 19704 |
target ++; |
|
19752 |
target ++; |
| 19705 |
*tmp___4 = (char )'b'; |
|
19753 |
*tmp___4 = (char )'b'; |
| 19706 |
tmp___5 = target; |
|
19754 |
tmp___5 = target; |
| 19707 |
target ++; |
|
19755 |
target ++; |
| 19708 |
*tmp___5 = (char )'r'; |
|
19756 |
*tmp___5 = (char )'r'; |
| 19709 |
if (is_xhtml) { |
|
19757 |
if (is_xhtml) { |
| 19710 |
tmp___6 = target; |
|
19758 |
tmp___6 = target; |
| 19711 |
target ++; |
|
19759 |
target ++; |
| 19712 |
*tmp___6 = (char )' '; |
|
19760 |
*tmp___6 = (char )' '; |
| 19713 |
tmp___7 = target; |
|
19761 |
tmp___7 = target; |
| 19714 |
target ++; |
|
19762 |
target ++; |
| 19715 |
*tmp___7 = (char )'/'; |
|
19763 |
*tmp___7 = (char )'/'; |
| 19716 |
} else { |
|
19764 |
} else { |
| 19717 |
|
|
19765 |
|
| 19718 |
} |
|
19766 |
} |
| 19719 |
tmp___8 = target; |
|
19767 |
tmp___8 = target; |
| 19720 |
target ++; |
|
19768 |
target ++; |
| 19721 |
*tmp___8 = (char )'>'; |
|
19769 |
*tmp___8 = (char )'>'; |
| 19722 |
if ((int )*str == 13) { |
|
19770 |
if ((int )*str == 13) { |
| 19723 |
if ((int )*(str + 1) == 10) { |
|
19771 |
if ((int )*(str + 1) == 10) { |
| 19724 |
tmp___9 = target; |
|
19772 |
tmp___9 = target; |
| 19725 |
target ++; |
|
19773 |
target ++; |
| 19726 |
tmp___10 = str; |
|
19774 |
tmp___10 = str; |
| 19727 |
str ++; |
|
19775 |
str ++; |
| 19728 |
*tmp___9 = *tmp___10; |
|
19776 |
*tmp___9 = *tmp___10; |
| 19729 |
} else { |
|
19777 |
} else { |
| 19730 |
goto _L; |
|
19778 |
goto _L; |
| 19731 |
} |
|
19779 |
} |
| 19732 |
} else |
|
19780 |
} else |
| 19733 |
_L: |
|
19781 |
_L: |
| 19734 |
if ((int )*str == 10) { |
|
19782 |
if ((int )*str == 10) { |
| 19735 |
if ((int )*(str + 1) == 13) { |
|
19783 |
if ((int )*(str + 1) == 13) { |
| 19736 |
tmp___9 = target; |
|
19784 |
tmp___9 = target; |
| 19737 |
target ++; |
|
19785 |
target ++; |
| 19738 |
tmp___10 = str; |
|
19786 |
tmp___10 = str; |
| 19739 |
str ++; |
|
19787 |
str ++; |
| 19740 |
*tmp___9 = *tmp___10; |
|
19788 |
*tmp___9 = *tmp___10; |
| 19741 |
} else { |
|
19789 |
} else { |
| 19742 |
|
|
19790 |
|
| 19743 |
} |
|
19791 |
} |
| 19744 |
} else { |
|
19792 |
} else { |
| 19745 |
|
|
19793 |
|
| 19746 |
} |
|
19794 |
} |
| 19747 |
default: |
|
19795 |
default: |
| 19748 |
tmp___11 = target; |
|
19796 |
tmp___11 = target; |
| 19749 |
target ++; |
|
19797 |
target ++; |
| 19750 |
*tmp___11 = *str; |
|
19798 |
*tmp___11 = *str; |
| 19751 |
} |
|
19799 |
} |
| 19752 |
str ++; |
|
19800 |
str ++; |
| 19753 |
} |
|
19801 |
} |
| 19754 |
*target = (char )'\000'; |
|
19802 |
*target = (char )'\000'; |
| 19755 |
while (1) { |
|
19803 |
while (1) { |
| 19756 |
__s___0 = (char const *)tmp; |
|
19804 |
__s___0 = (char const *)tmp; |
| 19757 |
__l___0 = new_length; |
|
19805 |
__l___0 = new_length; |
| 19758 |
__z___0 = return_value; |
|
19806 |
__z___0 = return_value; |
| 19759 |
__z___0->value.str.len = __l___0; |
|
19807 |
__z___0->value.str.len = __l___0; |
| 19760 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
19808 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 19761 |
__z___0->type = (zend_uchar )6; |
|
19809 |
__z___0->type = (zend_uchar )6; |
| 19762 |
break; |
|
19810 |
break; |
| 19763 |
} |
|
19811 |
} |
| 19764 |
return; |
|
19812 |
return; |
| 19765 |
} |
|
19813 |
} |
| 19766 |
} |
|
19814 |
} |
| 19767 |
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , |
|
19815 |
void zif_strip_tags(int ht , zval *return_value , zval **return_value_ptr , |
| 19768 |
zval *this_ptr , int return_value_used ) |
|
19816 |
zval *this_ptr , int return_value_used ) |
| 19769 |
{ |
|
19817 |
{ |
| 19770 |
char *buf ; |
|
19818 |
char *buf ; |
| 19771 |
char *str ; |
|
19819 |
char *str ; |
| 19772 |
zval **allow ; |
|
19820 |
zval **allow ; |
| 19773 |
char *allowed_tags ; |
|
19821 |
char *allowed_tags ; |
| 19774 |
int allowed_tags_len ; |
|
19822 |
int allowed_tags_len ; |
| 19775 |
int str_len ; |
|
19823 |
int str_len ; |
| 19776 |
size_t retval_len ; |
|
19824 |
size_t retval_len ; |
| 19777 |
int __attribute__((__visibility__("default"))) tmp ; |
|
19825 |
int __attribute__((__visibility__("default"))) tmp ; |
| 19778 |
zval *new_zv ; |
|
19826 |
zval *new_zv ; |
| 19779 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
19827 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 19780 |
zend_uint tmp___1 ; |
|
19828 |
zend_uint tmp___1 ; |
| 19781 |
zend_bool tmp___2 ; |
|
19829 |
zend_bool tmp___2 ; |
| 19782 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
19830 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 19783 |
size_t __attribute__((__visibility__("default"))) tmp___4 ; |
|
19831 |
size_t __attribute__((__visibility__("default"))) tmp___4 ; |
| 19784 |
char const *__s ; |
|
19832 |
char const *__s ; |
| 19785 |
int __l ; |
|
19833 |
int __l ; |
| 19786 |
zval *__z ; |
|
19834 |
zval *__z ; |
| 19787 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
|
19835 |
char __attribute__((__visibility__("default"))) *tmp___5 ; |
| 19788 |
|
|
19836 |
|
| 19789 |
{ |
|
19837 |
{ |
| 19790 |
allow = (zval **)((void *)0); |
|
19838 |
allow = (zval **)((void *)0); |
| 19791 |
allowed_tags = (char *)((void *)0); |
|
19839 |
allowed_tags = (char *)((void *)0); |
| 19792 |
allowed_tags_len = 0; |
|
19840 |
allowed_tags_len = 0; |
| 19793 |
tmp = zend_parse_parameters(ht, "s|Z", & str, & str_len, & allow); |
|
19841 |
tmp = zend_parse_parameters(ht, "s|Z", & str, & str_len, & allow); |
| 19794 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
19842 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 19795 |
return; |
|
19843 |
return; |
| 19796 |
} else { |
|
19844 |
} else { |
| 19797 |
|
|
19845 |
|
| 19798 |
} |
|
19846 |
} |
| 19799 |
if ((unsigned int )allow != (unsigned int )((void *)0)) { |
|
19847 |
if ((unsigned int )allow != (unsigned int )((void *)0)) { |
| 19800 |
if ((int )(*allow)->type != 6) { |
|
19848 |
if ((int )(*allow)->type != 6) { |
| 19801 |
tmp___2 = zval_isref_p(*allow); |
|
19849 |
tmp___2 = zval_isref_p(*allow); |
| 19802 |
if (tmp___2) { |
|
19850 |
if (tmp___2) { |
| 19803 |
|
|
19851 |
|
| 19804 |
} else { |
|
19852 |
} else { |
| 19805 |
while (1) { |
|
19853 |
while (1) { |
| 19806 |
tmp___1 = zval_refcount_p(*allow); |
|
19854 |
tmp___1 = zval_refcount_p(*allow); |
| 19807 |
if (tmp___1 > 1U) { |
|
19855 |
if (tmp___1 > 1U) { |
| 19808 |
zval_delref_p(*allow); |
|
19856 |
zval_delref_p(*allow); |
| 19809 |
while (1) { |
|
19857 |
while (1) { |
| 19810 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
19858 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 19811 |
new_zv = (zval *)tmp___0; |
|
19859 |
new_zv = (zval *)tmp___0; |
| 19812 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19860 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19813 |
break; |
|
19861 |
break; |
| 19814 |
} |
|
19862 |
} |
| 19815 |
while (1) { |
|
19863 |
while (1) { |
| 19816 |
while (1) { |
|
19864 |
while (1) { |
| 19817 |
new_zv->value = (*allow)->value; |
|
19865 |
new_zv->value = (*allow)->value; |
| 19818 |
new_zv->type = (*allow)->type; |
|
19866 |
new_zv->type = (*allow)->type; |
| 19819 |
break; |
|
19867 |
break; |
| 19820 |
} |
|
19868 |
} |
| 19821 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
19869 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 19822 |
zval_unset_isref_p(new_zv); |
|
19870 |
zval_unset_isref_p(new_zv); |
| 19823 |
break; |
|
19871 |
break; |
| 19824 |
} |
|
19872 |
} |
| 19825 |
*allow = new_zv; |
|
19873 |
*allow = new_zv; |
| 19826 |
_zval_copy_ctor(new_zv); |
|
19874 |
_zval_copy_ctor(new_zv); |
| 19827 |
} else { |
|
19875 |
} else { |
| 19828 |
|
|
19876 |
|
| 19829 |
} |
|
19877 |
} |
| 19830 |
break; |
|
19878 |
break; |
| 19831 |
} |
|
19879 |
} |
| 19832 |
} |
|
19880 |
} |
| 19833 |
if ((int )(*allow)->type != 6) { |
|
19881 |
if ((int )(*allow)->type != 6) { |
| 19834 |
_convert_to_string(*allow); |
|
19882 |
_convert_to_string(*allow); |
| 19835 |
} else { |
|
19883 |
} else { |
| 19836 |
|
|
19884 |
|
| 19837 |
} |
|
19885 |
} |
| 19838 |
} else { |
|
19886 |
} else { |
| 19839 |
|
|
19887 |
|
| 19840 |
} |
|
19888 |
} |
| 19841 |
allowed_tags = (*allow)->value.str.val; |
|
19889 |
allowed_tags = (*allow)->value.str.val; |
| 19842 |
allowed_tags_len = (*allow)->value.str.len; |
|
19890 |
allowed_tags_len = (*allow)->value.str.len; |
| 19843 |
} else { |
|
19891 |
} else { |
| 19844 |
|
|
19892 |
|
| 19845 |
} |
|
19893 |
} |
| 19846 |
tmp___3 = _estrndup((char const *)str, (unsigned int )str_len); |
|
19894 |
tmp___3 = _estrndup((char const *)str, (unsigned int )str_len); |
| 19847 |
buf = (char *)tmp___3; |
|
19895 |
buf = (char *)tmp___3; |
| 19848 |
tmp___4 = php_strip_tags_ex(buf, str_len, (int *)((void *)0), allowed_tags, |
|
19896 |
tmp___4 = php_strip_tags_ex(buf, str_len, (int *)((void *)0), allowed_tags, |
| 19849 |
allowed_tags_len, (zend_bool )0); |
|
19897 |
allowed_tags_len, (zend_bool )0); |
| 19850 |
retval_len = (size_t )tmp___4; |
|
19898 |
retval_len = (size_t )tmp___4; |
| 19851 |
while (1) { |
|
19899 |
while (1) { |
| 19852 |
__s = (char const *)buf; |
|
19900 |
__s = (char const *)buf; |
| 19853 |
__l = (int )retval_len; |
|
19901 |
__l = (int )retval_len; |
| 19854 |
__z = return_value; |
|
19902 |
__z = return_value; |
| 19855 |
__z->value.str.len = __l; |
|
19903 |
__z->value.str.len = __l; |
| 19856 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
19904 |
__z->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 19857 |
__z->type = (zend_uchar )6; |
|
19905 |
__z->type = (zend_uchar )6; |
| 19858 |
break; |
|
19906 |
break; |
| 19859 |
} |
|
19907 |
} |
| 19860 |
return; |
|
19908 |
return; |
| 19861 |
} |
|
19909 |
} |
| 19862 |
} |
|
19910 |
} |
| 19863 |
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , |
|
19911 |
void zif_setlocale(int ht , zval *return_value , zval **return_value_ptr , |
| 19864 |
zval *this_ptr , int return_value_used ) |
|
19912 |
zval *this_ptr , int return_value_used ) |
| 19865 |
{ |
|
19913 |
{ |
| 19866 |
zval ***args ; |
|
19914 |
zval ***args ; |
| 19867 |
zval **pcategory ; |
|
19915 |
zval **pcategory ; |
| 19868 |
zval **plocale ; |
|
19916 |
zval **plocale ; |
| 19869 |
int num_args ; |
|
19917 |
int num_args ; |
| 19870 |
int cat ; |
|
19918 |
int cat ; |
| 19871 |
int i ; |
|
19919 |
int i ; |
| 19872 |
char *loc ; |
|
19920 |
char *loc ; |
| 19873 |
char *retval ; |
|
19921 |
char *retval ; |
| 19874 |
int __attribute__((__visibility__("default"))) tmp ; |
|
19922 |
int __attribute__((__visibility__("default"))) tmp ; |
| 19875 |
zval *new_zv ; |
|
19923 |
zval *new_zv ; |
| 19876 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
19924 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 19877 |
zend_uint tmp___1 ; |
|
19925 |
zend_uint tmp___1 ; |
| 19878 |
zend_bool tmp___2 ; |
|
19926 |
zend_bool tmp___2 ; |
| 19879 |
char *category ; |
|
19927 |
char *category ; |
| 19880 |
zval *new_zv___0 ; |
|
19928 |
zval *new_zv___0 ; |
| 19881 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
19929 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 19882 |
zend_uint tmp___4 ; |
|
19930 |
zend_uint tmp___4 ; |
| 19883 |
zend_bool tmp___5 ; |
|
19931 |
zend_bool tmp___5 ; |
| 19884 |
zval *__z ; |
|
19932 |
zval *__z ; |
| 19885 |
int tmp___6 ; |
|
19933 |
int tmp___6 ; |
| 19886 |
int tmp___7 ; |
|
19934 |
int tmp___7 ; |
| 19887 |
int tmp___8 ; |
|
19935 |
int tmp___8 ; |
| 19888 |
int tmp___9 ; |
|
19936 |
int tmp___9 ; |
| 19889 |
int tmp___10 ; |
|
19937 |
int tmp___10 ; |
| 19890 |
int tmp___11 ; |
|
19938 |
int tmp___11 ; |
| 19891 |
int tmp___12 ; |
|
19939 |
int tmp___12 ; |
| 19892 |
int __attribute__((__visibility__("default"))) tmp___13 ; |
|
19940 |
int __attribute__((__visibility__("default"))) tmp___13 ; |
| 19893 |
zval *new_zv___1 ; |
|
19941 |
zval *new_zv___1 ; |
| 19894 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
|
19942 |
void __attribute__((__visibility__("default"))) *tmp___14 ; |
| 19895 |
zend_uint tmp___15 ; |
|
19943 |
zend_uint tmp___15 ; |
| 19896 |
zend_bool tmp___16 ; |
|
19944 |
zend_bool tmp___16 ; |
| 19897 |
size_t __s1_len ; |
|
19945 |
size_t __s1_len ; |
| 19898 |
size_t __s2_len ; |
|
19946 |
size_t __s2_len ; |
| 19899 |
int tmp___17 ; |
|
19947 |
int tmp___17 ; |
| 19900 |
int tmp___18 ; |
|
19948 |
int tmp___18 ; |
| 19901 |
int tmp___19 ; |
|
19949 |
int tmp___19 ; |
| 19902 |
unsigned char const *__s2 ; |
|
19950 |
unsigned char const *__s2 ; |
| 19903 |
register int __result ; |
|
19951 |
register int __result ; |
| 19904 |
int tmp___20 ; |
|
19952 |
int tmp___20 ; |
| 19905 |
unsigned char const *__s1 ; |
|
19953 |
unsigned char const *__s1 ; |
| 19906 |
register int __result___0 ; |
|
19954 |
register int __result___0 ; |
| 19907 |
int tmp___21 ; |
|
19955 |
int tmp___21 ; |
| 19908 |
int tmp___22 ; |
|
19956 |
int tmp___22 ; |
| 19909 |
int tmp___23 ; |
|
19957 |
int tmp___23 ; |
| 19910 |
char __attribute__((__visibility__("default"))) *tmp___24 ; |
|
19958 |
char __attribute__((__visibility__("default"))) *tmp___24 ; |
| 19911 |
char const *__s ; |
|
19959 |
char const *__s ; |
| 19912 |
zval *__z___0 ; |
|
19960 |
zval *__z___0 ; |
| 19913 |
size_t tmp___25 ; |
|
19961 |
size_t tmp___25 ; |
| 19914 |
char __attribute__((__visibility__("default"))) *tmp___26 ; |
|
19962 |
char __attribute__((__visibility__("default"))) *tmp___26 ; |
| 19915 |
int __attribute__((__visibility__("default"))) tmp___27 ; |
|
19963 |
int __attribute__((__visibility__("default"))) tmp___27 ; |
| 19916 |
zval *__z___1 ; |
|
19964 |
zval *__z___1 ; |
| 19917 |
|
|
19965 |
|
| 19918 |
{ |
|
19966 |
{ |
| 19919 |
args = (zval ***)((void *)0); |
|
19967 |
args = (zval ***)((void *)0); |
| 19920 |
i = 0; |
|
19968 |
i = 0; |
| 19921 |
tmp = zend_parse_parameters(ht, "Z+", & pcategory, & args, & num_args); |
|
19969 |
tmp = zend_parse_parameters(ht, "Z+", & pcategory, & args, & num_args); |
| 19922 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
19970 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 19923 |
return; |
|
19971 |
return; |
| 19924 |
} else { |
|
19972 |
} else { |
| 19925 |
|
|
19973 |
|
| 19926 |
} |
|
19974 |
} |
| 19927 |
if ((int )(*pcategory)->type == 1) { |
|
19975 |
if ((int )(*pcategory)->type == 1) { |
| 19928 |
if ((int )(*pcategory)->type != 1) { |
|
19976 |
if ((int )(*pcategory)->type != 1) { |
| 19929 |
tmp___2 = zval_isref_p(*pcategory); |
|
19977 |
tmp___2 = zval_isref_p(*pcategory); |
| 19930 |
if (tmp___2) { |
|
19978 |
if (tmp___2) { |
| 19931 |
|
|
19979 |
|
| 19932 |
} else { |
|
19980 |
} else { |
| 19933 |
while (1) { |
|
19981 |
while (1) { |
| 19934 |
tmp___1 = zval_refcount_p(*pcategory); |
|
19982 |
tmp___1 = zval_refcount_p(*pcategory); |
| 19935 |
if (tmp___1 > 1U) { |
|
19983 |
if (tmp___1 > 1U) { |
| 19936 |
zval_delref_p(*pcategory); |
|
19984 |
zval_delref_p(*pcategory); |
| 19937 |
while (1) { |
|
19985 |
while (1) { |
| 19938 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
19986 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 19939 |
new_zv = (zval *)tmp___0; |
|
19987 |
new_zv = (zval *)tmp___0; |
| 19940 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
|
19988 |
((zval_gc_info *)new_zv)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19941 |
break; |
|
19989 |
break; |
| 19942 |
} |
|
19990 |
} |
| 19943 |
while (1) { |
|
19991 |
while (1) { |
| 19944 |
while (1) { |
|
19992 |
while (1) { |
| 19945 |
new_zv->value = (*pcategory)->value; |
|
19993 |
new_zv->value = (*pcategory)->value; |
| 19946 |
new_zv->type = (*pcategory)->type; |
|
19994 |
new_zv->type = (*pcategory)->type; |
| 19947 |
break; |
|
19995 |
break; |
| 19948 |
} |
|
19996 |
} |
| 19949 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
|
19997 |
zval_set_refcount_p(new_zv, (zend_uint )1); |
| 19950 |
zval_unset_isref_p(new_zv); |
|
19998 |
zval_unset_isref_p(new_zv); |
| 19951 |
break; |
|
19999 |
break; |
| 19952 |
} |
|
20000 |
} |
| 19953 |
*pcategory = new_zv; |
|
20001 |
*pcategory = new_zv; |
| 19954 |
_zval_copy_ctor(new_zv); |
|
20002 |
_zval_copy_ctor(new_zv); |
| 19955 |
} else { |
|
20003 |
} else { |
| 19956 |
|
|
20004 |
|
| 19957 |
} |
|
20005 |
} |
| 19958 |
break; |
|
20006 |
break; |
| 19959 |
} |
|
20007 |
} |
| 19960 |
} |
|
20008 |
} |
| 19961 |
convert_to_long(*pcategory); |
|
20009 |
convert_to_long(*pcategory); |
| 19962 |
} else { |
|
20010 |
} else { |
| 19963 |
|
|
20011 |
|
| 19964 |
} |
|
20012 |
} |
| 19965 |
cat = (int )(*pcategory)->value.lval; |
|
20013 |
cat = (int )(*pcategory)->value.lval; |
| 19966 |
} else { |
|
20014 |
} else { |
| 19967 |
php_error_docref0((char const *)((void *)0), 1 << 13L, |
|
20015 |
php_error_docref0((char const *)((void *)0), 1 << 13L, |
| 19968 |
"Passing locale category name as string is deprecated. Use the LC_* -constants instead"); |
|
20016 |
"Passing locale category name as string is deprecated. Use the LC_* -constants instead"); |
| 19969 |
if ((int )(*pcategory)->type != 6) { |
|
20017 |
if ((int )(*pcategory)->type != 6) { |
| 19970 |
tmp___5 = zval_isref_p(*pcategory); |
|
20018 |
tmp___5 = zval_isref_p(*pcategory); |
| 19971 |
if (tmp___5) { |
|
20019 |
if (tmp___5) { |
| 19972 |
|
|
20020 |
|
| 19973 |
} else { |
|
20021 |
} else { |
| 19974 |
while (1) { |
|
20022 |
while (1) { |
| 19975 |
tmp___4 = zval_refcount_p(*pcategory); |
|
20023 |
tmp___4 = zval_refcount_p(*pcategory); |
| 19976 |
if (tmp___4 > 1U) { |
|
20024 |
if (tmp___4 > 1U) { |
| 19977 |
zval_delref_p(*pcategory); |
|
20025 |
zval_delref_p(*pcategory); |
| 19978 |
while (1) { |
|
20026 |
while (1) { |
| 19979 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
|
20027 |
tmp___3 = _emalloc(sizeof(zval_gc_info )); |
| 19980 |
new_zv___0 = (zval *)tmp___3; |
|
20028 |
new_zv___0 = (zval *)tmp___3; |
| 19981 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
|
20029 |
((zval_gc_info *)new_zv___0)->u.buffered = (gc_root_buffer *)((void *)0); |
| 19982 |
break; |
|
20030 |
break; |
| 19983 |
} |
|
20031 |
} |
| 19984 |
while (1) { |
|
20032 |
while (1) { |
| 19985 |
while (1) { |
|
20033 |
while (1) { |
| 19986 |
new_zv___0->value = (*pcategory)->value; |
|
20034 |
new_zv___0->value = (*pcategory)->value; |
| 19987 |
new_zv___0->type = (*pcategory)->type; |
|
20035 |
new_zv___0->type = (*pcategory)->type; |
| 19988 |
break; |
|
20036 |
break; |
| 19989 |
} |
|
20037 |
} |
| 19990 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
|
20038 |
zval_set_refcount_p(new_zv___0, (zend_uint )1); |
| 19991 |
zval_unset_isref_p(new_zv___0); |
|
20039 |
zval_unset_isref_p(new_zv___0); |
| 19992 |
break; |
|
20040 |
break; |
| 19993 |
} |
|
20041 |
} |
| 19994 |
*pcategory = new_zv___0; |
|
20042 |
*pcategory = new_zv___0; |
| 19995 |
_zval_copy_ctor(new_zv___0); |
|
20043 |
_zval_copy_ctor(new_zv___0); |
| 19996 |
} else { |
|
20044 |
} else { |
| 19997 |
|
|
20045 |
|
| 19998 |
} |
|
20046 |
} |
| 19999 |
break; |
|
20047 |
break; |
| 20000 |
} |
|
20048 |
} |
| 20001 |
} |
|
20049 |
} |
| 20002 |
if ((int )(*pcategory)->type != 6) { |
|
20050 |
if ((int )(*pcategory)->type != 6) { |
| 20003 |
_convert_to_string(*pcategory); |
|
20051 |
_convert_to_string(*pcategory); |
| 20004 |
} else { |
|
20052 |
} else { |
| 20005 |
|
|
20053 |
|
| 20006 |
} |
|
20054 |
} |
| 20007 |
} else { |
|
20055 |
} else { |
| 20008 |
|
|
20056 |
|
| 20009 |
} |
|
20057 |
} |
| 20010 |
category = (*pcategory)->value.str.val; |
|
20058 |
category = (*pcategory)->value.str.val; |
| 20011 |
tmp___12 = strcasecmp("LC_ALL", (char const *)category); |
|
20059 |
tmp___12 = strcasecmp("LC_ALL", (char const *)category); |
| 20012 |
if (tmp___12) { |
|
20060 |
if (tmp___12) { |
| 20013 |
tmp___11 = strcasecmp("LC_COLLATE", (char const *)category); |
|
20061 |
tmp___11 = strcasecmp("LC_COLLATE", (char const *)category); |
| 20014 |
if (tmp___11) { |
|
20062 |
if (tmp___11) { |
| 20015 |
tmp___10 = strcasecmp("LC_CTYPE", (char const *)category); |
|
20063 |
tmp___10 = strcasecmp("LC_CTYPE", (char const *)category); |
| 20016 |
if (tmp___10) { |
|
20064 |
if (tmp___10) { |
| 20017 |
tmp___9 = strcasecmp("LC_MESSAGES", (char const *)category); |
|
20065 |
tmp___9 = strcasecmp("LC_MESSAGES", (char const *)category); |
| 20018 |
if (tmp___9) { |
|
20066 |
if (tmp___9) { |
| 20019 |
tmp___8 = strcasecmp("LC_MONETARY", (char const *)category); |
|
20067 |
tmp___8 = strcasecmp("LC_MONETARY", (char const *)category); |
| 20020 |
if (tmp___8) { |
|
20068 |
if (tmp___8) { |
| 20021 |
tmp___7 = strcasecmp("LC_NUMERIC", (char const *)category); |
|
20069 |
tmp___7 = strcasecmp("LC_NUMERIC", (char const *)category); |
| 20022 |
if (tmp___7) { |
|
20070 |
if (tmp___7) { |
| 20023 |
tmp___6 = strcasecmp("LC_TIME", (char const *)category); |
|
20071 |
tmp___6 = strcasecmp("LC_TIME", (char const *)category); |
| 20024 |
if (tmp___6) { |
|
20072 |
if (tmp___6) { |
| 20025 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
20073 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 20026 |
"Invalid locale category name %s, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME", |
|
20074 |
"Invalid locale category name %s, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME", |
| 20027 |
category); |
|
20075 |
category); |
| 20028 |
if (args) { |
|
20076 |
if (args) { |
| 20029 |
_efree((void *)args); |
|
20077 |
_efree((void *)args); |
| 20030 |
} else { |
|
20078 |
} else { |
| 20031 |
|
|
20079 |
|
| 20032 |
} |
|
20080 |
} |
| 20033 |
while (1) { |
|
20081 |
while (1) { |
| 20034 |
__z = return_value; |
|
20082 |
__z = return_value; |
| 20035 |
__z->value.lval = 0L; |
|
20083 |
__z->value.lval = 0L; |
| 20036 |
__z->type = (zend_uchar )3; |
|
20084 |
__z->type = (zend_uchar )3; |
| 20037 |
break; |
|
20085 |
break; |
| 20038 |
} |
|
20086 |
} |
| 20039 |
return; |
|
20087 |
return; |
| 20040 |
} else { |
|
20088 |
} else { |
| 20041 |
cat = 2; |
|
20089 |
cat = 2; |
| 20042 |
} |
|
20090 |
} |
| 20043 |
} else { |
|
20091 |
} else { |
| 20044 |
cat = 1; |
|
20092 |
cat = 1; |
| 20045 |
} |
|
20093 |
} |
| 20046 |
} else { |
|
20094 |
} else { |
| 20047 |
cat = 4; |
|
20095 |
cat = 4; |
| 20048 |
} |
|
20096 |
} |
| 20049 |
} else { |
|
20097 |
} else { |
| 20050 |
cat = 5; |
|
20098 |
cat = 5; |
| 20051 |
} |
|
20099 |
} |
| 20052 |
} else { |
|
20100 |
} else { |
| 20053 |
cat = 0; |
|
20101 |
cat = 0; |
| 20054 |
} |
|
20102 |
} |
| 20055 |
} else { |
|
20103 |
} else { |
| 20056 |
cat = 3; |
|
20104 |
cat = 3; |
| 20057 |
} |
|
20105 |
} |
| 20058 |
} else { |
|
20106 |
} else { |
| 20059 |
cat = 6; |
|
20107 |
cat = 6; |
| 20060 |
} |
|
20108 |
} |
| 20061 |
} |
|
20109 |
} |
| 20062 |
if ((int )(*(*(args + 0)))->type == 4) { |
|
20110 |
if ((int )(*(*(args + 0)))->type == 4) { |
| 20063 |
zend_hash_internal_pointer_reset_ex((*(*(args + 0)))->value.ht, |
|
20111 |
zend_hash_internal_pointer_reset_ex((*(*(args + 0)))->value.ht, |
| 20064 |
(HashPosition *)((void *)0)); |
|
20112 |
(HashPosition *)((void *)0)); |
| 20065 |
} else { |
|
20113 |
} else { |
| 20066 |
|
|
20114 |
|
| 20067 |
} |
|
20115 |
} |
| 20068 |
while (1) { |
|
20116 |
while (1) { |
| 20069 |
if ((int )(*(*(args + 0)))->type == 4) { |
|
20117 |
if ((int )(*(*(args + 0)))->type == 4) { |
| 20070 |
tmp___13 = zend_hash_num_elements((HashTable const *)(*(*(args + 0)))->value.ht); |
|
20118 |
tmp___13 = zend_hash_num_elements((HashTable const *)(*(*(args + 0)))->value.ht); |
| 20071 |
if (tmp___13) { |
|
20119 |
if (tmp___13) { |
| 20072 |
|
|
20120 |
|
| 20073 |
} else { |
|
20121 |
} else { |
| 20074 |
break; |
|
20122 |
break; |
| 20075 |
} |
|
20123 |
} |
| 20076 |
zend_hash_get_current_data_ex((*(*(args + 0)))->value.ht, |
|
20124 |
zend_hash_get_current_data_ex((*(*(args + 0)))->value.ht, |
| 20077 |
(void **)(& plocale), |
|
20125 |
(void **)(& plocale), |
| 20078 |
(HashPosition *)((void *)0)); |
|
20126 |
(HashPosition *)((void *)0)); |
| 20079 |
} else { |
|
20127 |
} else { |
| 20080 |
plocale = *(args + i); |
|
20128 |
plocale = *(args + i); |
| 20081 |
} |
|
20129 |
} |
| 20082 |
if ((int )(*plocale)->type != 6) { |
|
20130 |
if ((int )(*plocale)->type != 6) { |
| 20083 |
tmp___16 = zval_isref_p(*plocale); |
|
20131 |
tmp___16 = zval_isref_p(*plocale); |
| 20084 |
if (tmp___16) { |
|
20132 |
if (tmp___16) { |
| 20085 |
|
|
20133 |
|
| 20086 |
} else { |
|
20134 |
} else { |
| 20087 |
while (1) { |
|
20135 |
while (1) { |
| 20088 |
tmp___15 = zval_refcount_p(*plocale); |
|
20136 |
tmp___15 = zval_refcount_p(*plocale); |
| 20089 |
if (tmp___15 > 1U) { |
|
20137 |
if (tmp___15 > 1U) { |
| 20090 |
zval_delref_p(*plocale); |
|
20138 |
zval_delref_p(*plocale); |
| 20091 |
while (1) { |
|
20139 |
while (1) { |
| 20092 |
tmp___14 = _emalloc(sizeof(zval_gc_info )); |
|
20140 |
tmp___14 = _emalloc(sizeof(zval_gc_info )); |
| 20093 |
new_zv___1 = (zval *)tmp___14; |
|
20141 |
new_zv___1 = (zval *)tmp___14; |
| 20094 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
|
20142 |
((zval_gc_info *)new_zv___1)->u.buffered = (gc_root_buffer *)((void *)0); |
| 20095 |
break; |
|
20143 |
break; |
| 20096 |
} |
|
20144 |
} |
| 20097 |
while (1) { |
|
20145 |
while (1) { |
| 20098 |
while (1) { |
|
20146 |
while (1) { |
| 20099 |
new_zv___1->value = (*plocale)->value; |
|
20147 |
new_zv___1->value = (*plocale)->value; |
| 20100 |
new_zv___1->type = (*plocale)->type; |
|
20148 |
new_zv___1->type = (*plocale)->type; |
| 20101 |
break; |
|
20149 |
break; |
| 20102 |
} |
|
20150 |
} |
| 20103 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
|
20151 |
zval_set_refcount_p(new_zv___1, (zend_uint )1); |
| 20104 |
zval_unset_isref_p(new_zv___1); |
|
20152 |
zval_unset_isref_p(new_zv___1); |
| 20105 |
break; |
|
20153 |
break; |
| 20106 |
} |
|
20154 |
} |
| 20107 |
*plocale = new_zv___1; |
|
20155 |
*plocale = new_zv___1; |
| 20108 |
_zval_copy_ctor(new_zv___1); |
|
20156 |
_zval_copy_ctor(new_zv___1); |
| 20109 |
} else { |
|
20157 |
} else { |
| 20110 |
|
|
20158 |
|
| 20111 |
} |
|
20159 |
} |
| 20112 |
break; |
|
20160 |
break; |
| 20113 |
} |
|
20161 |
} |
| 20114 |
} |
|
20162 |
} |
| 20115 |
if ((int )(*plocale)->type != 6) { |
|
20163 |
if ((int )(*plocale)->type != 6) { |
| 20116 |
_convert_to_string(*plocale); |
|
20164 |
_convert_to_string(*plocale); |
| 20117 |
} else { |
|
20165 |
} else { |
| 20118 |
|
|
20166 |
|
| 20119 |
} |
|
20167 |
} |
| 20120 |
} else { |
|
20168 |
} else { |
| 20121 |
|
|
20169 |
|
| 20122 |
} |
|
20170 |
} |
| 20123 |
if (0) { |
|
20171 |
if (0) { |
| 20124 |
__s1_len = strlen("0"); |
|
20172 |
__s1_len = strlen("0"); |
| 20125 |
__s2_len = strlen((char const *)(*plocale)->value.str.val); |
|
20173 |
__s2_len = strlen((char const *)(*plocale)->value.str.val); |
| 20126 |
if (! ((size_t )((void const *)("0" + 1)) - (size_t )((void const *)"0") == 1U)) { |
|
20174 |
if (! ((size_t )((void const *)("0" + 1)) - (size_t )((void const *)"0") == 1U)) { |
| 20127 |
goto _L___0; |
|
20175 |
goto _L___0; |
| 20128 |
} else |
|
20176 |
} else |
| 20129 |
if (__s1_len >= 4U) { |
|
20177 |
if (__s1_len >= 4U) { |
| 20130 |
_L___0: |
|
20178 |
_L___0: |
| 20131 |
if (! ((size_t )((void const *)((*plocale)->value.str.val + 1)) - (size_t )((void const *)(*plocale)->value.str.val) == 1U)) { |
|
20179 |
if (! ((size_t )((void const *)((*plocale)->value.str.val + 1)) - (size_t )((void const *)(*plocale)->value.str.val) == 1U)) { |
| 20132 |
tmp___23 = 1; |
|
20180 |
tmp___23 = 1; |
| 20133 |
} else |
|
20181 |
} else |
| 20134 |
if (__s2_len >= 4U) { |
|
20182 |
if (__s2_len >= 4U) { |
| 20135 |
tmp___23 = 1; |
|
20183 |
tmp___23 = 1; |
| 20136 |
} else { |
|
20184 |
} else { |
| 20137 |
tmp___23 = 0; |
|
20185 |
tmp___23 = 0; |
| 20138 |
} |
|
20186 |
} |
| 20139 |
} else { |
|
20187 |
} else { |
| 20140 |
tmp___23 = 0; |
|
20188 |
tmp___23 = 0; |
| 20141 |
} |
|
20189 |
} |
| 20142 |
if (tmp___23) { |
|
20190 |
if (tmp___23) { |
| 20143 |
tmp___18 = __builtin_strcmp("0", |
|
20191 |
tmp___18 = __builtin_strcmp("0", |
| 20144 |
(char const *)(*plocale)->value.str.val); |
|
20192 |
(char const *)(*plocale)->value.str.val); |
| 20145 |
tmp___22 = tmp___18; |
|
20193 |
tmp___22 = tmp___18; |
| 20146 |
} else { |
|
20194 |
} else { |
| 20147 |
tmp___21 = __builtin_strcmp("0", |
|
20195 |
tmp___21 = __builtin_strcmp("0", |
| 20148 |
(char const *)(*plocale)->value.str.val); |
|
20196 |
(char const *)(*plocale)->value.str.val); |
| 20149 |
tmp___22 = tmp___21; |
|
20197 |
tmp___22 = tmp___21; |
| 20150 |
} |
|
20198 |
} |
| 20151 |
} else { |
|
20199 |
} else { |
| 20152 |
tmp___21 = __builtin_strcmp("0", (char const *)(*plocale)->value.str.val); |
|
20200 |
tmp___21 = __builtin_strcmp("0", (char const *)(*plocale)->value.str.val); |
| 20153 |
tmp___22 = tmp___21; |
|
20201 |
tmp___22 = tmp___21; |
| 20154 |
} |
|
20202 |
} |
| 20155 |
if (tmp___22) { |
|
20203 |
if (tmp___22) { |
| 20156 |
loc = (*plocale)->value.str.val; |
|
20204 |
loc = (*plocale)->value.str.val; |
| 20157 |
if ((*plocale)->value.str.len >= 255) { |
|
20205 |
if ((*plocale)->value.str.len >= 255) { |
| 20158 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
20206 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 20159 |
"Specified locale name is too long"); |
|
20207 |
"Specified locale name is too long"); |
| 20160 |
break; |
|
20208 |
break; |
| 20161 |
} else { |
|
20209 |
} else { |
| 20162 |
|
|
20210 |
|
| 20163 |
} |
|
20211 |
} |
| 20164 |
} else { |
|
20212 |
} else { |
| 20165 |
loc = (char *)((void *)0); |
|
20213 |
loc = (char *)((void *)0); |
| 20166 |
} |
|
20214 |
} |
| 20167 |
retval = setlocale(cat, (char const *)loc); |
|
20215 |
retval = setlocale(cat, (char const *)loc); |
| 20168 |
if (retval) { |
|
20216 |
if (retval) { |
| 20169 |
if (loc) { |
|
20217 |
if (loc) { |
| 20170 |
if (basic_globals.locale_string) { |
|
20218 |
if (basic_globals.locale_string) { |
| 20171 |
if ((unsigned int )basic_globals.locale_string >= (unsigned int )compiler_globals.interned_strings_start) { |
|
20219 |
if ((unsigned int )basic_globals.locale_string >= (unsigned int )compiler_globals.interned_strings_start) { |
| 20172 |
if ((unsigned int )basic_globals.locale_string < (unsigned int )compiler_globals.interned_strings_end) { |
|
20220 |
if ((unsigned int )basic_globals.locale_string < (unsigned int )compiler_globals.interned_strings_end) { |
| 20173 |
|
|
20221 |
|
| 20174 |
} else { |
|
20222 |
} else { |
| 20175 |
_efree((void *)basic_globals.locale_string); |
|
20223 |
_efree((void *)basic_globals.locale_string); |
| 20176 |
} |
|
20224 |
} |
| 20177 |
} else { |
|
20225 |
} else { |
| 20178 |
_efree((void *)basic_globals.locale_string); |
|
20226 |
_efree((void *)basic_globals.locale_string); |
| 20179 |
} |
|
20227 |
} |
| 20180 |
} else { |
|
20228 |
} else { |
| 20181 |
|
|
20229 |
|
| 20182 |
} |
|
20230 |
} |
| 20183 |
tmp___24 = _estrdup((char const *)retval); |
|
20231 |
tmp___24 = _estrdup((char const *)retval); |
| 20184 |
basic_globals.locale_string = (char *)tmp___24; |
|
20232 |
basic_globals.locale_string = (char *)tmp___24; |
| 20185 |
} else { |
|
20233 |
} else { |
| 20186 |
|
|
20234 |
|
| 20187 |
} |
|
20235 |
} |
| 20188 |
if (args) { |
|
20236 |
if (args) { |
| 20189 |
_efree((void *)args); |
|
20237 |
_efree((void *)args); |
| 20190 |
} else { |
|
20238 |
} else { |
| 20191 |
|
|
20239 |
|
| 20192 |
} |
|
20240 |
} |
| 20193 |
while (1) { |
|
20241 |
while (1) { |
| 20194 |
__s = (char const *)retval; |
|
20242 |
__s = (char const *)retval; |
| 20195 |
__z___0 = return_value; |
|
20243 |
__z___0 = return_value; |
| 20196 |
tmp___25 = strlen(__s); |
|
20244 |
tmp___25 = strlen(__s); |
| 20197 |
__z___0->value.str.len = (int )tmp___25; |
|
20245 |
__z___0->value.str.len = (int )tmp___25; |
| 20198 |
tmp___26 = _estrndup(__s, (unsigned int )__z___0->value.str.len); |
|
20246 |
tmp___26 = _estrndup(__s, (unsigned int )__z___0->value.str.len); |
| 20199 |
__z___0->value.str.val = (char *)tmp___26; |
|
20247 |
__z___0->value.str.val = (char *)tmp___26; |
| 20200 |
__z___0->type = (zend_uchar )6; |
|
20248 |
__z___0->type = (zend_uchar )6; |
| 20201 |
break; |
|
20249 |
break; |
| 20202 |
} |
|
20250 |
} |
| 20203 |
return; |
|
20251 |
return; |
| 20204 |
} else { |
|
20252 |
} else { |
| 20205 |
|
|
20253 |
|
| 20206 |
} |
|
20254 |
} |
| 20207 |
if ((int )(*(*(args + 0)))->type == 4) { |
|
20255 |
if ((int )(*(*(args + 0)))->type == 4) { |
| 20208 |
tmp___27 = zend_hash_move_forward_ex((*(*(args + 0)))->value.ht, |
|
20256 |
tmp___27 = zend_hash_move_forward_ex((*(*(args + 0)))->value.ht, |
| 20209 |
(HashPosition *)((void *)0)); |
|
20257 |
(HashPosition *)((void *)0)); |
| 20210 |
if (tmp___27 == (int __attribute__((__visibility__("default"))) )-1) { |
|
20258 |
if (tmp___27 == (int __attribute__((__visibility__("default"))) )-1) { |
| 20211 |
break; |
|
20259 |
break; |
| 20212 |
} else { |
|
20260 |
} else { |
| 20213 |
|
|
20261 |
|
| 20214 |
} |
|
20262 |
} |
| 20215 |
} else { |
|
20263 |
} else { |
| 20216 |
i ++; |
|
20264 |
i ++; |
| 20217 |
if (i >= num_args) { |
|
20265 |
if (i >= num_args) { |
| 20218 |
break; |
|
20266 |
break; |
| 20219 |
} else { |
|
20267 |
} else { |
| 20220 |
|
|
20268 |
|
| 20221 |
} |
|
20269 |
} |
| 20222 |
} |
|
20270 |
} |
| 20223 |
} |
|
20271 |
} |
| 20224 |
if (args) { |
|
20272 |
if (args) { |
| 20225 |
_efree((void *)args); |
|
20273 |
_efree((void *)args); |
| 20226 |
} else { |
|
20274 |
} else { |
| 20227 |
|
|
20275 |
|
| 20228 |
} |
|
20276 |
} |
| 20229 |
while (1) { |
|
20277 |
while (1) { |
| 20230 |
__z___1 = return_value; |
|
20278 |
__z___1 = return_value; |
| 20231 |
__z___1->value.lval = 0L; |
|
20279 |
__z___1->value.lval = 0L; |
| 20232 |
__z___1->type = (zend_uchar )3; |
|
20280 |
__z___1->type = (zend_uchar )3; |
| 20233 |
break; |
|
20281 |
break; |
| 20234 |
} |
|
20282 |
} |
| 20235 |
return; |
|
20283 |
return; |
| 20236 |
} |
|
20284 |
} |
| 20237 |
} |
|
20285 |
} |
| 20238 |
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , |
|
20286 |
void zif_parse_str(int ht , zval *return_value , zval **return_value_ptr , |
| 20239 |
zval *this_ptr , int return_value_used ) |
|
20287 |
zval *this_ptr , int return_value_used ) |
| 20240 |
{ |
|
20288 |
{ |
| 20241 |
char *arg ; |
|
20289 |
char *arg ; |
| 20242 |
zval *arrayArg ; |
|
20290 |
zval *arrayArg ; |
| 20243 |
char *res ; |
|
20291 |
char *res ; |
| 20244 |
int arglen ; |
|
20292 |
int arglen ; |
| 20245 |
int __attribute__((__visibility__("default"))) tmp ; |
|
20293 |
int __attribute__((__visibility__("default"))) tmp ; |
| 20246 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
20294 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 20247 |
zval tmp___1 ; |
|
20295 |
zval tmp___1 ; |
| 20248 |
zval ret ; |
|
20296 |
zval ret ; |
| 20249 |
|
|
20297 |
|
| 20250 |
{ |
|
20298 |
{ |
| 20251 |
arrayArg = (zval *)((void *)0); |
|
20299 |
arrayArg = (zval *)((void *)0); |
| 20252 |
res = (char *)((void *)0); |
|
20300 |
res = (char *)((void *)0); |
| 20253 |
tmp = zend_parse_parameters(ht, "s|z", & arg, & arglen, & arrayArg); |
|
20301 |
tmp = zend_parse_parameters(ht, "s|z", & arg, & arglen, & arrayArg); |
| 20254 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
20302 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 20255 |
return; |
|
20303 |
return; |
| 20256 |
} else { |
|
20304 |
} else { |
| 20257 |
|
|
20305 |
|
| 20258 |
} |
|
20306 |
} |
| 20259 |
tmp___0 = _estrndup((char const *)arg, (unsigned int )arglen); |
|
20307 |
tmp___0 = _estrndup((char const *)arg, (unsigned int )arglen); |
| 20260 |
res = (char *)tmp___0; |
|
20308 |
res = (char *)tmp___0; |
| 20261 |
if ((unsigned int )arrayArg == (unsigned int )((void *)0)) { |
|
20309 |
if ((unsigned int )arrayArg == (unsigned int )((void *)0)) { |
| 20262 |
if (! executor_globals.active_symbol_table) { |
|
20310 |
if (! executor_globals.active_symbol_table) { |
| 20263 |
zend_rebuild_symbol_table(); |
|
20311 |
zend_rebuild_symbol_table(); |
| 20264 |
} else { |
|
20312 |
} else { |
| 20265 |
|
|
20313 |
|
| 20266 |
} |
|
20314 |
} |
| 20267 |
tmp___1.value.ht = executor_globals.active_symbol_table; |
|
20315 |
tmp___1.value.ht = executor_globals.active_symbol_table; |
| 20268 |
(*(sapi_module.treat_data))(3, res, & tmp___1); |
|
20316 |
(*(sapi_module.treat_data))(3, res, & tmp___1); |
| 20269 |
} else { |
|
20317 |
} else { |
| 20270 |
_array_init(& ret, (uint )0); |
|
20318 |
_array_init(& ret, (uint )0); |
| 20271 |
(*(sapi_module.treat_data))(3, res, & ret); |
|
20319 |
(*(sapi_module.treat_data))(3, res, & ret); |
| 20272 |
_zval_dtor(arrayArg); |
|
20320 |
_zval_dtor(arrayArg); |
| 20273 |
while (1) { |
|
20321 |
while (1) { |
| 20274 |
arrayArg->value = ret.value; |
|
20322 |
arrayArg->value = ret.value; |
| 20275 |
arrayArg->type = ret.type; |
|
20323 |
arrayArg->type = ret.type; |
| 20276 |
break; |
|
20324 |
break; |
| 20277 |
} |
|
20325 |
} |
| 20278 |
} |
|
20326 |
} |
| 20279 |
return; |
|
20327 |
return; |
| 20280 |
} |
|
20328 |
} |
| 20281 |
} |
|
20329 |
} |
| 20282 |
int php_tag_find(char *tag , int len , char *set ) |
|
20330 |
int php_tag_find(char *tag , int len , char *set ) |
| 20283 |
{ |
|
20331 |
{ |
| 20284 |
char c ; |
|
20332 |
char c ; |
| 20285 |
char *n ; |
|
20333 |
char *n ; |
| 20286 |
char *t ; |
|
20334 |
char *t ; |
| 20287 |
int state ; |
|
20335 |
int state ; |
| 20288 |
int done ; |
|
20336 |
int done ; |
| 20289 |
char *norm ; |
|
20337 |
char *norm ; |
| 20290 |
void __attribute__((__visibility__("default"))) *tmp ; |
|
20338 |
void __attribute__((__visibility__("default"))) *tmp ; |
| 20291 |
int __res ; |
|
20339 |
int __res ; |
| 20292 |
int __c ; |
|
20340 |
int __c ; |
| 20293 |
__int32_t const **tmp___0 ; |
|
20341 |
__int32_t const **tmp___0 ; |
| 20294 |
__int32_t const **tmp___1 ; |
|
20342 |
__int32_t const **tmp___1 ; |
| 20295 |
char *tmp___2 ; |
|
20343 |
char *tmp___2 ; |
| 20296 |
char *tmp___3 ; |
|
20344 |
char *tmp___3 ; |
| 20297 |
unsigned short const **tmp___4 ; |
|
20345 |
unsigned short const **tmp___4 ; |
| 20298 |
int __res___0 ; |
|
20346 |
int __res___0 ; |
| 20299 |
int __c___0 ; |
|
20347 |
int __c___0 ; |
| 20300 |
__int32_t const **tmp___5 ; |
|
20348 |
__int32_t const **tmp___5 ; |
| 20301 |
__int32_t const **tmp___6 ; |
|
20349 |
__int32_t const **tmp___6 ; |
| 20302 |
char *tmp___7 ; |
|
20350 |
char *tmp___7 ; |
| 20303 |
char *tmp___8 ; |
|
20351 |
char *tmp___8 ; |
| 20304 |
|
|
20352 |
|
| 20305 |
{ |
|
20353 |
{ |
| 20306 |
state = 0; |
|
20354 |
state = 0; |
| 20307 |
done = 0; |
|
20355 |
done = 0; |
| 20308 |
if (len <= 0) { |
|
20356 |
if (len <= 0) { |
| 20309 |
return (0); |
|
20357 |
return (0); |
| 20310 |
} else { |
|
20358 |
} else { |
| 20311 |
|
|
20359 |
|
| 20312 |
} |
|
20360 |
} |
| 20313 |
tmp = _emalloc((size_t )(len + 1)); |
|
20361 |
tmp = _emalloc((size_t )(len + 1)); |
| 20314 |
norm = (char *)tmp; |
|
20362 |
norm = (char *)tmp; |
| 20315 |
n = norm; |
|
20363 |
n = norm; |
| 20316 |
t = tag; |
|
20364 |
t = tag; |
| 20317 |
if (sizeof(*t) > 1U) { |
|
20365 |
if (sizeof(*t) > 1U) { |
| 20318 |
__res = tolower((int )*t); |
|
20366 |
__res = tolower((int )*t); |
| 20319 |
} else { |
|
20367 |
} else { |
| 20320 |
tmp___1 = __ctype_tolower_loc(); |
|
20368 |
tmp___1 = __ctype_tolower_loc(); |
| 20321 |
__res = (int )*(*tmp___1 + (int )*t); |
|
20369 |
__res = (int )*(*tmp___1 + (int )*t); |
| 20322 |
} |
|
20370 |
} |
| 20323 |
c = (char )__res; |
|
20371 |
c = (char )__res; |
| 20324 |
while (! done) { |
|
20372 |
while (! done) { |
| 20325 |
switch ((int )c) { |
|
20373 |
switch ((int )c) { |
| 20326 |
case 60: |
|
20374 |
case 60: |
| 20327 |
tmp___2 = n; |
|
20375 |
tmp___2 = n; |
| 20328 |
n ++; |
|
20376 |
n ++; |
| 20329 |
*tmp___2 = c; |
|
20377 |
*tmp___2 = c; |
| 20330 |
break; |
|
20378 |
break; |
| 20331 |
case 62: |
|
20379 |
case 62: |
| 20332 |
done = 1; |
|
20380 |
done = 1; |
| 20333 |
break; |
|
20381 |
break; |
| 20334 |
default: |
|
20382 |
default: |
| 20335 |
tmp___4 = __ctype_b_loc(); |
|
20383 |
tmp___4 = __ctype_b_loc(); |
| 20336 |
if ((int const )*(*tmp___4 + (int )c) & 8192) { |
|
20384 |
if ((int const )*(*tmp___4 + (int )c) & 8192) { |
| 20337 |
if (state == 1) { |
|
20385 |
if (state == 1) { |
| 20338 |
done = 1; |
|
20386 |
done = 1; |
| 20339 |
} else { |
|
20387 |
} else { |
| 20340 |
|
|
20388 |
|
| 20341 |
} |
|
20389 |
} |
| 20342 |
} else { |
|
20390 |
} else { |
| 20343 |
if (state == 0) { |
|
20391 |
if (state == 0) { |
| 20344 |
state = 1; |
|
20392 |
state = 1; |
| 20345 |
} else { |
|
20393 |
} else { |
| 20346 |
|
|
20394 |
|
| 20347 |
} |
|
20395 |
} |
| 20348 |
if ((int )c != 47) { |
|
20396 |
if ((int )c != 47) { |
| 20349 |
tmp___3 = n; |
|
20397 |
tmp___3 = n; |
| 20350 |
n ++; |
|
20398 |
n ++; |
| 20351 |
*tmp___3 = c; |
|
20399 |
*tmp___3 = c; |
| 20352 |
} else { |
|
20400 |
} else { |
| 20353 |
|
|
20401 |
|
| 20354 |
} |
|
20402 |
} |
| 20355 |
} |
|
20403 |
} |
| 20356 |
break; |
|
20404 |
break; |
| 20357 |
} |
|
20405 |
} |
| 20358 |
if (sizeof(*t) > 1U) { |
|
20406 |
if (sizeof(*t) > 1U) { |
| 20359 |
t ++; |
|
20407 |
t ++; |
| 20360 |
__res___0 = tolower((int )*t); |
|
20408 |
__res___0 = tolower((int )*t); |
| 20361 |
} else { |
|
20409 |
} else { |
| 20362 |
tmp___6 = __ctype_tolower_loc(); |
|
20410 |
tmp___6 = __ctype_tolower_loc(); |
| 20363 |
t ++; |
|
20411 |
t ++; |
| 20364 |
__res___0 = (int )*(*tmp___6 + (int )*t); |
|
20412 |
__res___0 = (int )*(*tmp___6 + (int )*t); |
| 20365 |
} |
|
20413 |
} |
| 20366 |
c = (char )__res___0; |
|
20414 |
c = (char )__res___0; |
| 20367 |
} |
|
20415 |
} |
| 20368 |
tmp___7 = n; |
|
20416 |
tmp___7 = n; |
| 20369 |
n ++; |
|
20417 |
n ++; |
| 20370 |
*tmp___7 = (char )'>'; |
|
20418 |
*tmp___7 = (char )'>'; |
| 20371 |
*n = (char )'\000'; |
|
20419 |
*n = (char )'\000'; |
| 20372 |
tmp___8 = strstr((char const *)set, (char const *)norm); |
|
20420 |
tmp___8 = strstr((char const *)set, (char const *)norm); |
| 20373 |
if (tmp___8) { |
|
20421 |
if (tmp___8) { |
| 20374 |
done = 1; |
|
20422 |
done = 1; |
| 20375 |
} else { |
|
20423 |
} else { |
| 20376 |
done = 0; |
|
20424 |
done = 0; |
| 20377 |
} |
|
20425 |
} |
| 20378 |
_efree((void *)norm); |
|
20426 |
_efree((void *)norm); |
| 20379 |
return (done); |
|
20427 |
return (done); |
| 20380 |
} |
|
20428 |
} |
| 20381 |
} |
|
20429 |
} |
| 20382 |
size_t __attribute__((__visibility__("default"))) php_strip_tags(char *rbuf , |
|
20430 |
size_t __attribute__((__visibility__("default"))) php_strip_tags(char *rbuf , |
| 20383 |
int len , |
|
20431 |
int len , |
| 20384 |
int *stateptr , |
|
20432 |
int *stateptr , |
| 20385 |
char *allow , |
|
20433 |
char *allow , |
| 20386 |
int allow_len ) |
|
20434 |
int allow_len ) |
| 20387 |
{ |
|
20435 |
{ |
| 20388 |
size_t __attribute__((__visibility__("default"))) tmp ; |
|
20436 |
size_t __attribute__((__visibility__("default"))) tmp ; |
| 20389 |
|
|
20437 |
|
| 20390 |
{ |
|
20438 |
{ |
| 20391 |
tmp = php_strip_tags_ex(rbuf, len, stateptr, allow, allow_len, (zend_bool )0); |
|
20439 |
tmp = php_strip_tags_ex(rbuf, len, stateptr, allow, allow_len, (zend_bool )0); |
| 20392 |
return (tmp); |
|
20440 |
return (tmp); |
| 20393 |
} |
|
20441 |
} |
| 20394 |
} |
|
20442 |
} |
| 20395 |
size_t __attribute__((__visibility__("default"))) php_strip_tags_ex(char *rbuf , |
|
20443 |
size_t __attribute__((__visibility__("default"))) php_strip_tags_ex(char *rbuf , |
| 20396 |
int len , |
|
20444 |
int len , |
| 20397 |
int *stateptr , |
|
20445 |
int *stateptr , |
| 20398 |
char *allow , |
|
20446 |
char *allow , |
| 20399 |
int allow_len , |
|
20447 |
int allow_len , |
| 20400 |
zend_bool allow_tag_spaces ) |
|
20448 |
zend_bool allow_tag_spaces ) |
| 20401 |
{ |
|
20449 |
{ |
| 20402 |
char *tbuf ; |
|
20450 |
char *tbuf ; |
| 20403 |
char *buf ; |
|
20451 |
char *buf ; |
| 20404 |
char *p ; |
|
20452 |
char *p ; |
| 20405 |
char *tp ; |
|
20453 |
char *tp ; |
| 20406 |
char *rp ; |
|
20454 |
char *rp ; |
| 20407 |
char c ; |
|
20455 |
char c ; |
| 20408 |
char lc ; |
|
20456 |
char lc ; |
| 20409 |
int br ; |
|
20457 |
int br ; |
| 20410 |
int i ; |
|
20458 |
int i ; |
| 20411 |
int depth ; |
|
20459 |
int depth ; |
| 20412 |
int in_q ; |
|
20460 |
int in_q ; |
| 20413 |
int state ; |
|
20461 |
int state ; |
| 20414 |
int pos ; |
|
20462 |
int pos ; |
| 20415 |
char *allow_free ; |
|
20463 |
char *allow_free ; |
| 20416 |
char __attribute__((__visibility__("default"))) *tmp ; |
|
20464 |
char __attribute__((__visibility__("default"))) *tmp ; |
| 20417 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
20465 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 20418 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
20466 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 20419 |
unsigned short const **tmp___2 ; |
|
20467 |
unsigned short const **tmp___2 ; |
| 20420 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
|
20468 |
void __attribute__((__visibility__("default"))) *tmp___3 ; |
| 20421 |
char *tmp___4 ; |
|
20469 |
char *tmp___4 ; |
| 20422 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
|
20470 |
void __attribute__((__visibility__("default"))) *tmp___5 ; |
| 20423 |
char *tmp___6 ; |
|
20471 |
char *tmp___6 ; |
| 20424 |
char *tmp___7 ; |
|
20472 |
char *tmp___7 ; |
| 20425 |
void __attribute__((__visibility__("default"))) *tmp___8 ; |
|
20473 |
void __attribute__((__visibility__("default"))) *tmp___8 ; |
| 20426 |
char *tmp___9 ; |
|
20474 |
char *tmp___9 ; |
| 20427 |
char *tmp___10 ; |
|
20475 |
char *tmp___10 ; |
| 20428 |
void __attribute__((__visibility__("default"))) *tmp___11 ; |
|
20476 |
void __attribute__((__visibility__("default"))) *tmp___11 ; |
| 20429 |
char *tmp___12 ; |
|
20477 |
char *tmp___12 ; |
| 20430 |
int tmp___13 ; |
|
20478 |
int tmp___13 ; |
| 20431 |
char *tmp___14 ; |
|
20479 |
char *tmp___14 ; |
| 20432 |
char *tmp___15 ; |
|
20480 |
char *tmp___15 ; |
| 20433 |
void __attribute__((__visibility__("default"))) *tmp___16 ; |
|
20481 |
void __attribute__((__visibility__("default"))) *tmp___16 ; |
| 20434 |
char *tmp___17 ; |
|
20482 |
char *tmp___17 ; |
| 20435 |
char *tmp___18 ; |
|
20483 |
char *tmp___18 ; |
| 20436 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
|
20484 |
void __attribute__((__visibility__("default"))) *tmp___19 ; |
| 20437 |
char *tmp___20 ; |
|
20485 |
char *tmp___20 ; |
| 20438 |
int __res ; |
|
20486 |
int __res ; |
| 20439 |
int __c ; |
|
20487 |
int __c ; |
| 20440 |
__int32_t const **tmp___21 ; |
|
20488 |
__int32_t const **tmp___21 ; |
| 20441 |
__int32_t const **tmp___22 ; |
|
20489 |
__int32_t const **tmp___22 ; |
| 20442 |
int __res___0 ; |
|
20490 |
int __res___0 ; |
| 20443 |
int __c___0 ; |
|
20491 |
int __c___0 ; |
| 20444 |
__int32_t const **tmp___23 ; |
|
20492 |
__int32_t const **tmp___23 ; |
| 20445 |
__int32_t const **tmp___24 ; |
|
20493 |
__int32_t const **tmp___24 ; |
| 20446 |
int __res___1 ; |
|
20494 |
int __res___1 ; |
| 20447 |
int __c___1 ; |
|
20495 |
int __c___1 ; |
| 20448 |
__int32_t const **tmp___25 ; |
|
20496 |
__int32_t const **tmp___25 ; |
| 20449 |
__int32_t const **tmp___26 ; |
|
20497 |
__int32_t const **tmp___26 ; |
| 20450 |
int __res___2 ; |
|
20498 |
int __res___2 ; |
| 20451 |
int __c___2 ; |
|
20499 |
int __c___2 ; |
| 20452 |
__int32_t const **tmp___27 ; |
|
20500 |
__int32_t const **tmp___27 ; |
| 20453 |
__int32_t const **tmp___28 ; |
|
20501 |
__int32_t const **tmp___28 ; |
| 20454 |
int __res___3 ; |
|
20502 |
int __res___3 ; |
| 20455 |
int __c___3 ; |
|
20503 |
int __c___3 ; |
| 20456 |
__int32_t const **tmp___29 ; |
|
20504 |
__int32_t const **tmp___29 ; |
| 20457 |
__int32_t const **tmp___30 ; |
|
20505 |
__int32_t const **tmp___30 ; |
| 20458 |
int __res___4 ; |
|
20506 |
int __res___4 ; |
| 20459 |
int __c___4 ; |
|
20507 |
int __c___4 ; |
| 20460 |
__int32_t const **tmp___31 ; |
|
20508 |
__int32_t const **tmp___31 ; |
| 20461 |
__int32_t const **tmp___32 ; |
|
20509 |
__int32_t const **tmp___32 ; |
| 20462 |
int tmp___33 ; |
|
20510 |
int tmp___33 ; |
| 20463 |
char *tmp___34 ; |
|
20511 |
char *tmp___34 ; |
| 20464 |
void __attribute__((__visibility__("default"))) *tmp___35 ; |
|
20512 |
void __attribute__((__visibility__("default"))) *tmp___35 ; |
| 20465 |
char *tmp___36 ; |
|
20513 |
char *tmp___36 ; |
| 20466 |
|
|
20514 |
|
| 20467 |
{ |
|
20515 |
{ |
| 20468 |
i = 0; |
|
20516 |
i = 0; |
| 20469 |
depth = 0; |
|
20517 |
depth = 0; |
| 20470 |
in_q = 0; |
|
20518 |
in_q = 0; |
| 20471 |
state = 0; |
|
20519 |
state = 0; |
| 20472 |
if (stateptr) { |
|
20520 |
if (stateptr) { |
| 20473 |
state = *stateptr; |
|
20521 |
state = *stateptr; |
| 20474 |
} else { |
|
20522 |
} else { |
| 20475 |
|
|
20523 |
|
| 20476 |
} |
|
20524 |
} |
| 20477 |
tmp = _estrndup((char const *)rbuf, (unsigned int )len); |
|
20525 |
tmp = _estrndup((char const *)rbuf, (unsigned int )len); |
| 20478 |
buf = (char *)tmp; |
|
20526 |
buf = (char *)tmp; |
| 20479 |
c = *buf; |
|
20527 |
c = *buf; |
| 20480 |
lc = (char )'\000'; |
|
20528 |
lc = (char )'\000'; |
| 20481 |
p = buf; |
|
20529 |
p = buf; |
| 20482 |
rp = rbuf; |
|
20530 |
rp = rbuf; |
| 20483 |
br = 0; |
|
20531 |
br = 0; |
| 20484 |
if (allow) { |
|
20532 |
if (allow) { |
| 20485 |
if ((unsigned int )allow >= (unsigned int )compiler_globals.interned_strings_start) { |
|
20533 |
if ((unsigned int )allow >= (unsigned int )compiler_globals.interned_strings_start) { |
| 20486 |
if ((unsigned int )allow < (unsigned int )compiler_globals.interned_strings_end) { |
|
20534 |
if ((unsigned int )allow < (unsigned int )compiler_globals.interned_strings_end) { |
| 20487 |
tmp___0 = zend_str_tolower_dup((char const *)allow, |
|
20535 |
tmp___0 = zend_str_tolower_dup((char const *)allow, |
| 20488 |
(unsigned int )allow_len); |
|
20536 |
(unsigned int )allow_len); |
| 20489 |
allow = (char *)tmp___0; |
|
20537 |
allow = (char *)tmp___0; |
| 20490 |
allow_free = allow; |
|
20538 |
allow_free = allow; |
| 20491 |
} else { |
|
20539 |
} else { |
| 20492 |
allow_free = (char *)((void *)0); |
|
20540 |
allow_free = (char *)((void *)0); |
| 20493 |
php_strtolower(allow, (size_t )allow_len); |
|
20541 |
php_strtolower(allow, (size_t )allow_len); |
| 20494 |
} |
|
20542 |
} |
| 20495 |
} else { |
|
20543 |
} else { |
| 20496 |
allow_free = (char *)((void *)0); |
|
20544 |
allow_free = (char *)((void *)0); |
| 20497 |
php_strtolower(allow, (size_t )allow_len); |
|
20545 |
php_strtolower(allow, (size_t )allow_len); |
| 20498 |
} |
|
20546 |
} |
| 20499 |
tmp___1 = _emalloc((size_t )1024); |
|
20547 |
tmp___1 = _emalloc((size_t )1024); |
| 20500 |
tbuf = (char *)tmp___1; |
|
20548 |
tbuf = (char *)tmp___1; |
| 20501 |
tp = tbuf; |
|
20549 |
tp = tbuf; |
| 20502 |
} else { |
|
20550 |
} else { |
| 20503 |
tp = (char *)((void *)0); |
|
20551 |
tp = (char *)((void *)0); |
| 20504 |
tbuf = tp; |
|
20552 |
tbuf = tp; |
| 20505 |
} |
|
20553 |
} |
| 20506 |
while (i < len) { |
|
20554 |
while (i < len) { |
| 20507 |
switch ((int )c) { |
|
20555 |
switch ((int )c) { |
| 20508 |
case 0: |
|
20556 |
case 0: |
| 20509 |
break; |
|
20557 |
break; |
| 20510 |
case 60: |
|
20558 |
case 60: |
| 20511 |
if (in_q) { |
|
20559 |
if (in_q) { |
| 20512 |
break; |
|
20560 |
break; |
| 20513 |
} else { |
|
20561 |
} else { |
| 20514 |
|
|
20562 |
|
| 20515 |
} |
|
20563 |
} |
| 20516 |
tmp___2 = __ctype_b_loc(); |
|
20564 |
tmp___2 = __ctype_b_loc(); |
| 20517 |
if ((int const )*(*tmp___2 + (int )*(p + 1)) & 8192) { |
|
20565 |
if ((int const )*(*tmp___2 + (int )*(p + 1)) & 8192) { |
| 20518 |
if (! allow_tag_spaces) { |
|
20566 |
if (! allow_tag_spaces) { |
| 20519 |
goto reg_char; |
|
20567 |
goto reg_char; |
| 20520 |
} else { |
|
20568 |
} else { |
| 20521 |
|
|
20569 |
|
| 20522 |
} |
|
20570 |
} |
| 20523 |
} else { |
|
20571 |
} else { |
| 20524 |
|
|
20572 |
|
| 20525 |
} |
|
20573 |
} |
| 20526 |
if (state == 0) { |
|
20574 |
if (state == 0) { |
| 20527 |
lc = (char )'<'; |
|
20575 |
lc = (char )'<'; |
| 20528 |
state = 1; |
|
20576 |
state = 1; |
| 20529 |
if (allow) { |
|
20577 |
if (allow) { |
| 20530 |
if (tp - tbuf >= 1023) { |
|
20578 |
if (tp - tbuf >= 1023) { |
| 20531 |
pos = tp - tbuf; |
|
20579 |
pos = tp - tbuf; |
| 20532 |
tmp___3 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
|
20580 |
tmp___3 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
| 20533 |
0); |
|
20581 |
0); |
| 20534 |
tbuf = (char *)tmp___3; |
|
20582 |
tbuf = (char *)tmp___3; |
| 20535 |
tp = tbuf + pos; |
|
20583 |
tp = tbuf + pos; |
| 20536 |
} else { |
|
20584 |
} else { |
| 20537 |
|
|
20585 |
|
| 20538 |
} |
|
20586 |
} |
| 20539 |
tmp___4 = tp; |
|
20587 |
tmp___4 = tp; |
| 20540 |
tp ++; |
|
20588 |
tp ++; |
| 20541 |
*tmp___4 = (char )'<'; |
|
20589 |
*tmp___4 = (char )'<'; |
| 20542 |
} else { |
|
20590 |
} else { |
| 20543 |
|
|
20591 |
|
| 20544 |
} |
|
20592 |
} |
| 20545 |
} else |
|
20593 |
} else |
| 20546 |
if (state == 1) { |
|
20594 |
if (state == 1) { |
| 20547 |
depth ++; |
|
20595 |
depth ++; |
| 20548 |
} else { |
|
20596 |
} else { |
| 20549 |
|
|
20597 |
|
| 20550 |
} |
|
20598 |
} |
| 20551 |
break; |
|
20599 |
break; |
| 20552 |
case 40: |
|
20600 |
case 40: |
| 20553 |
if (state == 2) { |
|
20601 |
if (state == 2) { |
| 20554 |
if ((int )lc != 34) { |
|
20602 |
if ((int )lc != 34) { |
| 20555 |
if ((int )lc != 39) { |
|
20603 |
if ((int )lc != 39) { |
| 20556 |
lc = (char )'('; |
|
20604 |
lc = (char )'('; |
| 20557 |
br ++; |
|
20605 |
br ++; |
| 20558 |
} else { |
|
20606 |
} else { |
| 20559 |
|
|
20607 |
|
| 20560 |
} |
|
20608 |
} |
| 20561 |
} else { |
|
20609 |
} else { |
| 20562 |
|
|
20610 |
|
| 20563 |
} |
|
20611 |
} |
| 20564 |
} else |
|
20612 |
} else |
| 20565 |
if (allow) { |
|
20613 |
if (allow) { |
| 20566 |
if (state == 1) { |
|
20614 |
if (state == 1) { |
| 20567 |
if (tp - tbuf >= 1023) { |
|
20615 |
if (tp - tbuf >= 1023) { |
| 20568 |
pos = tp - tbuf; |
|
20616 |
pos = tp - tbuf; |
| 20569 |
tmp___5 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
|
20617 |
tmp___5 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
| 20570 |
0); |
|
20618 |
0); |
| 20571 |
tbuf = (char *)tmp___5; |
|
20619 |
tbuf = (char *)tmp___5; |
| 20572 |
tp = tbuf + pos; |
|
20620 |
tp = tbuf + pos; |
| 20573 |
} else { |
|
20621 |
} else { |
| 20574 |
|
|
20622 |
|
| 20575 |
} |
|
20623 |
} |
| 20576 |
tmp___6 = tp; |
|
20624 |
tmp___6 = tp; |
| 20577 |
tp ++; |
|
20625 |
tp ++; |
| 20578 |
*tmp___6 = c; |
|
20626 |
*tmp___6 = c; |
| 20579 |
} else { |
|
20627 |
} else { |
| 20580 |
goto _L; |
|
20628 |
goto _L; |
| 20581 |
} |
|
20629 |
} |
| 20582 |
} else |
|
20630 |
} else |
| 20583 |
_L: |
|
20631 |
_L: |
| 20584 |
if (state == 0) { |
|
20632 |
if (state == 0) { |
| 20585 |
tmp___7 = rp; |
|
20633 |
tmp___7 = rp; |
| 20586 |
rp ++; |
|
20634 |
rp ++; |
| 20587 |
*tmp___7 = c; |
|
20635 |
*tmp___7 = c; |
| 20588 |
} else { |
|
20636 |
} else { |
| 20589 |
|
|
20637 |
|
| 20590 |
} |
|
20638 |
} |
| 20591 |
break; |
|
20639 |
break; |
| 20592 |
case 41: |
|
20640 |
case 41: |
| 20593 |
if (state == 2) { |
|
20641 |
if (state == 2) { |
| 20594 |
if ((int )lc != 34) { |
|
20642 |
if ((int )lc != 34) { |
| 20595 |
if ((int )lc != 39) { |
|
20643 |
if ((int )lc != 39) { |
| 20596 |
lc = (char )')'; |
|
20644 |
lc = (char )')'; |
| 20597 |
br --; |
|
20645 |
br --; |
| 20598 |
} else { |
|
20646 |
} else { |
| 20599 |
|
|
20647 |
|
| 20600 |
} |
|
20648 |
} |
| 20601 |
} else { |
|
20649 |
} else { |
| 20602 |
|
|
20650 |
|
| 20603 |
} |
|
20651 |
} |
| 20604 |
} else |
|
20652 |
} else |
| 20605 |
if (allow) { |
|
20653 |
if (allow) { |
| 20606 |
if (state == 1) { |
|
20654 |
if (state == 1) { |
| 20607 |
if (tp - tbuf >= 1023) { |
|
20655 |
if (tp - tbuf >= 1023) { |
| 20608 |
pos = tp - tbuf; |
|
20656 |
pos = tp - tbuf; |
| 20609 |
tmp___8 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
|
20657 |
tmp___8 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
| 20610 |
0); |
|
20658 |
0); |
| 20611 |
tbuf = (char *)tmp___8; |
|
20659 |
tbuf = (char *)tmp___8; |
| 20612 |
tp = tbuf + pos; |
|
20660 |
tp = tbuf + pos; |
| 20613 |
} else { |
|
20661 |
} else { |
| 20614 |
|
|
20662 |
|
| 20615 |
} |
|
20663 |
} |
| 20616 |
tmp___9 = tp; |
|
20664 |
tmp___9 = tp; |
| 20617 |
tp ++; |
|
20665 |
tp ++; |
| 20618 |
*tmp___9 = c; |
|
20666 |
*tmp___9 = c; |
| 20619 |
} else { |
|
20667 |
} else { |
| 20620 |
goto _L___0; |
|
20668 |
goto _L___0; |
| 20621 |
} |
|
20669 |
} |
| 20622 |
} else |
|
20670 |
} else |
| 20623 |
_L___0: |
|
20671 |
_L___0: |
| 20624 |
if (state == 0) { |
|
20672 |
if (state == 0) { |
| 20625 |
tmp___10 = rp; |
|
20673 |
tmp___10 = rp; |
| 20626 |
rp ++; |
|
20674 |
rp ++; |
| 20627 |
*tmp___10 = c; |
|
20675 |
*tmp___10 = c; |
| 20628 |
} else { |
|
20676 |
} else { |
| 20629 |
|
|
20677 |
|
| 20630 |
} |
|
20678 |
} |
| 20631 |
break; |
|
20679 |
break; |
| 20632 |
case 62: |
|
20680 |
case 62: |
| 20633 |
if (depth) { |
|
20681 |
if (depth) { |
| 20634 |
depth --; |
|
20682 |
depth --; |
| 20635 |
break; |
|
20683 |
break; |
| 20636 |
} else { |
|
20684 |
} else { |
| 20637 |
|
|
20685 |
|
| 20638 |
} |
|
20686 |
} |
| 20639 |
if (in_q) { |
|
20687 |
if (in_q) { |
| 20640 |
break; |
|
20688 |
break; |
| 20641 |
} else { |
|
20689 |
} else { |
| 20642 |
|
|
20690 |
|
| 20643 |
} |
|
20691 |
} |
| 20644 |
switch (state) { |
|
20692 |
switch (state) { |
| 20645 |
case 1: |
|
20693 |
case 1: |
| 20646 |
lc = (char )'>'; |
|
20694 |
lc = (char )'>'; |
| 20647 |
state = 0; |
|
20695 |
state = 0; |
| 20648 |
in_q = state; |
|
20696 |
in_q = state; |
| 20649 |
if (allow) { |
|
20697 |
if (allow) { |
| 20650 |
if (tp - tbuf >= 1023) { |
|
20698 |
if (tp - tbuf >= 1023) { |
| 20651 |
pos = tp - tbuf; |
|
20699 |
pos = tp - tbuf; |
| 20652 |
tmp___11 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
|
20700 |
tmp___11 = _erealloc((void *)tbuf, (size_t )(((tp - tbuf) + 1023) + 1), |
| 20653 |
0); |
|
20701 |
0); |
| 20654 |
tbuf = (char *)tmp___11; |
|
20702 |
tbuf = (char *)tmp___11; |
| 20655 |
tp = tbuf + pos; |
|
20703 |
tp = tbuf + pos; |
| 20656 |
} else { |
|
20704 |
} else { |
| 20657 |
|
|
20705 |
|
| 20658 |
} |
|
20706 |
} |
| 20659 |
tmp___12 = tp; |
|
20707 |
tmp___12 = tp; |
| 20660 |
tp ++; |
|
20708 |
tp ++; |
| 20661 |
*tmp___12 = (char )'>'; |
|
20709 |
*tmp___12 = (char )'>'; |
| 20662 |
*tp = (char )'\000'; |
|
20710 |
*tp = (char )'\000'; |
| 20663 |
tmp___13 = php_tag_find(tbuf, tp - tbuf, allow); |
|
20711 |
tmp___13 = php_tag_find(tbuf, tp - tbuf, allow); |
| 20664 |
if (tmp___13) { |
|
20712 |
if (tmp___13) { |
| 20665 |
memcpy((void *)rp, |
|
20713 |
memcpy((void *)rp, |
| 20666 |
(void const *)tbuf, (size_t )(tp - tbuf)); |
|
20714 |
(void const *)tbuf, (size_t )(tp - tbuf)); |
| 20667 |
rp += tp - tbuf; |
|
20715 |
rp += tp - tbuf; |
| 20668 |
} else { |
|
20716 |
} else { |
| 20669 |
|
|
20717 |
|
| 20670 |
} |
|
20718 |
} |
| 20671 |
tp = tbuf; |
|
20719 |
tp = tbuf; |
| 20672 |
} else { |
|
20720 |
} else { |
| 20673 |
|
|
20721 |
|
| 20674 |
} |
|
20722 |
} |
| 20675 |
break; |
|
20723 |
break; |
| 20676 |
case 2: |
|
20724 |
case 2: |
| 20677 |
if (! br) { |
|
20725 |
if (! br) { |
| 20678 |
if ((int )lc != 34) { |
|
20726 |
if ((int )lc != 34) { |
| 20679 |
if ((int )*(p - 1) == 63) { |
|
20727 |
if ((int )*(p - 1) == 63) { |
| 20680 |
state = 0; |
|
20728 |
state = 0; |
| 20681 |
in_q = state; |
|
20729 |
in_q = state; |
| 20682 |
tp = tbuf; |
|
20730 |
tp = tbuf; |
| 20683 |
} else { |
|
20731 |
} else { |
| 20684 |
|
|
20732 |
|
| 20685 |
} |
|
20733 |
} |
| 20686 |
} else { |
|
20734 |
} else { |
| 20687 |
|
|
20735 |
|
| 20688 |
} |
|
20736 |
} |
| 20689 |
} else { |
|
20737 |
} else { |
| 20690 |
|
|
20738 |
|
| 20691 |
} |
|
20739 |
} |
| 20692 |
break; |
|
20740 |
break; |
| 20693 |
case 3: |
|
20741 |
case 3: |
| 20694 |
state = 0; |
|
20742 |
state = 0; |
| 20695 |
in_q = state; |
|
20743 |
in_q = state; |
| 20696 |
tp = tbuf; |
|
20744 |
tp = tbuf; |
| 20697 |
break; |
|
20745 |
break; |
| 20698 |
case 4: |
|
20746 |
case 4: |
| 20699 |
if ((unsigned int )p >= (unsigned int )(buf + 2)) { |
|
20747 |
if ((unsigned int )p >= (unsigned int )(buf + 2)) { |
| 20700 |
if ((int )*(p - 1) == 45) { |
|
20748 |
if ((int )*(p - 1) == 45) { |
| 20701 |
if ((int )*(p - 2) == 45) { |
|
20749 |
if ((int )*(p - 2) == 45) { |
| 20702 |
state = 0; |
|
20750 |
state = 0; |
| 20703 |
in_q = state; |
|
20751 |
in_q = state; |
| 20704 |
tp = tbuf; |
|
20752 |
tp = tbuf; |
| 20705 |
} else { |
|
20753 |
} else { |
| 20706 |
|
|
20754 |
|
| 20707 |
} |
|
20755 |
} |
| 20708 |
} else { |
|
20756 |
} else { |
| 20709 |
|
|
20757 |
|
| 20710 |
} |
|
20758 |
} |
| 20711 |
} else { |
|
20759 |
} else { |
| 20712 |
|
|
20760 |
|
| 20713 |
} |
|
20761 |
} |
| 20714 |
break; |
|
20762 |
break; |
| 20715 |
default: |
|
20763 |
default: |
| 20716 |
tmp___14 = rp; |
|
20764 |
tmp___14 = rp; |
| 20717 |
rp ++; |
|
20765 |
rp ++; |
| 20718 |
*tmp___14 = c; |
|
20766 |
*tmp___14 = c; |
| 20719 |
break; |
|
20767 |
break; |
| 20720 |
} |
|
20768 |
} |
| 20721 |
break; |
|
20769 |
break; |
| 20722 |
case 39: |
|
20770 |
case 39: |
| 20723 |
case 34: |
|
20771 |
case 34: |
| 20724 |
if (state == 4) { |
|
20772 |
if (state == 4) { |
| 20725 |
break; |
|
20773 |
break; |
| 20726 |
} else |
|
20774 |
} else |
| 20727 |
if (state == 2) { |
|
20775 |
if (state == 2) { |
| 20728 |
if ((int )*(p - 1) != 92) { |
|
20776 |
if ((int )*(p - 1) != 92) { |
| 20729 |
if ((int )lc == (int )c) { |
|
20777 |
if ((int )lc == (int )c) { |
| 20730 |
lc = (char )'\000'; |
|
20778 |
lc = (char )'\000'; |
| 20731 |
} else |
|
20779 |
} else |
| 20732 |
if ((int )lc != 92) { |
|
20780 |
if ((int )lc != 92) { |
| 20733 |
lc = c; |
|
20781 |
lc = c; |
| 20734 |
} else { |
|
20782 |
} else { |
| 20735 |
|
|
20783 |
|
| 20736 |
} |
|
20784 |
} |
| 20737 |
} else { |
|
20785 |
} else { |
| 20738 |
goto _L___1; |
|
20786 |
goto _L___1; |
| 20739 |
} |
|
20787 |
} |
| 20740 |
} else |
|
20788 |
} else |
| 20741 |
_L___1: |
|
20789 |
_L___1: |
| 20742 |
if (state == 0) { |
|
20790 |
if (state == 0) { |
| 20743 |
tmp___15 = rp; |
|
20791 |
tmp___15 = rp; |
| 20744 |
rp ++; |
|
20792 |
rp ++; |
| 20745 |
*tmp___15 = c; |
|
20793 |
*tmp___15 = c; |
| 20746 |
} else |
|
20794 |
} else |
| 20747 |
if (allow) { |
|
20795 |
if (allow) { |
| 20748 |
if (state == 1) { |
|
20796 |
if (state == 1) { |
| 20749 |
if (tp - tbuf >= 1023) { |
|
20797 |
if (tp - tbuf >= 1023) { |
| 20750 |
pos = tp - tbuf; |
|
20798 |
pos = tp - tbuf; |
| 20751 |
tmp___16 = _erealloc((void *)tbuf, |
|
20799 |
tmp___16 = _erealloc((void *)tbuf, |
| 20752 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
|
20800 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
| 20753 |
tbuf = (char *)tmp___16; |
|
20801 |
tbuf = (char *)tmp___16; |
| 20754 |
tp = tbuf + pos; |
|
20802 |
tp = tbuf + pos; |
| 20755 |
} else { |
|
20803 |
} else { |
| 20756 |
|
|
20804 |
|
| 20757 |
} |
|
20805 |
} |
| 20758 |
tmp___17 = tp; |
|
20806 |
tmp___17 = tp; |
| 20759 |
tp ++; |
|
20807 |
tp ++; |
| 20760 |
*tmp___17 = c; |
|
20808 |
*tmp___17 = c; |
| 20761 |
} else { |
|
20809 |
} else { |
| 20762 |
|
|
20810 |
|
| 20763 |
} |
|
20811 |
} |
| 20764 |
} else { |
|
20812 |
} else { |
| 20765 |
|
|
20813 |
|
| 20766 |
} |
|
20814 |
} |
| 20767 |
if (state) { |
|
20815 |
if (state) { |
| 20768 |
if ((unsigned int )p != (unsigned int )buf) { |
|
20816 |
if ((unsigned int )p != (unsigned int )buf) { |
| 20769 |
if (state == 1) { |
|
20817 |
if (state == 1) { |
| 20770 |
goto _L___3; |
|
20818 |
goto _L___3; |
| 20771 |
} else |
|
20819 |
} else |
| 20772 |
if ((int )*(p - 1) != 92) { |
|
20820 |
if ((int )*(p - 1) != 92) { |
| 20773 |
_L___3: |
|
20821 |
_L___3: |
| 20774 |
if (! in_q) { |
|
20822 |
if (! in_q) { |
| 20775 |
goto _L___2; |
|
20823 |
goto _L___2; |
| 20776 |
} else |
|
20824 |
} else |
| 20777 |
if ((int )*p == in_q) { |
|
20825 |
if ((int )*p == in_q) { |
| 20778 |
_L___2: |
|
20826 |
_L___2: |
| 20779 |
if (in_q) { |
|
20827 |
if (in_q) { |
| 20780 |
in_q = 0; |
|
20828 |
in_q = 0; |
| 20781 |
} else { |
|
20829 |
} else { |
| 20782 |
in_q = (int )*p; |
|
20830 |
in_q = (int )*p; |
| 20783 |
} |
|
20831 |
} |
| 20784 |
} else { |
|
20832 |
} else { |
| 20785 |
|
|
20833 |
|
| 20786 |
} |
|
20834 |
} |
| 20787 |
} else { |
|
20835 |
} else { |
| 20788 |
|
|
20836 |
|
| 20789 |
} |
|
20837 |
} |
| 20790 |
} else { |
|
20838 |
} else { |
| 20791 |
|
|
20839 |
|
| 20792 |
} |
|
20840 |
} |
| 20793 |
} else { |
|
20841 |
} else { |
| 20794 |
|
|
20842 |
|
| 20795 |
} |
|
20843 |
} |
| 20796 |
break; |
|
20844 |
break; |
| 20797 |
case 33: |
|
20845 |
case 33: |
| 20798 |
if (state == 1) { |
|
20846 |
if (state == 1) { |
| 20799 |
if ((int )*(p - 1) == 60) { |
|
20847 |
if ((int )*(p - 1) == 60) { |
| 20800 |
state = 3; |
|
20848 |
state = 3; |
| 20801 |
lc = c; |
|
20849 |
lc = c; |
| 20802 |
} else { |
|
20850 |
} else { |
| 20803 |
goto _L___4; |
|
20851 |
goto _L___4; |
| 20804 |
} |
|
20852 |
} |
| 20805 |
} else |
|
20853 |
} else |
| 20806 |
_L___4: |
|
20854 |
_L___4: |
| 20807 |
if (state == 0) { |
|
20855 |
if (state == 0) { |
| 20808 |
tmp___18 = rp; |
|
20856 |
tmp___18 = rp; |
| 20809 |
rp ++; |
|
20857 |
rp ++; |
| 20810 |
*tmp___18 = c; |
|
20858 |
*tmp___18 = c; |
| 20811 |
} else |
|
20859 |
} else |
| 20812 |
if (allow) { |
|
20860 |
if (allow) { |
| 20813 |
if (state == 1) { |
|
20861 |
if (state == 1) { |
| 20814 |
if (tp - tbuf >= 1023) { |
|
20862 |
if (tp - tbuf >= 1023) { |
| 20815 |
pos = tp - tbuf; |
|
20863 |
pos = tp - tbuf; |
| 20816 |
tmp___19 = _erealloc((void *)tbuf, |
|
20864 |
tmp___19 = _erealloc((void *)tbuf, |
| 20817 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
|
20865 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
| 20818 |
tbuf = (char *)tmp___19; |
|
20866 |
tbuf = (char *)tmp___19; |
| 20819 |
tp = tbuf + pos; |
|
20867 |
tp = tbuf + pos; |
| 20820 |
} else { |
|
20868 |
} else { |
| 20821 |
|
|
20869 |
|
| 20822 |
} |
|
20870 |
} |
| 20823 |
tmp___20 = tp; |
|
20871 |
tmp___20 = tp; |
| 20824 |
tp ++; |
|
20872 |
tp ++; |
| 20825 |
*tmp___20 = c; |
|
20873 |
*tmp___20 = c; |
| 20826 |
} else { |
|
20874 |
} else { |
| 20827 |
|
|
20875 |
|
| 20828 |
} |
|
20876 |
} |
| 20829 |
} else { |
|
20877 |
} else { |
| 20830 |
|
|
20878 |
|
| 20831 |
} |
|
20879 |
} |
| 20832 |
break; |
|
20880 |
break; |
| 20833 |
case 45: |
|
20881 |
case 45: |
| 20834 |
if (state == 3) { |
|
20882 |
if (state == 3) { |
| 20835 |
if ((unsigned int )p >= (unsigned int )(buf + 2)) { |
|
20883 |
if ((unsigned int )p >= (unsigned int )(buf + 2)) { |
| 20836 |
if ((int )*(p - 1) == 45) { |
|
20884 |
if ((int )*(p - 1) == 45) { |
| 20837 |
if ((int )*(p - 2) == 33) { |
|
20885 |
if ((int )*(p - 2) == 33) { |
| 20838 |
state = 4; |
|
20886 |
state = 4; |
| 20839 |
} else { |
|
20887 |
} else { |
| 20840 |
goto reg_char; |
|
20888 |
goto reg_char; |
| 20841 |
} |
|
20889 |
} |
| 20842 |
} else { |
|
20890 |
} else { |
| 20843 |
goto reg_char; |
|
20891 |
goto reg_char; |
| 20844 |
} |
|
20892 |
} |
| 20845 |
} else { |
|
20893 |
} else { |
| 20846 |
goto reg_char; |
|
20894 |
goto reg_char; |
| 20847 |
} |
|
20895 |
} |
| 20848 |
} else { |
|
20896 |
} else { |
| 20849 |
goto reg_char; |
|
20897 |
goto reg_char; |
| 20850 |
} |
|
20898 |
} |
| 20851 |
break; |
|
20899 |
break; |
| 20852 |
case 63: |
|
20900 |
case 63: |
| 20853 |
if (state == 1) { |
|
20901 |
if (state == 1) { |
| 20854 |
if ((int )*(p - 1) == 60) { |
|
20902 |
if ((int )*(p - 1) == 60) { |
| 20855 |
br = 0; |
|
20903 |
br = 0; |
| 20856 |
state = 2; |
|
20904 |
state = 2; |
| 20857 |
break; |
|
20905 |
break; |
| 20858 |
} else { |
|
20906 |
} else { |
| 20859 |
|
|
20907 |
|
| 20860 |
} |
|
20908 |
} |
| 20861 |
} else { |
|
20909 |
} else { |
| 20862 |
|
|
20910 |
|
| 20863 |
} |
|
20911 |
} |
| 20864 |
case 101: |
|
20912 |
case 101: |
| 20865 |
case 69: |
|
20913 |
case 69: |
| 20866 |
if (state == 3) { |
|
20914 |
if (state == 3) { |
| 20867 |
if ((unsigned int )p > (unsigned int )(buf + 6)) { |
|
20915 |
if ((unsigned int )p > (unsigned int )(buf + 6)) { |
| 20868 |
if (sizeof(*(p - 1)) > 1U) { |
|
20916 |
if (sizeof(*(p - 1)) > 1U) { |
| 20869 |
__res = tolower((int )*(p - 1)); |
|
20917 |
__res = tolower((int )*(p - 1)); |
| 20870 |
} else { |
|
20918 |
} else { |
| 20871 |
tmp___22 = __ctype_tolower_loc(); |
|
20919 |
tmp___22 = __ctype_tolower_loc(); |
| 20872 |
__res = (int )*(*tmp___22 + (int )*(p - 1)); |
|
20920 |
__res = (int )*(*tmp___22 + (int )*(p - 1)); |
| 20873 |
} |
|
20921 |
} |
| 20874 |
if (__res == 112) { |
|
20922 |
if (__res == 112) { |
| 20875 |
if (sizeof(*(p - 2)) > 1U) { |
|
20923 |
if (sizeof(*(p - 2)) > 1U) { |
| 20876 |
__res___0 = tolower((int )*(p - 2)); |
|
20924 |
__res___0 = tolower((int )*(p - 2)); |
| 20877 |
} else { |
|
20925 |
} else { |
| 20878 |
tmp___24 = __ctype_tolower_loc(); |
|
20926 |
tmp___24 = __ctype_tolower_loc(); |
| 20879 |
__res___0 = (int )*(*tmp___24 + (int )*(p - 2)); |
|
20927 |
__res___0 = (int )*(*tmp___24 + (int )*(p - 2)); |
| 20880 |
} |
|
20928 |
} |
| 20881 |
if (__res___0 == 121) { |
|
20929 |
if (__res___0 == 121) { |
| 20882 |
if (sizeof(*(p - 3)) > 1U) { |
|
20930 |
if (sizeof(*(p - 3)) > 1U) { |
| 20883 |
__res___1 = tolower((int )*(p - 3)); |
|
20931 |
__res___1 = tolower((int )*(p - 3)); |
| 20884 |
} else { |
|
20932 |
} else { |
| 20885 |
tmp___26 = __ctype_tolower_loc(); |
|
20933 |
tmp___26 = __ctype_tolower_loc(); |
| 20886 |
__res___1 = (int )*(*tmp___26 + (int )*(p - 3)); |
|
20934 |
__res___1 = (int )*(*tmp___26 + (int )*(p - 3)); |
| 20887 |
} |
|
20935 |
} |
| 20888 |
if (__res___1 == 116) { |
|
20936 |
if (__res___1 == 116) { |
| 20889 |
if (sizeof(*(p - 4)) > 1U) { |
|
20937 |
if (sizeof(*(p - 4)) > 1U) { |
| 20890 |
__res___2 = tolower((int )*(p - 4)); |
|
20938 |
__res___2 = tolower((int )*(p - 4)); |
| 20891 |
} else { |
|
20939 |
} else { |
| 20892 |
tmp___28 = __ctype_tolower_loc(); |
|
20940 |
tmp___28 = __ctype_tolower_loc(); |
| 20893 |
__res___2 = (int )*(*tmp___28 + (int )*(p - 4)); |
|
20941 |
__res___2 = (int )*(*tmp___28 + (int )*(p - 4)); |
| 20894 |
} |
|
20942 |
} |
| 20895 |
if (__res___2 == 99) { |
|
20943 |
if (__res___2 == 99) { |
| 20896 |
if (sizeof(*(p - 5)) > 1U) { |
|
20944 |
if (sizeof(*(p - 5)) > 1U) { |
| 20897 |
__res___3 = tolower((int )*(p - 5)); |
|
20945 |
__res___3 = tolower((int )*(p - 5)); |
| 20898 |
} else { |
|
20946 |
} else { |
| 20899 |
tmp___30 = __ctype_tolower_loc(); |
|
20947 |
tmp___30 = __ctype_tolower_loc(); |
| 20900 |
__res___3 = (int )*(*tmp___30 + (int )*(p - 5)); |
|
20948 |
__res___3 = (int )*(*tmp___30 + (int )*(p - 5)); |
| 20901 |
} |
|
20949 |
} |
| 20902 |
if (__res___3 == 111) { |
|
20950 |
if (__res___3 == 111) { |
| 20903 |
if (sizeof(*(p - 6)) > 1U) { |
|
20951 |
if (sizeof(*(p - 6)) > 1U) { |
| 20904 |
__res___4 = tolower((int )*(p - 6)); |
|
20952 |
__res___4 = tolower((int )*(p - 6)); |
| 20905 |
} else { |
|
20953 |
} else { |
| 20906 |
tmp___32 = __ctype_tolower_loc(); |
|
20954 |
tmp___32 = __ctype_tolower_loc(); |
| 20907 |
__res___4 = (int )*(*tmp___32 + (int )*(p - 6)); |
|
20955 |
__res___4 = (int )*(*tmp___32 + (int )*(p - 6)); |
| 20908 |
} |
|
20956 |
} |
| 20909 |
if (__res___4 == 100) { |
|
20957 |
if (__res___4 == 100) { |
| 20910 |
state = 1; |
|
20958 |
state = 1; |
| 20911 |
break; |
|
20959 |
break; |
| 20912 |
} else { |
|
20960 |
} else { |
| 20913 |
|
|
20961 |
|
| 20914 |
} |
|
20962 |
} |
| 20915 |
} else { |
|
20963 |
} else { |
| 20916 |
|
|
20964 |
|
| 20917 |
} |
|
20965 |
} |
| 20918 |
} else { |
|
20966 |
} else { |
| 20919 |
|
|
20967 |
|
| 20920 |
} |
|
20968 |
} |
| 20921 |
} else { |
|
20969 |
} else { |
| 20922 |
|
|
20970 |
|
| 20923 |
} |
|
20971 |
} |
| 20924 |
} else { |
|
20972 |
} else { |
| 20925 |
|
|
20973 |
|
| 20926 |
} |
|
20974 |
} |
| 20927 |
} else { |
|
20975 |
} else { |
| 20928 |
|
|
20976 |
|
| 20929 |
} |
|
20977 |
} |
| 20930 |
} else { |
|
20978 |
} else { |
| 20931 |
|
|
20979 |
|
| 20932 |
} |
|
20980 |
} |
| 20933 |
} else { |
|
20981 |
} else { |
| 20934 |
|
|
20982 |
|
| 20935 |
} |
|
20983 |
} |
| 20936 |
case 76: |
|
20984 |
case 76: |
| 20937 |
case 108: |
|
20985 |
case 108: |
| 20938 |
if (state == 2) { |
|
20986 |
if (state == 2) { |
| 20939 |
if ((unsigned int )p > (unsigned int )(buf + 2)) { |
|
20987 |
if ((unsigned int )p > (unsigned int )(buf + 2)) { |
| 20940 |
tmp___33 = strncasecmp((char const *)(p - 2), "xm", (size_t )2); |
|
20988 |
tmp___33 = strncasecmp((char const *)(p - 2), "xm", (size_t )2); |
| 20941 |
if (tmp___33 == 0) { |
|
20989 |
if (tmp___33 == 0) { |
| 20942 |
state = 1; |
|
20990 |
state = 1; |
| 20943 |
break; |
|
20991 |
break; |
| 20944 |
} else { |
|
20992 |
} else { |
| 20945 |
|
|
20993 |
|
| 20946 |
} |
|
20994 |
} |
| 20947 |
} else { |
|
20995 |
} else { |
| 20948 |
|
|
20996 |
|
| 20949 |
} |
|
20997 |
} |
| 20950 |
} else { |
|
20998 |
} else { |
| 20951 |
|
|
20999 |
|
| 20952 |
} |
|
21000 |
} |
| 20953 |
reg_char: |
|
21001 |
reg_char: |
| 20954 |
default: |
|
21002 |
default: |
| 20955 |
if (state == 0) { |
|
21003 |
if (state == 0) { |
| 20956 |
tmp___34 = rp; |
|
21004 |
tmp___34 = rp; |
| 20957 |
rp ++; |
|
21005 |
rp ++; |
| 20958 |
*tmp___34 = c; |
|
21006 |
*tmp___34 = c; |
| 20959 |
} else |
|
21007 |
} else |
| 20960 |
if (allow) { |
|
21008 |
if (allow) { |
| 20961 |
if (state == 1) { |
|
21009 |
if (state == 1) { |
| 20962 |
if (tp - tbuf >= 1023) { |
|
21010 |
if (tp - tbuf >= 1023) { |
| 20963 |
pos = tp - tbuf; |
|
21011 |
pos = tp - tbuf; |
| 20964 |
tmp___35 = _erealloc((void *)tbuf, |
|
21012 |
tmp___35 = _erealloc((void *)tbuf, |
| 20965 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
|
21013 |
(size_t )(((tp - tbuf) + 1023) + 1), 0); |
| 20966 |
tbuf = (char *)tmp___35; |
|
21014 |
tbuf = (char *)tmp___35; |
| 20967 |
tp = tbuf + pos; |
|
21015 |
tp = tbuf + pos; |
| 20968 |
} else { |
|
21016 |
} else { |
| 20969 |
|
|
21017 |
|
| 20970 |
} |
|
21018 |
} |
| 20971 |
tmp___36 = tp; |
|
21019 |
tmp___36 = tp; |
| 20972 |
tp ++; |
|
21020 |
tp ++; |
| 20973 |
*tmp___36 = c; |
|
21021 |
*tmp___36 = c; |
| 20974 |
} else { |
|
21022 |
} else { |
| 20975 |
|
|
21023 |
|
| 20976 |
} |
|
21024 |
} |
| 20977 |
} else { |
|
21025 |
} else { |
| 20978 |
|
|
21026 |
|
| 20979 |
} |
|
21027 |
} |
| 20980 |
break; |
|
21028 |
break; |
| 20981 |
} |
|
21029 |
} |
| 20982 |
p ++; |
|
21030 |
p ++; |
| 20983 |
c = *p; |
|
21031 |
c = *p; |
| 20984 |
i ++; |
|
21032 |
i ++; |
| 20985 |
} |
|
21033 |
} |
| 20986 |
if ((unsigned int )rp < (unsigned int )(rbuf + len)) { |
|
21034 |
if ((unsigned int )rp < (unsigned int )(rbuf + len)) { |
| 20987 |
*rp = (char )'\000'; |
|
21035 |
*rp = (char )'\000'; |
| 20988 |
} else { |
|
21036 |
} else { |
| 20989 |
|
|
21037 |
|
| 20990 |
} |
|
21038 |
} |
| 20991 |
_efree((void *)buf); |
|
21039 |
_efree((void *)buf); |
| 20992 |
if (allow) { |
|
21040 |
if (allow) { |
| 20993 |
_efree((void *)tbuf); |
|
21041 |
_efree((void *)tbuf); |
| 20994 |
if (allow_free) { |
|
21042 |
if (allow_free) { |
| 20995 |
_efree((void *)allow_free); |
|
21043 |
_efree((void *)allow_free); |
| 20996 |
} else { |
|
21044 |
} else { |
| 20997 |
|
|
21045 |
|
| 20998 |
} |
|
21046 |
} |
| 20999 |
} else { |
|
21047 |
} else { |
| 21000 |
|
|
21048 |
|
| 21001 |
} |
|
21049 |
} |
| 21002 |
if (stateptr) { |
|
21050 |
if (stateptr) { |
| 21003 |
*stateptr = state; |
|
21051 |
*stateptr = state; |
| 21004 |
} else { |
|
21052 |
} else { |
| 21005 |
|
|
21053 |
|
| 21006 |
} |
|
21054 |
} |
| 21007 |
return ((size_t __attribute__((__visibility__("default"))) )((size_t )(rp - rbuf))); |
|
21055 |
return ((size_t __attribute__((__visibility__("default"))) )((size_t )(rp - rbuf))); |
| 21008 |
} |
|
21056 |
} |
| 21009 |
} |
|
21057 |
} |
| 21010 |
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , |
|
21058 |
void zif_str_getcsv(int ht , zval *return_value , zval **return_value_ptr , |
| 21011 |
zval *this_ptr , int return_value_used ) |
|
21059 |
zval *this_ptr , int return_value_used ) |
| 21012 |
{ |
|
21060 |
{ |
| 21013 |
char *str ; |
|
21061 |
char *str ; |
| 21014 |
char delim ; |
|
21062 |
char delim ; |
| 21015 |
char enc ; |
|
21063 |
char enc ; |
| 21016 |
char esc ; |
|
21064 |
char esc ; |
| 21017 |
char *delim_str ; |
|
21065 |
char *delim_str ; |
| 21018 |
char *enc_str ; |
|
21066 |
char *enc_str ; |
| 21019 |
char *esc_str ; |
|
21067 |
char *esc_str ; |
| 21020 |
int str_len ; |
|
21068 |
int str_len ; |
| 21021 |
int delim_len ; |
|
21069 |
int delim_len ; |
| 21022 |
int enc_len ; |
|
21070 |
int enc_len ; |
| 21023 |
int esc_len ; |
|
21071 |
int esc_len ; |
| 21024 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21072 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21025 |
|
|
21073 |
|
| 21026 |
{ |
|
21074 |
{ |
| 21027 |
delim = (char )','; |
|
21075 |
delim = (char )','; |
| 21028 |
enc = (char )'\"'; |
|
21076 |
enc = (char )'\"'; |
| 21029 |
esc = (char )'\\'; |
|
21077 |
esc = (char )'\\'; |
| 21030 |
delim_str = (char *)((void *)0); |
|
21078 |
delim_str = (char *)((void *)0); |
| 21031 |
enc_str = (char *)((void *)0); |
|
21079 |
enc_str = (char *)((void *)0); |
| 21032 |
esc_str = (char *)((void *)0); |
|
21080 |
esc_str = (char *)((void *)0); |
| 21033 |
str_len = 0; |
|
21081 |
str_len = 0; |
| 21034 |
delim_len = 0; |
|
21082 |
delim_len = 0; |
| 21035 |
enc_len = 0; |
|
21083 |
enc_len = 0; |
| 21036 |
esc_len = 0; |
|
21084 |
esc_len = 0; |
| |
|
-+ |
21085 |
{ |
| 21037 |
tmp = zend_parse_parameters(ht, "s|sss", & str, & str_len, & delim_str, |
= |
21086 |
tmp = zend_parse_parameters(ht, "s|sss", & str, & str_len, & delim_str, |
| 21038 |
& delim_len, & enc_str, & enc_len, & esc_str, |
|
21087 |
& delim_len, & enc_str, & enc_len, & esc_str, |
| 21039 |
& esc_len); |
|
21088 |
& esc_len); |
| |
|
-+ |
21089 |
if (esc_len < 0) { |
| |
|
|
21090 |
return; |
| |
|
|
21091 |
} |
| |
|
|
21092 |
if (enc_len < 0) { |
| |
|
|
21093 |
return; |
| |
|
|
21094 |
} |
| |
|
|
21095 |
if (delim_len < 0) { |
| |
|
|
21096 |
return; |
| |
|
|
21097 |
} |
| |
|
|
21098 |
if (str_len < 0) { |
| |
|
|
21099 |
return; |
| |
|
|
21100 |
} |
| |
|
|
21101 |
} |
| 21040 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
21102 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21041 |
return; |
|
21103 |
return; |
| 21042 |
} else { |
|
21104 |
} else { |
| 21043 |
|
|
21105 |
|
| 21044 |
} |
|
21106 |
} |
| 21045 |
if (delim_len) { |
|
21107 |
if (delim_len) { |
| 21046 |
delim = *(delim_str + 0); |
|
21108 |
delim = *(delim_str + 0); |
| 21047 |
} else { |
|
21109 |
} else { |
| 21048 |
delim = delim; |
|
21110 |
delim = delim; |
| 21049 |
} |
|
21111 |
} |
| 21050 |
if (enc_len) { |
|
21112 |
if (enc_len) { |
| 21051 |
enc = *(enc_str + 0); |
|
21113 |
enc = *(enc_str + 0); |
| 21052 |
} else { |
|
21114 |
} else { |
| 21053 |
enc = enc; |
|
21115 |
enc = enc; |
| 21054 |
} |
|
21116 |
} |
| 21055 |
if (esc_len) { |
|
21117 |
if (esc_len) { |
| 21056 |
esc = *(esc_str + 0); |
|
21118 |
esc = *(esc_str + 0); |
| 21057 |
} else { |
|
21119 |
} else { |
| 21058 |
esc = esc; |
|
21120 |
esc = esc; |
| 21059 |
} |
|
21121 |
} |
| 21060 |
php_fgetcsv((php_stream *)((void *)0), delim, enc, esc, (size_t )str_len, str, |
|
21122 |
php_fgetcsv((php_stream *)((void *)0), delim, enc, esc, (size_t )str_len, str, |
| 21061 |
return_value); |
|
21123 |
return_value); |
| 21062 |
return; |
|
21124 |
return; |
| 21063 |
} |
|
21125 |
} |
| 21064 |
} |
|
21126 |
} |
| 21065 |
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , |
|
21127 |
void zif_str_repeat(int ht , zval *return_value , zval **return_value_ptr , |
| 21066 |
zval *this_ptr , int return_value_used ) |
|
21128 |
zval *this_ptr , int return_value_used ) |
| 21067 |
{ |
|
21129 |
{ |
| 21068 |
char *input_str ; |
|
21130 |
char *input_str ; |
| 21069 |
int input_len ; |
|
21131 |
int input_len ; |
| 21070 |
long mult ; |
|
21132 |
long mult ; |
| 21071 |
char *result ; |
|
21133 |
char *result ; |
| 21072 |
size_t result_len ; |
|
21134 |
size_t result_len ; |
| 21073 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21135 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21074 |
zval *__z ; |
|
21136 |
zval *__z ; |
| 21075 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
21137 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 21076 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
21138 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 21077 |
char *s ; |
|
21139 |
char *s ; |
| 21078 |
char *e ; |
|
21140 |
char *e ; |
| 21079 |
char *ee ; |
|
21141 |
char *ee ; |
| 21080 |
int l ; |
|
21142 |
int l ; |
| 21081 |
char const *__s ; |
|
21143 |
char const *__s ; |
| 21082 |
int __l ; |
|
21144 |
int __l ; |
| 21083 |
zval *__z___0 ; |
|
21145 |
zval *__z___0 ; |
| 21084 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
21146 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 21085 |
|
|
21147 |
|
| 21086 |
{ |
|
21148 |
{ |
| 21087 |
tmp = zend_parse_parameters(ht, "sl", & input_str, & input_len, & mult); |
|
21149 |
tmp = zend_parse_parameters(ht, "sl", & input_str, & input_len, & mult); |
| 21088 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21150 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21089 |
return; |
|
21151 |
return; |
| 21090 |
} else { |
|
21152 |
} else { |
| 21091 |
|
|
21153 |
|
| 21092 |
} |
|
21154 |
} |
| 21093 |
if (mult < 0L) { |
|
21155 |
if (mult < 0L) { |
| 21094 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21156 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21095 |
"Second argument has to be greater than or equal to 0"); |
|
21157 |
"Second argument has to be greater than or equal to 0"); |
| 21096 |
return; |
|
21158 |
return; |
| 21097 |
} else { |
|
21159 |
} else { |
| 21098 |
|
|
21160 |
|
| 21099 |
} |
|
21161 |
} |
| 21100 |
if (input_len == 0) { |
|
21162 |
if (input_len == 0) { |
| 21101 |
goto _L; |
|
21163 |
goto _L; |
| 21102 |
} else |
|
21164 |
} else |
| 21103 |
if (mult == 0L) { |
|
21165 |
if (mult == 0L) { |
| 21104 |
_L: |
|
21166 |
_L: |
| 21105 |
while (1) { |
|
21167 |
while (1) { |
| 21106 |
__z = return_value; |
|
21168 |
__z = return_value; |
| 21107 |
__z->value.str.len = 0; |
|
21169 |
__z->value.str.len = 0; |
| 21108 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
|
21170 |
tmp___0 = _estrndup("", sizeof("") - 1U); |
| 21109 |
__z->value.str.val = (char *)tmp___0; |
|
21171 |
__z->value.str.val = (char *)tmp___0; |
| 21110 |
__z->type = (zend_uchar )6; |
|
21172 |
__z->type = (zend_uchar )6; |
| 21111 |
break; |
|
21173 |
break; |
| 21112 |
} |
|
21174 |
} |
| 21113 |
return; |
|
21175 |
return; |
| 21114 |
} else { |
|
21176 |
} else { |
| 21115 |
|
|
21177 |
|
| 21116 |
} |
|
21178 |
} |
| 21117 |
result_len = (size_t )((long )input_len * mult); |
|
21179 |
result_len = (size_t )((long )input_len * mult); |
| 21118 |
tmp___1 = _safe_emalloc((size_t )input_len, (size_t )mult, (size_t )1); |
|
21180 |
tmp___1 = _safe_emalloc((size_t )input_len, (size_t )mult, (size_t )1); |
| 21119 |
result = (char *)tmp___1; |
|
21181 |
result = (char *)tmp___1; |
| 21120 |
if (input_len == 1) { |
|
21182 |
if (input_len == 1) { |
| 21121 |
memset((void *)result, (int )*input_str, (size_t )mult); |
|
21183 |
memset((void *)result, (int )*input_str, (size_t )mult); |
| 21122 |
} else { |
|
21184 |
} else { |
| 21123 |
l = 0; |
|
21185 |
l = 0; |
| 21124 |
memcpy((void *)result, |
|
21186 |
memcpy((void *)result, |
| 21125 |
(void const *)input_str, (size_t )input_len); |
|
21187 |
(void const *)input_str, (size_t )input_len); |
| 21126 |
s = result; |
|
21188 |
s = result; |
| 21127 |
e = result + input_len; |
|
21189 |
e = result + input_len; |
| 21128 |
ee = result + result_len; |
|
21190 |
ee = result + result_len; |
| 21129 |
while ((unsigned int )e < (unsigned int )ee) { |
|
21191 |
while ((unsigned int )e < (unsigned int )ee) { |
| 21130 |
if (e - s < ee - e) { |
|
21192 |
if (e - s < ee - e) { |
| 21131 |
l = e - s; |
|
21193 |
l = e - s; |
| 21132 |
} else { |
|
21194 |
} else { |
| 21133 |
l = ee - e; |
|
21195 |
l = ee - e; |
| 21134 |
} |
|
21196 |
} |
| 21135 |
memmove((void *)e, (void const *)s, (size_t )l); |
|
21197 |
memmove((void *)e, (void const *)s, (size_t )l); |
| 21136 |
e += l; |
|
21198 |
e += l; |
| 21137 |
} |
|
21199 |
} |
| 21138 |
} |
|
21200 |
} |
| 21139 |
*(result + result_len) = (char )'\000'; |
|
21201 |
*(result + result_len) = (char )'\000'; |
| 21140 |
while (1) { |
|
21202 |
while (1) { |
| 21141 |
__s = (char const *)result; |
|
21203 |
__s = (char const *)result; |
| 21142 |
__l = (int )result_len; |
|
21204 |
__l = (int )result_len; |
| 21143 |
__z___0 = return_value; |
|
21205 |
__z___0 = return_value; |
| 21144 |
__z___0->value.str.len = __l; |
|
21206 |
__z___0->value.str.len = __l; |
| 21145 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
21207 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 21146 |
__z___0->type = (zend_uchar )6; |
|
21208 |
__z___0->type = (zend_uchar )6; |
| 21147 |
break; |
|
21209 |
break; |
| 21148 |
} |
|
21210 |
} |
| 21149 |
return; |
|
21211 |
return; |
| 21150 |
} |
|
21212 |
} |
| 21151 |
} |
|
21213 |
} |
| 21152 |
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , |
|
21214 |
void zif_count_chars(int ht , zval *return_value , zval **return_value_ptr , |
| 21153 |
zval *this_ptr , int return_value_used ) |
|
21215 |
zval *this_ptr , int return_value_used ) |
| 21154 |
{ |
|
21216 |
{ |
| 21155 |
char *input ; |
|
21217 |
char *input ; |
| 21156 |
int chars[256] ; |
|
21218 |
int chars[256] ; |
| 21157 |
long mymode ; |
|
21219 |
long mymode ; |
| 21158 |
unsigned char *buf ; |
|
21220 |
unsigned char *buf ; |
| 21159 |
int len ; |
|
21221 |
int len ; |
| 21160 |
int inx ; |
|
21222 |
int inx ; |
| 21161 |
char retstr[256] ; |
|
21223 |
char retstr[256] ; |
| 21162 |
int retlen ; |
|
21224 |
int retlen ; |
| 21163 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21225 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21164 |
zval *__z ; |
|
21226 |
zval *__z ; |
| 21165 |
int tmp___0 ; |
|
21227 |
int tmp___0 ; |
| 21166 |
int tmp___1 ; |
|
21228 |
int tmp___1 ; |
| 21167 |
char const *__s ; |
|
21229 |
char const *__s ; |
| 21168 |
int __l ; |
|
21230 |
int __l ; |
| 21169 |
zval *__z___0 ; |
|
21231 |
zval *__z___0 ; |
| 21170 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
21232 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 21171 |
|
|
21233 |
|
| 21172 |
{ |
|
21234 |
{ |
| 21173 |
mymode = 0L; |
|
21235 |
mymode = 0L; |
| 21174 |
retlen = 0; |
|
21236 |
retlen = 0; |
| 21175 |
tmp = zend_parse_parameters(ht, "s|l", & input, & len, & mymode); |
|
21237 |
tmp = zend_parse_parameters(ht, "s|l", & input, & len, & mymode); |
| 21176 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21238 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21177 |
return; |
|
21239 |
return; |
| 21178 |
} else { |
|
21240 |
} else { |
| 21179 |
|
|
21241 |
|
| 21180 |
} |
|
21242 |
} |
| 21181 |
if (mymode < 0L) { |
|
21243 |
if (mymode < 0L) { |
| 21182 |
goto _L; |
|
21244 |
goto _L; |
| 21183 |
} else |
|
21245 |
} else |
| 21184 |
if (mymode > 4L) { |
|
21246 |
if (mymode > 4L) { |
| 21185 |
_L: |
|
21247 |
_L: |
| 21186 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Unknown mode"); |
|
21248 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Unknown mode"); |
| 21187 |
while (1) { |
|
21249 |
while (1) { |
| 21188 |
__z = return_value; |
|
21250 |
__z = return_value; |
| 21189 |
__z->value.lval = 0L; |
|
21251 |
__z->value.lval = 0L; |
| 21190 |
__z->type = (zend_uchar )3; |
|
21252 |
__z->type = (zend_uchar )3; |
| 21191 |
break; |
|
21253 |
break; |
| 21192 |
} |
|
21254 |
} |
| 21193 |
return; |
|
21255 |
return; |
| 21194 |
} else { |
|
21256 |
} else { |
| 21195 |
|
|
21257 |
|
| 21196 |
} |
|
21258 |
} |
| 21197 |
buf = (unsigned char *)input; |
|
21259 |
buf = (unsigned char *)input; |
| 21198 |
memset((void *)(chars), 0, sizeof(chars)); |
|
21260 |
memset((void *)(chars), 0, sizeof(chars)); |
| 21199 |
while (len > 0) { |
|
21261 |
while (len > 0) { |
| 21200 |
(chars[*buf]) ++; |
|
21262 |
(chars[*buf]) ++; |
| 21201 |
buf ++; |
|
21263 |
buf ++; |
| 21202 |
len --; |
|
21264 |
len --; |
| 21203 |
} |
|
21265 |
} |
| 21204 |
if (mymode < 3L) { |
|
21266 |
if (mymode < 3L) { |
| 21205 |
_array_init(return_value, (uint )0); |
|
21267 |
_array_init(return_value, (uint )0); |
| 21206 |
} else { |
|
21268 |
} else { |
| 21207 |
|
|
21269 |
|
| 21208 |
} |
|
21270 |
} |
| 21209 |
inx = 0; |
|
21271 |
inx = 0; |
| 21210 |
while (inx < 256) { |
|
21272 |
while (inx < 256) { |
| 21211 |
switch (mymode) { |
|
21273 |
switch (mymode) { |
| 21212 |
case 0L: |
|
21274 |
case 0L: |
| 21213 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
|
21275 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
| 21214 |
break; |
|
21276 |
break; |
| 21215 |
case 1L: |
|
21277 |
case 1L: |
| 21216 |
if (chars[inx] != 0) { |
|
21278 |
if (chars[inx] != 0) { |
| 21217 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
|
21279 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
| 21218 |
} else { |
|
21280 |
} else { |
| 21219 |
|
|
21281 |
|
| 21220 |
} |
|
21282 |
} |
| 21221 |
break; |
|
21283 |
break; |
| 21222 |
case 2L: |
|
21284 |
case 2L: |
| 21223 |
if (chars[inx] == 0) { |
|
21285 |
if (chars[inx] == 0) { |
| 21224 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
|
21286 |
add_index_long(return_value, (ulong )inx, (long )chars[inx]); |
| 21225 |
} else { |
|
21287 |
} else { |
| 21226 |
|
|
21288 |
|
| 21227 |
} |
|
21289 |
} |
| 21228 |
break; |
|
21290 |
break; |
| 21229 |
case 3L: |
|
21291 |
case 3L: |
| 21230 |
if (chars[inx] != 0) { |
|
21292 |
if (chars[inx] != 0) { |
| 21231 |
tmp___0 = retlen; |
|
21293 |
tmp___0 = retlen; |
| 21232 |
retlen ++; |
|
21294 |
retlen ++; |
| 21233 |
retstr[tmp___0] = (char )inx; |
|
21295 |
retstr[tmp___0] = (char )inx; |
| 21234 |
} else { |
|
21296 |
} else { |
| 21235 |
|
|
21297 |
|
| 21236 |
} |
|
21298 |
} |
| 21237 |
break; |
|
21299 |
break; |
| 21238 |
case 4L: |
|
21300 |
case 4L: |
| 21239 |
if (chars[inx] == 0) { |
|
21301 |
if (chars[inx] == 0) { |
| 21240 |
tmp___1 = retlen; |
|
21302 |
tmp___1 = retlen; |
| 21241 |
retlen ++; |
|
21303 |
retlen ++; |
| 21242 |
retstr[tmp___1] = (char )inx; |
|
21304 |
retstr[tmp___1] = (char )inx; |
| 21243 |
} else { |
|
21305 |
} else { |
| 21244 |
|
|
21306 |
|
| 21245 |
} |
|
21307 |
} |
| 21246 |
break; |
|
21308 |
break; |
| 21247 |
} |
|
21309 |
} |
| 21248 |
inx ++; |
|
21310 |
inx ++; |
| 21249 |
} |
|
21311 |
} |
| 21250 |
if (mymode >= 3L) { |
|
21312 |
if (mymode >= 3L) { |
| 21251 |
if (mymode <= 4L) { |
|
21313 |
if (mymode <= 4L) { |
| 21252 |
while (1) { |
|
21314 |
while (1) { |
| 21253 |
__s = (char const *)(retstr); |
|
21315 |
__s = (char const *)(retstr); |
| 21254 |
__l = retlen; |
|
21316 |
__l = retlen; |
| 21255 |
__z___0 = return_value; |
|
21317 |
__z___0 = return_value; |
| 21256 |
__z___0->value.str.len = __l; |
|
21318 |
__z___0->value.str.len = __l; |
| 21257 |
tmp___2 = _estrndup(__s, (unsigned int )__l); |
|
21319 |
tmp___2 = _estrndup(__s, (unsigned int )__l); |
| 21258 |
__z___0->value.str.val = (char *)tmp___2; |
|
21320 |
__z___0->value.str.val = (char *)tmp___2; |
| 21259 |
__z___0->type = (zend_uchar )6; |
|
21321 |
__z___0->type = (zend_uchar )6; |
| 21260 |
break; |
|
21322 |
break; |
| 21261 |
} |
|
21323 |
} |
| 21262 |
return; |
|
21324 |
return; |
| 21263 |
} else { |
|
21325 |
} else { |
| 21264 |
|
|
21326 |
|
| 21265 |
} |
|
21327 |
} |
| 21266 |
} else { |
|
21328 |
} else { |
| 21267 |
|
|
21329 |
|
| 21268 |
} |
|
21330 |
} |
| 21269 |
return; |
|
21331 |
return; |
| 21270 |
} |
|
21332 |
} |
| 21271 |
} |
|
21333 |
} |
| 21272 |
static void php_strnatcmp(int ht , zval *return_value , |
|
21334 |
static void php_strnatcmp(int ht , zval *return_value , |
| 21273 |
zval **return_value_ptr , zval *this_ptr , |
|
21335 |
zval **return_value_ptr , zval *this_ptr , |
| 21274 |
int return_value_used , int fold_case ) |
|
21336 |
int return_value_used , int fold_case ) |
| 21275 |
{ |
|
21337 |
{ |
| 21276 |
char *s1 ; |
|
21338 |
char *s1 ; |
| 21277 |
char *s2 ; |
|
21339 |
char *s2 ; |
| 21278 |
int s1_len ; |
|
21340 |
int s1_len ; |
| 21279 |
int s2_len ; |
|
21341 |
int s2_len ; |
| 21280 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21342 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21281 |
zval *__z ; |
|
21343 |
zval *__z ; |
| 21282 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
21344 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 21283 |
|
|
21345 |
|
| 21284 |
{ |
|
21346 |
{ |
| |
|
-+ |
21347 |
{ |
| 21285 |
tmp = zend_parse_parameters(ht, "ss", & s1, & s1_len, & s2, & s2_len); |
= |
21348 |
tmp = zend_parse_parameters(ht, "ss", & s1, & s1_len, & s2, & s2_len); |
| |
|
-+ |
21349 |
if (s2_len < 0) { |
| |
|
|
21350 |
return; |
| |
|
|
21351 |
} |
| |
|
|
21352 |
if (s1_len < 0) { |
| |
|
|
21353 |
return; |
| |
|
|
21354 |
} |
| |
|
|
21355 |
} |
| 21286 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
21356 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21287 |
return; |
|
21357 |
return; |
| 21288 |
} else { |
|
21358 |
} else { |
| 21289 |
|
|
21359 |
|
| 21290 |
} |
|
21360 |
} |
| 21291 |
__z = return_value; |
|
21361 |
__z = return_value; |
| 21292 |
tmp___0 = strnatcmp_ex((char const *)s1, (size_t )s1_len, |
|
21362 |
tmp___0 = strnatcmp_ex((char const *)s1, (size_t )s1_len, |
| 21293 |
(char const *)s2, (size_t )s2_len, fold_case); |
|
21363 |
(char const *)s2, (size_t )s2_len, fold_case); |
| 21294 |
__z->value.lval = (long )tmp___0; |
|
21364 |
__z->value.lval = (long )tmp___0; |
| 21295 |
__z->type = (zend_uchar )1; |
|
21365 |
__z->type = (zend_uchar )1; |
| 21296 |
return; |
|
21366 |
return; |
| 21297 |
} |
|
21367 |
} |
| 21298 |
} |
|
21368 |
} |
| 21299 |
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , |
|
21369 |
void zif_strnatcmp(int ht , zval *return_value , zval **return_value_ptr , |
| 21300 |
zval *this_ptr , int return_value_used ) |
|
21370 |
zval *this_ptr , int return_value_used ) |
| 21301 |
{ |
|
21371 |
{ |
| 21302 |
|
|
21372 |
|
| 21303 |
|
|
21373 |
|
| 21304 |
{ |
|
21374 |
{ |
| 21305 |
php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, |
|
21375 |
php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, |
| 21306 |
0); |
|
21376 |
0); |
| 21307 |
return; |
|
21377 |
return; |
| 21308 |
} |
|
21378 |
} |
| 21309 |
} |
|
21379 |
} |
| 21310 |
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , |
|
21380 |
void zif_localeconv(int ht , zval *return_value , zval **return_value_ptr , |
| 21311 |
zval *this_ptr , int return_value_used ) |
|
21381 |
zval *this_ptr , int return_value_used ) |
| 21312 |
{ |
|
21382 |
{ |
| 21313 |
zval *grouping ; |
|
21383 |
zval *grouping ; |
| 21314 |
zval *mon_grouping ; |
|
21384 |
zval *mon_grouping ; |
| 21315 |
int len ; |
|
21385 |
int len ; |
| 21316 |
int i ; |
|
21386 |
int i ; |
| 21317 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21387 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21318 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
|
21388 |
void __attribute__((__visibility__("default"))) *tmp___0 ; |
| 21319 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
21389 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 21320 |
struct lconv currlocdata ; |
|
21390 |
struct lconv currlocdata ; |
| 21321 |
size_t tmp___2 ; |
|
21391 |
size_t tmp___2 ; |
| 21322 |
size_t tmp___3 ; |
|
21392 |
size_t tmp___3 ; |
| 21323 |
size_t tmp___4 ; |
|
21393 |
size_t tmp___4 ; |
| 21324 |
size_t tmp___5 ; |
|
21394 |
size_t tmp___5 ; |
| 21325 |
size_t tmp___6 ; |
|
21395 |
size_t tmp___6 ; |
| 21326 |
size_t tmp___7 ; |
|
21396 |
size_t tmp___7 ; |
| 21327 |
size_t tmp___8 ; |
|
21397 |
size_t tmp___8 ; |
| 21328 |
size_t tmp___9 ; |
|
21398 |
size_t tmp___9 ; |
| 21329 |
size_t tmp___10 ; |
|
21399 |
size_t tmp___10 ; |
| 21330 |
size_t tmp___11 ; |
|
21400 |
size_t tmp___11 ; |
| 21331 |
size_t tmp___12 ; |
|
21401 |
size_t tmp___12 ; |
| 21332 |
size_t tmp___13 ; |
|
21402 |
size_t tmp___13 ; |
| 21333 |
size_t tmp___14 ; |
|
21403 |
size_t tmp___14 ; |
| 21334 |
size_t tmp___15 ; |
|
21404 |
size_t tmp___15 ; |
| 21335 |
size_t tmp___16 ; |
|
21405 |
size_t tmp___16 ; |
| 21336 |
size_t tmp___17 ; |
|
21406 |
size_t tmp___17 ; |
| 21337 |
size_t tmp___18 ; |
|
21407 |
size_t tmp___18 ; |
| 21338 |
size_t tmp___19 ; |
|
21408 |
size_t tmp___19 ; |
| 21339 |
|
|
21409 |
|
| 21340 |
{ |
|
21410 |
{ |
| 21341 |
tmp = zend_parse_parameters(ht, ""); |
|
21411 |
tmp = zend_parse_parameters(ht, ""); |
| 21342 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21412 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21343 |
return; |
|
21413 |
return; |
| 21344 |
} else { |
|
21414 |
} else { |
| 21345 |
|
|
21415 |
|
| 21346 |
} |
|
21416 |
} |
| 21347 |
while (1) { |
|
21417 |
while (1) { |
| 21348 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
|
21418 |
tmp___0 = _emalloc(sizeof(zval_gc_info )); |
| 21349 |
grouping = (zval *)tmp___0; |
|
21419 |
grouping = (zval *)tmp___0; |
| 21350 |
((zval_gc_info *)grouping)->u.buffered = (gc_root_buffer *)((void *)0); |
|
21420 |
((zval_gc_info *)grouping)->u.buffered = (gc_root_buffer *)((void *)0); |
| 21351 |
break; |
|
21421 |
break; |
| 21352 |
} |
|
21422 |
} |
| 21353 |
grouping->refcount__gc = (zend_uint )1; |
|
21423 |
grouping->refcount__gc = (zend_uint )1; |
| 21354 |
grouping->is_ref__gc = (zend_uchar )0; |
|
21424 |
grouping->is_ref__gc = (zend_uchar )0; |
| 21355 |
while (1) { |
|
21425 |
while (1) { |
| 21356 |
tmp___1 = _emalloc(sizeof(zval_gc_info )); |
|
21426 |
tmp___1 = _emalloc(sizeof(zval_gc_info )); |
| 21357 |
mon_grouping = (zval *)tmp___1; |
|
21427 |
mon_grouping = (zval *)tmp___1; |
| 21358 |
((zval_gc_info *)mon_grouping)->u.buffered = (gc_root_buffer *)((void *)0); |
|
21428 |
((zval_gc_info *)mon_grouping)->u.buffered = (gc_root_buffer *)((void *)0); |
| 21359 |
break; |
|
21429 |
break; |
| 21360 |
} |
|
21430 |
} |
| 21361 |
mon_grouping->refcount__gc = (zend_uint )1; |
|
21431 |
mon_grouping->refcount__gc = (zend_uint )1; |
| 21362 |
mon_grouping->is_ref__gc = (zend_uchar )0; |
|
21432 |
mon_grouping->is_ref__gc = (zend_uchar )0; |
| 21363 |
_array_init(return_value, (uint )0); |
|
21433 |
_array_init(return_value, (uint )0); |
| 21364 |
_array_init(grouping, (uint )0); |
|
21434 |
_array_init(grouping, (uint )0); |
| 21365 |
_array_init(mon_grouping, (uint )0); |
|
21435 |
_array_init(mon_grouping, (uint )0); |
| 21366 |
localeconv_r(& currlocdata); |
|
21436 |
localeconv_r(& currlocdata); |
| 21367 |
tmp___2 = strlen((char const *)currlocdata.grouping); |
|
21437 |
tmp___2 = strlen((char const *)currlocdata.grouping); |
| 21368 |
len = (int )tmp___2; |
|
21438 |
len = (int )tmp___2; |
| 21369 |
i = 0; |
|
21439 |
i = 0; |
| 21370 |
while (i < len) { |
|
21440 |
while (i < len) { |
| 21371 |
add_index_long(grouping, (ulong )i, (long )*(currlocdata.grouping + i)); |
|
21441 |
add_index_long(grouping, (ulong )i, (long )*(currlocdata.grouping + i)); |
| 21372 |
i ++; |
|
21442 |
i ++; |
| 21373 |
} |
|
21443 |
} |
| 21374 |
tmp___3 = strlen((char const *)currlocdata.mon_grouping); |
|
21444 |
tmp___3 = strlen((char const *)currlocdata.mon_grouping); |
| 21375 |
len = (int )tmp___3; |
|
21445 |
len = (int )tmp___3; |
| 21376 |
i = 0; |
|
21446 |
i = 0; |
| 21377 |
while (i < len) { |
|
21447 |
while (i < len) { |
| 21378 |
add_index_long(mon_grouping, (ulong )i, |
|
21448 |
add_index_long(mon_grouping, (ulong )i, |
| 21379 |
(long )*(currlocdata.mon_grouping + i)); |
|
21449 |
(long )*(currlocdata.mon_grouping + i)); |
| 21380 |
i ++; |
|
21450 |
i ++; |
| 21381 |
} |
|
21451 |
} |
| 21382 |
tmp___4 = strlen("decimal_point"); |
|
21452 |
tmp___4 = strlen("decimal_point"); |
| 21383 |
add_assoc_string_ex(return_value, "decimal_point", tmp___4 + 1U, |
|
21453 |
add_assoc_string_ex(return_value, "decimal_point", tmp___4 + 1U, |
| 21384 |
currlocdata.decimal_point, 1); |
|
21454 |
currlocdata.decimal_point, 1); |
| 21385 |
tmp___5 = strlen("thousands_sep"); |
|
21455 |
tmp___5 = strlen("thousands_sep"); |
| 21386 |
add_assoc_string_ex(return_value, "thousands_sep", tmp___5 + 1U, |
|
21456 |
add_assoc_string_ex(return_value, "thousands_sep", tmp___5 + 1U, |
| 21387 |
currlocdata.thousands_sep, 1); |
|
21457 |
currlocdata.thousands_sep, 1); |
| 21388 |
tmp___6 = strlen("int_curr_symbol"); |
|
21458 |
tmp___6 = strlen("int_curr_symbol"); |
| 21389 |
add_assoc_string_ex(return_value, "int_curr_symbol", tmp___6 + 1U, |
|
21459 |
add_assoc_string_ex(return_value, "int_curr_symbol", tmp___6 + 1U, |
| 21390 |
currlocdata.int_curr_symbol, 1); |
|
21460 |
currlocdata.int_curr_symbol, 1); |
| 21391 |
tmp___7 = strlen("currency_symbol"); |
|
21461 |
tmp___7 = strlen("currency_symbol"); |
| 21392 |
add_assoc_string_ex(return_value, "currency_symbol", tmp___7 + 1U, |
|
21462 |
add_assoc_string_ex(return_value, "currency_symbol", tmp___7 + 1U, |
| 21393 |
currlocdata.currency_symbol, 1); |
|
21463 |
currlocdata.currency_symbol, 1); |
| 21394 |
tmp___8 = strlen("mon_decimal_point"); |
|
21464 |
tmp___8 = strlen("mon_decimal_point"); |
| 21395 |
add_assoc_string_ex(return_value, "mon_decimal_point", tmp___8 + 1U, |
|
21465 |
add_assoc_string_ex(return_value, "mon_decimal_point", tmp___8 + 1U, |
| 21396 |
currlocdata.mon_decimal_point, 1); |
|
21466 |
currlocdata.mon_decimal_point, 1); |
| 21397 |
tmp___9 = strlen("mon_thousands_sep"); |
|
21467 |
tmp___9 = strlen("mon_thousands_sep"); |
| 21398 |
add_assoc_string_ex(return_value, "mon_thousands_sep", tmp___9 + 1U, |
|
21468 |
add_assoc_string_ex(return_value, "mon_thousands_sep", tmp___9 + 1U, |
| 21399 |
currlocdata.mon_thousands_sep, 1); |
|
21469 |
currlocdata.mon_thousands_sep, 1); |
| 21400 |
tmp___10 = strlen("positive_sign"); |
|
21470 |
tmp___10 = strlen("positive_sign"); |
| 21401 |
add_assoc_string_ex(return_value, "positive_sign", tmp___10 + 1U, |
|
21471 |
add_assoc_string_ex(return_value, "positive_sign", tmp___10 + 1U, |
| 21402 |
currlocdata.positive_sign, 1); |
|
21472 |
currlocdata.positive_sign, 1); |
| 21403 |
tmp___11 = strlen("negative_sign"); |
|
21473 |
tmp___11 = strlen("negative_sign"); |
| 21404 |
add_assoc_string_ex(return_value, "negative_sign", tmp___11 + 1U, |
|
21474 |
add_assoc_string_ex(return_value, "negative_sign", tmp___11 + 1U, |
| 21405 |
currlocdata.negative_sign, 1); |
|
21475 |
currlocdata.negative_sign, 1); |
| 21406 |
tmp___12 = strlen("int_frac_digits"); |
|
21476 |
tmp___12 = strlen("int_frac_digits"); |
| 21407 |
add_assoc_long_ex(return_value, "int_frac_digits", tmp___12 + 1U, |
|
21477 |
add_assoc_long_ex(return_value, "int_frac_digits", tmp___12 + 1U, |
| 21408 |
(long )currlocdata.int_frac_digits); |
|
21478 |
(long )currlocdata.int_frac_digits); |
| 21409 |
tmp___13 = strlen("frac_digits"); |
|
21479 |
tmp___13 = strlen("frac_digits"); |
| 21410 |
add_assoc_long_ex(return_value, "frac_digits", tmp___13 + 1U, |
|
21480 |
add_assoc_long_ex(return_value, "frac_digits", tmp___13 + 1U, |
| 21411 |
(long )currlocdata.frac_digits); |
|
21481 |
(long )currlocdata.frac_digits); |
| 21412 |
tmp___14 = strlen("p_cs_precedes"); |
|
21482 |
tmp___14 = strlen("p_cs_precedes"); |
| 21413 |
add_assoc_long_ex(return_value, "p_cs_precedes", tmp___14 + 1U, |
|
21483 |
add_assoc_long_ex(return_value, "p_cs_precedes", tmp___14 + 1U, |
| 21414 |
(long )currlocdata.p_cs_precedes); |
|
21484 |
(long )currlocdata.p_cs_precedes); |
| 21415 |
tmp___15 = strlen("p_sep_by_space"); |
|
21485 |
tmp___15 = strlen("p_sep_by_space"); |
| 21416 |
add_assoc_long_ex(return_value, "p_sep_by_space", tmp___15 + 1U, |
|
21486 |
add_assoc_long_ex(return_value, "p_sep_by_space", tmp___15 + 1U, |
| 21417 |
(long )currlocdata.p_sep_by_space); |
|
21487 |
(long )currlocdata.p_sep_by_space); |
| 21418 |
tmp___16 = strlen("n_cs_precedes"); |
|
21488 |
tmp___16 = strlen("n_cs_precedes"); |
| 21419 |
add_assoc_long_ex(return_value, "n_cs_precedes", tmp___16 + 1U, |
|
21489 |
add_assoc_long_ex(return_value, "n_cs_precedes", tmp___16 + 1U, |
| 21420 |
(long )currlocdata.n_cs_precedes); |
|
21490 |
(long )currlocdata.n_cs_precedes); |
| 21421 |
tmp___17 = strlen("n_sep_by_space"); |
|
21491 |
tmp___17 = strlen("n_sep_by_space"); |
| 21422 |
add_assoc_long_ex(return_value, "n_sep_by_space", tmp___17 + 1U, |
|
21492 |
add_assoc_long_ex(return_value, "n_sep_by_space", tmp___17 + 1U, |
| 21423 |
(long )currlocdata.n_sep_by_space); |
|
21493 |
(long )currlocdata.n_sep_by_space); |
| 21424 |
tmp___18 = strlen("p_sign_posn"); |
|
21494 |
tmp___18 = strlen("p_sign_posn"); |
| 21425 |
add_assoc_long_ex(return_value, "p_sign_posn", tmp___18 + 1U, |
|
21495 |
add_assoc_long_ex(return_value, "p_sign_posn", tmp___18 + 1U, |
| 21426 |
(long )currlocdata.p_sign_posn); |
|
21496 |
(long )currlocdata.p_sign_posn); |
| 21427 |
tmp___19 = strlen("n_sign_posn"); |
|
21497 |
tmp___19 = strlen("n_sign_posn"); |
| 21428 |
add_assoc_long_ex(return_value, "n_sign_posn", tmp___19 + 1U, |
|
21498 |
add_assoc_long_ex(return_value, "n_sign_posn", tmp___19 + 1U, |
| 21429 |
(long )currlocdata.n_sign_posn); |
|
21499 |
(long )currlocdata.n_sign_posn); |
| 21430 |
_zend_hash_add_or_update(return_value->value.ht, "grouping", (uint )9, |
|
21500 |
_zend_hash_add_or_update(return_value->value.ht, "grouping", (uint )9, |
| 21431 |
(void *)(& grouping), sizeof(zval *), |
|
21501 |
(void *)(& grouping), sizeof(zval *), |
| 21432 |
(void **)((void *)0), 1); |
|
21502 |
(void **)((void *)0), 1); |
| 21433 |
_zend_hash_add_or_update(return_value->value.ht, "mon_grouping", (uint )13, |
|
21503 |
_zend_hash_add_or_update(return_value->value.ht, "mon_grouping", (uint )13, |
| 21434 |
(void *)(& mon_grouping), sizeof(zval *), |
|
21504 |
(void *)(& mon_grouping), sizeof(zval *), |
| 21435 |
(void **)((void *)0), 1); |
|
21505 |
(void **)((void *)0), 1); |
| 21436 |
return; |
|
21506 |
return; |
| 21437 |
} |
|
21507 |
} |
| 21438 |
} |
|
21508 |
} |
| 21439 |
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , |
|
21509 |
void zif_strnatcasecmp(int ht , zval *return_value , zval **return_value_ptr , |
| 21440 |
zval *this_ptr , int return_value_used ) |
|
21510 |
zval *this_ptr , int return_value_used ) |
| 21441 |
{ |
|
21511 |
{ |
| 21442 |
|
|
21512 |
|
| 21443 |
|
|
21513 |
|
| 21444 |
{ |
|
21514 |
{ |
| 21445 |
php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, |
|
21515 |
php_strnatcmp(ht, return_value, return_value_ptr, this_ptr, return_value_used, |
| 21446 |
1); |
|
21516 |
1); |
| 21447 |
return; |
|
21517 |
return; |
| 21448 |
} |
|
21518 |
} |
| 21449 |
} |
|
21519 |
} |
| 21450 |
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , |
|
21520 |
void zif_substr_count(int ht , zval *return_value , zval **return_value_ptr , |
| 21451 |
zval *this_ptr , int return_value_used ) |
|
21521 |
zval *this_ptr , int return_value_used ) |
| 21452 |
{ |
|
21522 |
{ |
| 21453 |
char *haystack ; |
|
21523 |
char *haystack ; |
| 21454 |
char *needle ; |
|
21524 |
char *needle ; |
| 21455 |
long offset ; |
|
21525 |
long offset ; |
| 21456 |
long length ; |
|
21526 |
long length ; |
| 21457 |
int ac ; |
|
21527 |
int ac ; |
| 21458 |
int count ; |
|
21528 |
int count ; |
| 21459 |
int haystack_len ; |
|
21529 |
int haystack_len ; |
| 21460 |
int needle_len ; |
|
21530 |
int needle_len ; |
| 21461 |
char *p ; |
|
21531 |
char *p ; |
| 21462 |
char *endp ; |
|
21532 |
char *endp ; |
| 21463 |
char cmp ; |
|
21533 |
char cmp ; |
| 21464 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21534 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21465 |
zval *__z ; |
|
21535 |
zval *__z ; |
| 21466 |
zval *__z___0 ; |
|
21536 |
zval *__z___0 ; |
| 21467 |
zval *__z___1 ; |
|
21537 |
zval *__z___1 ; |
| 21468 |
zval *__z___2 ; |
|
21538 |
zval *__z___2 ; |
| 21469 |
zval *__z___3 ; |
|
21539 |
zval *__z___3 ; |
| 21470 |
void *tmp___0 ; |
|
21540 |
void *tmp___0 ; |
| 21471 |
zval *__z___4 ; |
|
21541 |
zval *__z___4 ; |
| 21472 |
|
|
21542 |
|
| 21473 |
{ |
|
21543 |
{ |
| 21474 |
offset = 0L; |
|
21544 |
offset = 0L; |
| 21475 |
length = 0L; |
|
21545 |
length = 0L; |
| 21476 |
ac = ht; |
|
21546 |
ac = ht; |
| 21477 |
count = 0; |
|
21547 |
count = 0; |
| 21478 |
tmp = zend_parse_parameters(ht, "ss|ll", & haystack, & haystack_len, & needle, |
|
21548 |
tmp = zend_parse_parameters(ht, "ss|ll", & haystack, & haystack_len, & needle, |
| 21479 |
& needle_len, & offset, & length); |
|
21549 |
& needle_len, & offset, & length); |
| 21480 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21550 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21481 |
return; |
|
21551 |
return; |
| 21482 |
} else { |
|
21552 |
} else { |
| 21483 |
|
|
21553 |
|
| 21484 |
} |
|
21554 |
} |
| 21485 |
if (needle_len == 0) { |
|
21555 |
if (needle_len == 0) { |
| 21486 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty substring"); |
|
21556 |
php_error_docref0((char const *)((void *)0), 1 << 1L, "Empty substring"); |
| 21487 |
while (1) { |
|
21557 |
while (1) { |
| 21488 |
__z = return_value; |
|
21558 |
__z = return_value; |
| 21489 |
__z->value.lval = 0L; |
|
21559 |
__z->value.lval = 0L; |
| 21490 |
__z->type = (zend_uchar )3; |
|
21560 |
__z->type = (zend_uchar )3; |
| 21491 |
break; |
|
21561 |
break; |
| 21492 |
} |
|
21562 |
} |
| 21493 |
return; |
|
21563 |
return; |
| 21494 |
} else { |
|
21564 |
} else { |
| 21495 |
|
|
21565 |
|
| 21496 |
} |
|
21566 |
} |
| 21497 |
p = haystack; |
|
21567 |
p = haystack; |
| 21498 |
endp = p + haystack_len; |
|
21568 |
endp = p + haystack_len; |
| 21499 |
if (offset < 0L) { |
|
21569 |
if (offset < 0L) { |
| 21500 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21570 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21501 |
"Offset should be greater than or equal to 0"); |
|
21571 |
"Offset should be greater than or equal to 0"); |
| 21502 |
while (1) { |
|
21572 |
while (1) { |
| 21503 |
__z___0 = return_value; |
|
21573 |
__z___0 = return_value; |
| 21504 |
__z___0->value.lval = 0L; |
|
21574 |
__z___0->value.lval = 0L; |
| 21505 |
__z___0->type = (zend_uchar )3; |
|
21575 |
__z___0->type = (zend_uchar )3; |
| 21506 |
break; |
|
21576 |
break; |
| 21507 |
} |
|
21577 |
} |
| 21508 |
return; |
|
21578 |
return; |
| 21509 |
} else { |
|
21579 |
} else { |
| 21510 |
|
|
21580 |
|
| 21511 |
} |
|
21581 |
} |
| 21512 |
if (offset > (long )haystack_len) { |
|
21582 |
if (offset > (long )haystack_len) { |
| 21513 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21583 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21514 |
"Offset value %ld exceeds string length", offset); |
|
21584 |
"Offset value %ld exceeds string length", offset); |
| 21515 |
while (1) { |
|
21585 |
while (1) { |
| 21516 |
__z___1 = return_value; |
|
21586 |
__z___1 = return_value; |
| 21517 |
__z___1->value.lval = 0L; |
|
21587 |
__z___1->value.lval = 0L; |
| 21518 |
__z___1->type = (zend_uchar )3; |
|
21588 |
__z___1->type = (zend_uchar )3; |
| 21519 |
break; |
|
21589 |
break; |
| 21520 |
} |
|
21590 |
} |
| 21521 |
return; |
|
21591 |
return; |
| 21522 |
} else { |
|
21592 |
} else { |
| 21523 |
|
|
21593 |
|
| 21524 |
} |
|
21594 |
} |
| 21525 |
p += offset; |
|
21595 |
p += offset; |
| 21526 |
if (ac == 4) { |
|
21596 |
if (ac == 4) { |
| 21527 |
if (length <= 0L) { |
|
21597 |
if (length <= 0L) { |
| 21528 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21598 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21529 |
"Length should be greater than 0"); |
|
21599 |
"Length should be greater than 0"); |
| 21530 |
while (1) { |
|
21600 |
while (1) { |
| 21531 |
__z___2 = return_value; |
|
21601 |
__z___2 = return_value; |
| 21532 |
__z___2->value.lval = 0L; |
|
21602 |
__z___2->value.lval = 0L; |
| 21533 |
__z___2->type = (zend_uchar )3; |
|
21603 |
__z___2->type = (zend_uchar )3; |
| 21534 |
break; |
|
21604 |
break; |
| 21535 |
} |
|
21605 |
} |
| 21536 |
return; |
|
21606 |
return; |
| 21537 |
} else { |
|
21607 |
} else { |
| 21538 |
|
|
21608 |
|
| 21539 |
} |
|
21609 |
} |
| 21540 |
if (length > (long )haystack_len - offset) { |
|
21610 |
if (length > (long )haystack_len - offset) { |
| 21541 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21611 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21542 |
"Length value %ld exceeds string length", length); |
|
21612 |
"Length value %ld exceeds string length", length); |
| 21543 |
while (1) { |
|
21613 |
while (1) { |
| 21544 |
__z___3 = return_value; |
|
21614 |
__z___3 = return_value; |
| 21545 |
__z___3->value.lval = 0L; |
|
21615 |
__z___3->value.lval = 0L; |
| 21546 |
__z___3->type = (zend_uchar )3; |
|
21616 |
__z___3->type = (zend_uchar )3; |
| 21547 |
break; |
|
21617 |
break; |
| 21548 |
} |
|
21618 |
} |
| 21549 |
return; |
|
21619 |
return; |
| 21550 |
} else { |
|
21620 |
} else { |
| 21551 |
|
|
21621 |
|
| 21552 |
} |
|
21622 |
} |
| 21553 |
endp = p + length; |
|
21623 |
endp = p + length; |
| 21554 |
} else { |
|
21624 |
} else { |
| 21555 |
|
|
21625 |
|
| 21556 |
} |
|
21626 |
} |
| 21557 |
if (needle_len == 1) { |
|
21627 |
if (needle_len == 1) { |
| 21558 |
cmp = *(needle + 0); |
|
21628 |
cmp = *(needle + 0); |
| 21559 |
while (1) { |
|
21629 |
while (1) { |
| 21560 |
tmp___0 = memchr((void const *)p, (int )cmp, (size_t )(endp - p)); |
|
21630 |
tmp___0 = memchr((void const *)p, (int )cmp, (size_t )(endp - p)); |
| 21561 |
p = (char *)tmp___0; |
|
21631 |
p = (char *)tmp___0; |
| 21562 |
if (p) { |
|
21632 |
if (p) { |
| 21563 |
|
|
21633 |
|
| 21564 |
} else { |
|
21634 |
} else { |
| 21565 |
break; |
|
21635 |
break; |
| 21566 |
} |
|
21636 |
} |
| 21567 |
count ++; |
|
21637 |
count ++; |
| 21568 |
p ++; |
|
21638 |
p ++; |
| 21569 |
} |
|
21639 |
} |
| 21570 |
} else { |
|
21640 |
} else { |
| 21571 |
while (1) { |
|
21641 |
while (1) { |
| 21572 |
p = zend_memnstr(p, needle, needle_len, endp); |
|
21642 |
p = zend_memnstr(p, needle, needle_len, endp); |
| 21573 |
if (p) { |
|
21643 |
if (p) { |
| 21574 |
|
|
21644 |
|
| 21575 |
} else { |
|
21645 |
} else { |
| 21576 |
break; |
|
21646 |
break; |
| 21577 |
} |
|
21647 |
} |
| 21578 |
p += needle_len; |
|
21648 |
p += needle_len; |
| 21579 |
count ++; |
|
21649 |
count ++; |
| 21580 |
} |
|
21650 |
} |
| 21581 |
} |
|
21651 |
} |
| 21582 |
__z___4 = return_value; |
|
21652 |
__z___4 = return_value; |
| 21583 |
__z___4->value.lval = (long )count; |
|
21653 |
__z___4->value.lval = (long )count; |
| 21584 |
__z___4->type = (zend_uchar )1; |
|
21654 |
__z___4->type = (zend_uchar )1; |
| 21585 |
return; |
|
21655 |
return; |
| 21586 |
} |
|
21656 |
} |
| 21587 |
} |
|
21657 |
} |
| 21588 |
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , |
|
21658 |
void zif_str_pad(int ht , zval *return_value , zval **return_value_ptr , |
| 21589 |
zval *this_ptr , int return_value_used ) |
|
21659 |
zval *this_ptr , int return_value_used ) |
| 21590 |
{ |
|
21660 |
{ |
| 21591 |
char *input ; |
|
21661 |
char *input ; |
| 21592 |
int input_len ; |
|
21662 |
int input_len ; |
| 21593 |
long pad_length ; |
|
21663 |
long pad_length ; |
| 21594 |
size_t num_pad_chars ; |
|
21664 |
size_t num_pad_chars ; |
| 21595 |
char *result ; |
|
21665 |
char *result ; |
| 21596 |
int result_len ; |
|
21666 |
int result_len ; |
| 21597 |
char *pad_str_val ; |
|
21667 |
char *pad_str_val ; |
| 21598 |
int pad_str_len ; |
|
21668 |
int pad_str_len ; |
| 21599 |
long pad_type_val ; |
|
21669 |
long pad_type_val ; |
| 21600 |
int i ; |
|
21670 |
int i ; |
| 21601 |
int left_pad ; |
|
21671 |
int left_pad ; |
| 21602 |
int right_pad ; |
|
21672 |
int right_pad ; |
| 21603 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21673 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21604 |
char const *__s ; |
|
21674 |
char const *__s ; |
| 21605 |
int __l ; |
|
21675 |
int __l ; |
| 21606 |
zval *__z ; |
|
21676 |
zval *__z ; |
| 21607 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
21677 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 21608 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
21678 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 21609 |
int tmp___2 ; |
|
21679 |
int tmp___2 ; |
| 21610 |
int tmp___3 ; |
|
21680 |
int tmp___3 ; |
| 21611 |
char const *__s___0 ; |
|
21681 |
char const *__s___0 ; |
| 21612 |
int __l___0 ; |
|
21682 |
int __l___0 ; |
| 21613 |
zval *__z___0 ; |
|
21683 |
zval *__z___0 ; |
| 21614 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
|
21684 |
char __attribute__((__visibility__("default"))) *tmp___4 ; |
| 21615 |
|
|
21685 |
|
| 21616 |
{ |
|
21686 |
{ |
| 21617 |
result = (char *)((void *)0); |
|
21687 |
result = (char *)((void *)0); |
| 21618 |
result_len = 0; |
|
21688 |
result_len = 0; |
| 21619 |
pad_str_val = (char *)" "; |
|
21689 |
pad_str_val = (char *)" "; |
| 21620 |
pad_str_len = 1; |
|
21690 |
pad_str_len = 1; |
| 21621 |
pad_type_val = 1L; |
|
21691 |
pad_type_val = 1L; |
| 21622 |
left_pad = 0; |
|
21692 |
left_pad = 0; |
| 21623 |
right_pad = 0; |
|
21693 |
right_pad = 0; |
| 21624 |
tmp = zend_parse_parameters(ht, "sl|sl", & input, & input_len, & pad_length, |
|
21694 |
tmp = zend_parse_parameters(ht, "sl|sl", & input, & input_len, & pad_length, |
| 21625 |
& pad_str_val, & pad_str_len, & pad_type_val); |
|
21695 |
& pad_str_val, & pad_str_len, & pad_type_val); |
| 21626 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21696 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21627 |
return; |
|
21697 |
return; |
| 21628 |
} else { |
|
21698 |
} else { |
| 21629 |
|
|
21699 |
|
| 21630 |
} |
|
21700 |
} |
| 21631 |
if (pad_length <= 0L) { |
|
21701 |
if (pad_length <= 0L) { |
| 21632 |
goto _L; |
|
21702 |
goto _L; |
| 21633 |
} else |
|
21703 |
} else |
| 21634 |
if (pad_length - (long )input_len <= 0L) { |
|
21704 |
if (pad_length - (long )input_len <= 0L) { |
| 21635 |
_L: |
|
21705 |
_L: |
| 21636 |
while (1) { |
|
21706 |
while (1) { |
| 21637 |
__s = (char const *)input; |
|
21707 |
__s = (char const *)input; |
| 21638 |
__l = input_len; |
|
21708 |
__l = input_len; |
| 21639 |
__z = return_value; |
|
21709 |
__z = return_value; |
| 21640 |
__z->value.str.len = __l; |
|
21710 |
__z->value.str.len = __l; |
| 21641 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
21711 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 21642 |
__z->value.str.val = (char *)tmp___0; |
|
21712 |
__z->value.str.val = (char *)tmp___0; |
| 21643 |
__z->type = (zend_uchar )6; |
|
21713 |
__z->type = (zend_uchar )6; |
| 21644 |
break; |
|
21714 |
break; |
| 21645 |
} |
|
21715 |
} |
| 21646 |
return; |
|
21716 |
return; |
| 21647 |
} else { |
|
21717 |
} else { |
| 21648 |
|
|
21718 |
|
| 21649 |
} |
|
21719 |
} |
| 21650 |
if (pad_str_len == 0) { |
|
21720 |
if (pad_str_len == 0) { |
| 21651 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21721 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21652 |
"Padding string cannot be empty"); |
|
21722 |
"Padding string cannot be empty"); |
| 21653 |
return; |
|
21723 |
return; |
| 21654 |
} else { |
|
21724 |
} else { |
| 21655 |
|
|
21725 |
|
| 21656 |
} |
|
21726 |
} |
| 21657 |
if (pad_type_val < 0L) { |
|
21727 |
if (pad_type_val < 0L) { |
| 21658 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21728 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21659 |
"Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH"); |
|
21729 |
"Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH"); |
| 21660 |
return; |
|
21730 |
return; |
| 21661 |
} else |
|
21731 |
} else |
| 21662 |
if (pad_type_val > 2L) { |
|
21732 |
if (pad_type_val > 2L) { |
| 21663 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21733 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21664 |
"Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH"); |
|
21734 |
"Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH"); |
| 21665 |
return; |
|
21735 |
return; |
| 21666 |
} else { |
|
21736 |
} else { |
| 21667 |
|
|
21737 |
|
| 21668 |
} |
|
21738 |
} |
| 21669 |
num_pad_chars = (size_t )(pad_length - (long )input_len); |
|
21739 |
num_pad_chars = (size_t )(pad_length - (long )input_len); |
| 21670 |
if (num_pad_chars >= 2147483647U) { |
|
21740 |
if (num_pad_chars >= 2147483647U) { |
| 21671 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
21741 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21672 |
"Padding length is too long"); |
|
21742 |
"Padding length is too long"); |
| 21673 |
return; |
|
21743 |
return; |
| 21674 |
} else { |
|
21744 |
} else { |
| 21675 |
|
|
21745 |
|
| 21676 |
} |
|
21746 |
} |
| 21677 |
tmp___1 = _emalloc(((size_t )input_len + num_pad_chars) + 1U); |
|
21747 |
tmp___1 = _emalloc(((size_t )input_len + num_pad_chars) + 1U); |
| 21678 |
result = (char *)tmp___1; |
|
21748 |
result = (char *)tmp___1; |
| 21679 |
switch (pad_type_val) { |
|
21749 |
switch (pad_type_val) { |
| 21680 |
case 1L: |
|
21750 |
case 1L: |
| 21681 |
left_pad = 0; |
|
21751 |
left_pad = 0; |
| 21682 |
right_pad = (int )num_pad_chars; |
|
21752 |
right_pad = (int )num_pad_chars; |
| 21683 |
break; |
|
21753 |
break; |
| 21684 |
case 0L: |
|
21754 |
case 0L: |
| 21685 |
left_pad = (int )num_pad_chars; |
|
21755 |
left_pad = (int )num_pad_chars; |
| 21686 |
right_pad = 0; |
|
21756 |
right_pad = 0; |
| 21687 |
break; |
|
21757 |
break; |
| 21688 |
case 2L: |
|
21758 |
case 2L: |
| 21689 |
left_pad = (int )(num_pad_chars / 2U); |
|
21759 |
left_pad = (int )(num_pad_chars / 2U); |
| 21690 |
right_pad = (int )(num_pad_chars - (size_t )left_pad); |
|
21760 |
right_pad = (int )(num_pad_chars - (size_t )left_pad); |
| 21691 |
break; |
|
21761 |
break; |
| 21692 |
} |
|
21762 |
} |
| 21693 |
i = 0; |
|
21763 |
i = 0; |
| 21694 |
while (i < left_pad) { |
|
21764 |
while (i < left_pad) { |
| 21695 |
tmp___2 = result_len; |
|
21765 |
tmp___2 = result_len; |
| 21696 |
result_len ++; |
|
21766 |
result_len ++; |
| 21697 |
*(result + tmp___2) = *(pad_str_val + i % pad_str_len); |
|
21767 |
*(result + tmp___2) = *(pad_str_val + i % pad_str_len); |
| 21698 |
i ++; |
|
21768 |
i ++; |
| 21699 |
} |
|
21769 |
} |
| 21700 |
memcpy((void *)(result + result_len), |
|
21770 |
memcpy((void *)(result + result_len), |
| 21701 |
(void const *)input, (size_t )input_len); |
|
21771 |
(void const *)input, (size_t )input_len); |
| 21702 |
result_len += input_len; |
|
21772 |
result_len += input_len; |
| 21703 |
i = 0; |
|
21773 |
i = 0; |
| 21704 |
while (i < right_pad) { |
|
21774 |
while (i < right_pad) { |
| 21705 |
tmp___3 = result_len; |
|
21775 |
tmp___3 = result_len; |
| 21706 |
result_len ++; |
|
21776 |
result_len ++; |
| 21707 |
*(result + tmp___3) = *(pad_str_val + i % pad_str_len); |
|
21777 |
*(result + tmp___3) = *(pad_str_val + i % pad_str_len); |
| 21708 |
i ++; |
|
21778 |
i ++; |
| 21709 |
} |
|
21779 |
} |
| 21710 |
*(result + result_len) = (char )'\000'; |
|
21780 |
*(result + result_len) = (char )'\000'; |
| 21711 |
while (1) { |
|
21781 |
while (1) { |
| 21712 |
__s___0 = (char const *)result; |
|
21782 |
__s___0 = (char const *)result; |
| 21713 |
__l___0 = result_len; |
|
21783 |
__l___0 = result_len; |
| 21714 |
__z___0 = return_value; |
|
21784 |
__z___0 = return_value; |
| 21715 |
__z___0->value.str.len = __l___0; |
|
21785 |
__z___0->value.str.len = __l___0; |
| 21716 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
|
21786 |
__z___0->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s___0)); |
| 21717 |
__z___0->type = (zend_uchar )6; |
|
21787 |
__z___0->type = (zend_uchar )6; |
| 21718 |
break; |
|
21788 |
break; |
| 21719 |
} |
|
21789 |
} |
| 21720 |
return; |
|
21790 |
return; |
| 21721 |
} |
|
21791 |
} |
| 21722 |
} |
|
21792 |
} |
| 21723 |
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , |
|
21793 |
void zif_sscanf(int ht , zval *return_value , zval **return_value_ptr , |
| 21724 |
zval *this_ptr , int return_value_used ) |
|
21794 |
zval *this_ptr , int return_value_used ) |
| 21725 |
{ |
|
21795 |
{ |
| 21726 |
zval ***args ; |
|
21796 |
zval ***args ; |
| 21727 |
char *str ; |
|
21797 |
char *str ; |
| 21728 |
char *format ; |
|
21798 |
char *format ; |
| 21729 |
int str_len ; |
|
21799 |
int str_len ; |
| 21730 |
int format_len ; |
|
21800 |
int format_len ; |
| 21731 |
int result ; |
|
21801 |
int result ; |
| 21732 |
int num_args ; |
|
21802 |
int num_args ; |
| 21733 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21803 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21734 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
|
21804 |
int __attribute__((__visibility__("default"))) tmp___0 ; |
| 21735 |
|
|
21805 |
|
| 21736 |
{ |
|
21806 |
{ |
| 21737 |
args = (zval ***)((void *)0); |
|
21807 |
args = (zval ***)((void *)0); |
| 21738 |
num_args = 0; |
|
21808 |
num_args = 0; |
| 21739 |
tmp = zend_parse_parameters(ht, "ss*", & str, & str_len, & format, |
|
21809 |
tmp = zend_parse_parameters(ht, "ss*", & str, & str_len, & format, |
| 21740 |
& format_len, & args, & num_args); |
|
21810 |
& format_len, & args, & num_args); |
| 21741 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21811 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21742 |
return; |
|
21812 |
return; |
| 21743 |
} else { |
|
21813 |
} else { |
| 21744 |
|
|
21814 |
|
| 21745 |
} |
|
21815 |
} |
| 21746 |
tmp___0 = php_sscanf_internal(str, format, num_args, args, 0, & return_value); |
|
21816 |
tmp___0 = php_sscanf_internal(str, format, num_args, args, 0, & return_value); |
| 21747 |
result = (int )tmp___0; |
|
21817 |
result = (int )tmp___0; |
| 21748 |
if (args) { |
|
21818 |
if (args) { |
| 21749 |
_efree((void *)args); |
|
21819 |
_efree((void *)args); |
| 21750 |
} else { |
|
21820 |
} else { |
| 21751 |
|
|
21821 |
|
| 21752 |
} |
|
21822 |
} |
| 21753 |
if (-4 == result) { |
|
21823 |
if (-4 == result) { |
| 21754 |
zend_wrong_param_count(); |
|
21824 |
zend_wrong_param_count(); |
| 21755 |
return; |
|
21825 |
return; |
| 21756 |
} else { |
|
21826 |
} else { |
| 21757 |
|
|
21827 |
|
| 21758 |
} |
|
21828 |
} |
| 21759 |
return; |
|
21829 |
return; |
| 21760 |
} |
|
21830 |
} |
| 21761 |
} |
|
21831 |
} |
| 21762 |
static char rot13_from[53] = |
|
21832 |
static char rot13_from[53] = |
| 21763 |
{ (char )'a', (char )'b', (char )'c', (char )'d', |
|
21833 |
{ (char )'a', (char )'b', (char )'c', (char )'d', |
| 21764 |
(char )'e', (char )'f', (char )'g', (char )'h', |
|
21834 |
(char )'e', (char )'f', (char )'g', (char )'h', |
| 21765 |
(char )'i', (char )'j', (char )'k', (char )'l', |
|
21835 |
(char )'i', (char )'j', (char )'k', (char )'l', |
| 21766 |
(char )'m', (char )'n', (char )'o', (char )'p', |
|
21836 |
(char )'m', (char )'n', (char )'o', (char )'p', |
| 21767 |
(char )'q', (char )'r', (char )'s', (char )'t', |
|
21837 |
(char )'q', (char )'r', (char )'s', (char )'t', |
| 21768 |
(char )'u', (char )'v', (char )'w', (char )'x', |
|
21838 |
(char )'u', (char )'v', (char )'w', (char )'x', |
| 21769 |
(char )'y', (char )'z', (char )'A', (char )'B', |
|
21839 |
(char )'y', (char )'z', (char )'A', (char )'B', |
| 21770 |
(char )'C', (char )'D', (char )'E', (char )'F', |
|
21840 |
(char )'C', (char )'D', (char )'E', (char )'F', |
| 21771 |
(char )'G', (char )'H', (char )'I', (char )'J', |
|
21841 |
(char )'G', (char )'H', (char )'I', (char )'J', |
| 21772 |
(char )'K', (char )'L', (char )'M', (char )'N', |
|
21842 |
(char )'K', (char )'L', (char )'M', (char )'N', |
| 21773 |
(char )'O', (char )'P', (char )'Q', (char )'R', |
|
21843 |
(char )'O', (char )'P', (char )'Q', (char )'R', |
| 21774 |
(char )'S', (char )'T', (char )'U', (char )'V', |
|
21844 |
(char )'S', (char )'T', (char )'U', (char )'V', |
| 21775 |
(char )'W', (char )'X', (char )'Y', (char )'Z', |
|
21845 |
(char )'W', (char )'X', (char )'Y', (char )'Z', |
| 21776 |
(char )'\000'}; |
|
21846 |
(char )'\000'}; |
| 21777 |
static char rot13_to[53] = |
|
21847 |
static char rot13_to[53] = |
| 21778 |
{ (char )'n', (char )'o', (char )'p', (char )'q', |
|
21848 |
{ (char )'n', (char )'o', (char )'p', (char )'q', |
| 21779 |
(char )'r', (char )'s', (char )'t', (char )'u', |
|
21849 |
(char )'r', (char )'s', (char )'t', (char )'u', |
| 21780 |
(char )'v', (char )'w', (char )'x', (char )'y', |
|
21850 |
(char )'v', (char )'w', (char )'x', (char )'y', |
| 21781 |
(char )'z', (char )'a', (char )'b', (char )'c', |
|
21851 |
(char )'z', (char )'a', (char )'b', (char )'c', |
| 21782 |
(char )'d', (char )'e', (char )'f', (char )'g', |
|
21852 |
(char )'d', (char )'e', (char )'f', (char )'g', |
| 21783 |
(char )'h', (char )'i', (char )'j', (char )'k', |
|
21853 |
(char )'h', (char )'i', (char )'j', (char )'k', |
| 21784 |
(char )'l', (char )'m', (char )'N', (char )'O', |
|
21854 |
(char )'l', (char )'m', (char )'N', (char )'O', |
| 21785 |
(char )'P', (char )'Q', (char )'R', (char )'S', |
|
21855 |
(char )'P', (char )'Q', (char )'R', (char )'S', |
| 21786 |
(char )'T', (char )'U', (char )'V', (char )'W', |
|
21856 |
(char )'T', (char )'U', (char )'V', (char )'W', |
| 21787 |
(char )'X', (char )'Y', (char )'Z', (char )'A', |
|
21857 |
(char )'X', (char )'Y', (char )'Z', (char )'A', |
| 21788 |
(char )'B', (char )'C', (char )'D', (char )'E', |
|
21858 |
(char )'B', (char )'C', (char )'D', (char )'E', |
| 21789 |
(char )'F', (char )'G', (char )'H', (char )'I', |
|
21859 |
(char )'F', (char )'G', (char )'H', (char )'I', |
| 21790 |
(char )'J', (char )'K', (char )'L', (char )'M', |
|
21860 |
(char )'J', (char )'K', (char )'L', (char )'M', |
| 21791 |
(char )'\000'}; |
|
21861 |
(char )'\000'}; |
| 21792 |
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , |
|
21862 |
void zif_str_rot13(int ht , zval *return_value , zval **return_value_ptr , |
| 21793 |
zval *this_ptr , int return_value_used ) |
|
21863 |
zval *this_ptr , int return_value_used ) |
| 21794 |
{ |
|
21864 |
{ |
| 21795 |
char *arg ; |
|
21865 |
char *arg ; |
| 21796 |
int arglen ; |
|
21866 |
int arglen ; |
| 21797 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21867 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21798 |
char const *__s ; |
|
21868 |
char const *__s ; |
| 21799 |
int __l ; |
|
21869 |
int __l ; |
| 21800 |
zval *__z ; |
|
21870 |
zval *__z ; |
| 21801 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
21871 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 21802 |
|
|
21872 |
|
| 21803 |
{ |
|
21873 |
{ |
| 21804 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
|
21874 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
| 21805 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21875 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21806 |
return; |
|
21876 |
return; |
| 21807 |
} else { |
|
21877 |
} else { |
| 21808 |
|
|
21878 |
|
| 21809 |
} |
|
21879 |
} |
| 21810 |
while (1) { |
|
21880 |
while (1) { |
| 21811 |
__s = (char const *)arg; |
|
21881 |
__s = (char const *)arg; |
| 21812 |
__l = arglen; |
|
21882 |
__l = arglen; |
| 21813 |
__z = return_value; |
|
21883 |
__z = return_value; |
| 21814 |
__z->value.str.len = __l; |
|
21884 |
__z->value.str.len = __l; |
| 21815 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
21885 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 21816 |
__z->value.str.val = (char *)tmp___0; |
|
21886 |
__z->value.str.val = (char *)tmp___0; |
| 21817 |
__z->type = (zend_uchar )6; |
|
21887 |
__z->type = (zend_uchar )6; |
| 21818 |
break; |
|
21888 |
break; |
| 21819 |
} |
|
21889 |
} |
| 21820 |
php_strtr(return_value->value.str.val, return_value->value.str.len, |
|
21890 |
php_strtr(return_value->value.str.val, return_value->value.str.len, |
| 21821 |
rot13_from, rot13_to, 52); |
|
21891 |
rot13_from, rot13_to, 52); |
| 21822 |
return; |
|
21892 |
return; |
| 21823 |
} |
|
21893 |
} |
| 21824 |
} |
|
21894 |
} |
| 21825 |
static void php_string_shuffle(char *str , long len ) |
|
21895 |
static void php_string_shuffle(char *str , long len ) |
| 21826 |
{ |
|
21896 |
{ |
| 21827 |
long n_elems ; |
|
21897 |
long n_elems ; |
| 21828 |
long rnd_idx ; |
|
21898 |
long rnd_idx ; |
| 21829 |
long n_left ; |
|
21899 |
long n_left ; |
| 21830 |
char temp ; |
|
21900 |
char temp ; |
| 21831 |
long __attribute__((__visibility__("default"))) tmp ; |
|
21901 |
long __attribute__((__visibility__("default"))) tmp ; |
| 21832 |
|
|
21902 |
|
| 21833 |
{ |
|
21903 |
{ |
| 21834 |
n_elems = len; |
|
21904 |
n_elems = len; |
| 21835 |
if (n_elems <= 1L) { |
|
21905 |
if (n_elems <= 1L) { |
| 21836 |
return; |
|
21906 |
return; |
| 21837 |
} else { |
|
21907 |
} else { |
| 21838 |
|
|
21908 |
|
| 21839 |
} |
|
21909 |
} |
| 21840 |
n_left = n_elems; |
|
21910 |
n_left = n_elems; |
| 21841 |
while (1) { |
|
21911 |
while (1) { |
| 21842 |
n_left --; |
|
21912 |
n_left --; |
| 21843 |
if (n_left) { |
|
21913 |
if (n_left) { |
| 21844 |
|
|
21914 |
|
| 21845 |
} else { |
|
21915 |
} else { |
| 21846 |
break; |
|
21916 |
break; |
| 21847 |
} |
|
21917 |
} |
| 21848 |
tmp = php_rand(); |
|
21918 |
tmp = php_rand(); |
| 21849 |
rnd_idx = (long )tmp; |
|
21919 |
rnd_idx = (long )tmp; |
| 21850 |
rnd_idx = (long )((((double )n_left - (double )0) + 1.0) * ((double )rnd_idx / ((double )2147483647 + 1.0))); |
|
21920 |
rnd_idx = (long )((((double )n_left - (double )0) + 1.0) * ((double )rnd_idx / ((double )2147483647 + 1.0))); |
| 21851 |
if (rnd_idx != n_left) { |
|
21921 |
if (rnd_idx != n_left) { |
| 21852 |
temp = *(str + n_left); |
|
21922 |
temp = *(str + n_left); |
| 21853 |
*(str + n_left) = *(str + rnd_idx); |
|
21923 |
*(str + n_left) = *(str + rnd_idx); |
| 21854 |
*(str + rnd_idx) = temp; |
|
21924 |
*(str + rnd_idx) = temp; |
| 21855 |
} else { |
|
21925 |
} else { |
| 21856 |
|
|
21926 |
|
| 21857 |
} |
|
21927 |
} |
| 21858 |
} |
|
21928 |
} |
| 21859 |
return; |
|
21929 |
return; |
| 21860 |
} |
|
21930 |
} |
| 21861 |
} |
|
21931 |
} |
| 21862 |
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , |
|
21932 |
void zif_str_shuffle(int ht , zval *return_value , zval **return_value_ptr , |
| 21863 |
zval *this_ptr , int return_value_used ) |
|
21933 |
zval *this_ptr , int return_value_used ) |
| 21864 |
{ |
|
21934 |
{ |
| 21865 |
char *arg ; |
|
21935 |
char *arg ; |
| 21866 |
int arglen ; |
|
21936 |
int arglen ; |
| 21867 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21937 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21868 |
char const *__s ; |
|
21938 |
char const *__s ; |
| 21869 |
int __l ; |
|
21939 |
int __l ; |
| 21870 |
zval *__z ; |
|
21940 |
zval *__z ; |
| 21871 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
21941 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 21872 |
|
|
21942 |
|
| 21873 |
{ |
|
21943 |
{ |
| 21874 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
|
21944 |
tmp = zend_parse_parameters(ht, "s", & arg, & arglen); |
| 21875 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21945 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21876 |
return; |
|
21946 |
return; |
| 21877 |
} else { |
|
21947 |
} else { |
| 21878 |
|
|
21948 |
|
| 21879 |
} |
|
21949 |
} |
| 21880 |
while (1) { |
|
21950 |
while (1) { |
| 21881 |
__s = (char const *)arg; |
|
21951 |
__s = (char const *)arg; |
| 21882 |
__l = arglen; |
|
21952 |
__l = arglen; |
| 21883 |
__z = return_value; |
|
21953 |
__z = return_value; |
| 21884 |
__z->value.str.len = __l; |
|
21954 |
__z->value.str.len = __l; |
| 21885 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
21955 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 21886 |
__z->value.str.val = (char *)tmp___0; |
|
21956 |
__z->value.str.val = (char *)tmp___0; |
| 21887 |
__z->type = (zend_uchar )6; |
|
21957 |
__z->type = (zend_uchar )6; |
| 21888 |
break; |
|
21958 |
break; |
| 21889 |
} |
|
21959 |
} |
| 21890 |
if (return_value->value.str.len > 1) { |
|
21960 |
if (return_value->value.str.len > 1) { |
| 21891 |
php_string_shuffle(return_value->value.str.val, |
|
21961 |
php_string_shuffle(return_value->value.str.val, |
| 21892 |
(long )return_value->value.str.len); |
|
21962 |
(long )return_value->value.str.len); |
| 21893 |
} else { |
|
21963 |
} else { |
| 21894 |
|
|
21964 |
|
| 21895 |
} |
|
21965 |
} |
| 21896 |
return; |
|
21966 |
return; |
| 21897 |
} |
|
21967 |
} |
| 21898 |
} |
|
21968 |
} |
| 21899 |
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , |
|
21969 |
void zif_str_word_count(int ht , zval *return_value , zval **return_value_ptr , |
| 21900 |
zval *this_ptr , int return_value_used ) |
|
21970 |
zval *this_ptr , int return_value_used ) |
| 21901 |
{ |
|
21971 |
{ |
| 21902 |
char *buf ; |
|
21972 |
char *buf ; |
| 21903 |
char *str ; |
|
21973 |
char *str ; |
| 21904 |
char *char_list ; |
|
21974 |
char *char_list ; |
| 21905 |
char *p ; |
|
21975 |
char *p ; |
| 21906 |
char *e ; |
|
21976 |
char *e ; |
| 21907 |
char *s ; |
|
21977 |
char *s ; |
| 21908 |
char ch[256] ; |
|
21978 |
char ch[256] ; |
| 21909 |
int str_len ; |
|
21979 |
int str_len ; |
| 21910 |
int char_list_len ; |
|
21980 |
int char_list_len ; |
| 21911 |
int word_count ; |
|
21981 |
int word_count ; |
| 21912 |
long type ; |
|
21982 |
long type ; |
| 21913 |
int __attribute__((__visibility__("default"))) tmp ; |
|
21983 |
int __attribute__((__visibility__("default"))) tmp ; |
| 21914 |
zval *__z ; |
|
21984 |
zval *__z ; |
| 21915 |
zval *__z___0 ; |
|
21985 |
zval *__z___0 ; |
| 21916 |
unsigned short const **tmp___0 ; |
|
21986 |
unsigned short const **tmp___0 ; |
| 21917 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
|
21987 |
char __attribute__((__visibility__("default"))) *tmp___1 ; |
| 21918 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
|
21988 |
char __attribute__((__visibility__("default"))) *tmp___2 ; |
| 21919 |
zval *__z___1 ; |
|
21989 |
zval *__z___1 ; |
| 21920 |
|
|
21990 |
|
| 21921 |
{ |
|
21991 |
{ |
| 21922 |
char_list = (char *)((void *)0); |
|
21992 |
char_list = (char *)((void *)0); |
| 21923 |
char_list_len = 0; |
|
21993 |
char_list_len = 0; |
| 21924 |
word_count = 0; |
|
21994 |
word_count = 0; |
| 21925 |
type = 0L; |
|
21995 |
type = 0L; |
| 21926 |
tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & type, & char_list, |
|
21996 |
tmp = zend_parse_parameters(ht, "s|ls", & str, & str_len, & type, & char_list, |
| 21927 |
& char_list_len); |
|
21997 |
& char_list_len); |
| 21928 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
21998 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 21929 |
return; |
|
21999 |
return; |
| 21930 |
} else { |
|
22000 |
} else { |
| 21931 |
|
|
22001 |
|
| 21932 |
} |
|
22002 |
} |
| 21933 |
switch (type) { |
|
22003 |
switch (type) { |
| 21934 |
case 2L: |
|
22004 |
case 2L: |
| 21935 |
case 1L: |
|
22005 |
case 1L: |
| 21936 |
_array_init(return_value, (uint )0); |
|
22006 |
_array_init(return_value, (uint )0); |
| 21937 |
if (! str_len) { |
|
22007 |
if (! str_len) { |
| 21938 |
return; |
|
22008 |
return; |
| 21939 |
} else { |
|
22009 |
} else { |
| 21940 |
|
|
22010 |
|
| 21941 |
} |
|
22011 |
} |
| 21942 |
break; |
|
22012 |
break; |
| 21943 |
case 0L: |
|
22013 |
case 0L: |
| 21944 |
if (! str_len) { |
|
22014 |
if (! str_len) { |
| 21945 |
__z = return_value; |
|
22015 |
__z = return_value; |
| 21946 |
__z->value.lval = 0L; |
|
22016 |
__z->value.lval = 0L; |
| 21947 |
__z->type = (zend_uchar )1; |
|
22017 |
__z->type = (zend_uchar )1; |
| 21948 |
return; |
|
22018 |
return; |
| 21949 |
} else { |
|
22019 |
} else { |
| 21950 |
|
|
22020 |
|
| 21951 |
} |
|
22021 |
} |
| 21952 |
break; |
|
22022 |
break; |
| 21953 |
default: |
|
22023 |
default: |
| 21954 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22024 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 21955 |
"Invalid format value %ld", type); |
|
22025 |
"Invalid format value %ld", type); |
| 21956 |
while (1) { |
|
22026 |
while (1) { |
| 21957 |
__z___0 = return_value; |
|
22027 |
__z___0 = return_value; |
| 21958 |
__z___0->value.lval = 0L; |
|
22028 |
__z___0->value.lval = 0L; |
| 21959 |
__z___0->type = (zend_uchar )3; |
|
22029 |
__z___0->type = (zend_uchar )3; |
| 21960 |
break; |
|
22030 |
break; |
| 21961 |
} |
|
22031 |
} |
| 21962 |
return; |
|
22032 |
return; |
| 21963 |
} |
|
22033 |
} |
| 21964 |
if (char_list) { |
|
22034 |
if (char_list) { |
| 21965 |
php_charmask((unsigned char *)char_list, char_list_len, ch); |
|
22035 |
php_charmask((unsigned char *)char_list, char_list_len, ch); |
| 21966 |
} else { |
|
22036 |
} else { |
| 21967 |
|
|
22037 |
|
| 21968 |
} |
|
22038 |
} |
| 21969 |
p = str; |
|
22039 |
p = str; |
| 21970 |
e = str + str_len; |
|
22040 |
e = str + str_len; |
| 21971 |
if ((int )*p == 39) { |
|
22041 |
if ((int )*p == 39) { |
| 21972 |
if (! char_list) { |
|
22042 |
if (! char_list) { |
| 21973 |
p ++; |
|
22043 |
p ++; |
| 21974 |
} else |
|
22044 |
} else |
| 21975 |
if (! ch[39]) { |
|
22045 |
if (! ch[39]) { |
| 21976 |
p ++; |
|
22046 |
p ++; |
| 21977 |
} else { |
|
22047 |
} else { |
| 21978 |
goto _L; |
|
22048 |
goto _L; |
| 21979 |
} |
|
22049 |
} |
| 21980 |
} else |
|
22050 |
} else |
| 21981 |
_L: |
|
22051 |
_L: |
| 21982 |
if ((int )*p == 45) { |
|
22052 |
if ((int )*p == 45) { |
| 21983 |
if (! char_list) { |
|
22053 |
if (! char_list) { |
| 21984 |
p ++; |
|
22054 |
p ++; |
| 21985 |
} else |
|
22055 |
} else |
| 21986 |
if (! ch[45]) { |
|
22056 |
if (! ch[45]) { |
| 21987 |
p ++; |
|
22057 |
p ++; |
| 21988 |
} else { |
|
22058 |
} else { |
| 21989 |
|
|
22059 |
|
| 21990 |
} |
|
22060 |
} |
| 21991 |
} else { |
|
22061 |
} else { |
| 21992 |
|
|
22062 |
|
| 21993 |
} |
|
22063 |
} |
| 21994 |
if ((int )*(e - 1) == 45) { |
|
22064 |
if ((int )*(e - 1) == 45) { |
| 21995 |
if (! char_list) { |
|
22065 |
if (! char_list) { |
| 21996 |
e --; |
|
22066 |
e --; |
| 21997 |
} else |
|
22067 |
} else |
| 21998 |
if (! ch[45]) { |
|
22068 |
if (! ch[45]) { |
| 21999 |
e --; |
|
22069 |
e --; |
| 22000 |
} else { |
|
22070 |
} else { |
| 22001 |
|
|
22071 |
|
| 22002 |
} |
|
22072 |
} |
| 22003 |
} else { |
|
22073 |
} else { |
| 22004 |
|
|
22074 |
|
| 22005 |
} |
|
22075 |
} |
| 22006 |
while ((unsigned int )p < (unsigned int )e) { |
|
22076 |
while ((unsigned int )p < (unsigned int )e) { |
| 22007 |
s = p; |
|
22077 |
s = p; |
| 22008 |
while (1) { |
|
22078 |
while (1) { |
| 22009 |
if ((unsigned int )p < (unsigned int )e) { |
|
22079 |
if ((unsigned int )p < (unsigned int )e) { |
| 22010 |
tmp___0 = __ctype_b_loc(); |
|
22080 |
tmp___0 = __ctype_b_loc(); |
| 22011 |
if ((int const )*(*tmp___0 + (int )((unsigned char )*p)) & 1024) { |
|
22081 |
if ((int const )*(*tmp___0 + (int )((unsigned char )*p)) & 1024) { |
| 22012 |
|
|
22082 |
|
| 22013 |
} else |
|
22083 |
} else |
| 22014 |
if (char_list) { |
|
22084 |
if (char_list) { |
| 22015 |
if (ch[(unsigned char )*p]) { |
|
22085 |
if (ch[(unsigned char )*p]) { |
| 22016 |
|
|
22086 |
|
| 22017 |
} else { |
|
22087 |
} else { |
| 22018 |
goto _L___0; |
|
22088 |
goto _L___0; |
| 22019 |
} |
|
22089 |
} |
| 22020 |
} else |
|
22090 |
} else |
| 22021 |
_L___0: |
|
22091 |
_L___0: |
| 22022 |
if ((int )*p == 39) { |
|
22092 |
if ((int )*p == 39) { |
| 22023 |
|
|
22093 |
|
| 22024 |
} else |
|
22094 |
} else |
| 22025 |
if ((int )*p == 45) { |
|
22095 |
if ((int )*p == 45) { |
| 22026 |
|
|
22096 |
|
| 22027 |
} else { |
|
22097 |
} else { |
| 22028 |
break; |
|
22098 |
break; |
| 22029 |
} |
|
22099 |
} |
| 22030 |
} else { |
|
22100 |
} else { |
| 22031 |
break; |
|
22101 |
break; |
| 22032 |
} |
|
22102 |
} |
| 22033 |
p ++; |
|
22103 |
p ++; |
| 22034 |
} |
|
22104 |
} |
| 22035 |
if ((unsigned int )p > (unsigned int )s) { |
|
22105 |
if ((unsigned int )p > (unsigned int )s) { |
| 22036 |
switch (type) { |
|
22106 |
switch (type) { |
| 22037 |
case 1L: |
|
22107 |
case 1L: |
| 22038 |
tmp___1 = _estrndup((char const *)s, (unsigned int )(p - s)); |
|
22108 |
tmp___1 = _estrndup((char const *)s, (unsigned int )(p - s)); |
| 22039 |
buf = (char *)tmp___1; |
|
22109 |
buf = (char *)tmp___1; |
| 22040 |
add_next_index_stringl(return_value, (char const *)buf, (uint )(p - s), |
|
22110 |
add_next_index_stringl(return_value, (char const *)buf, (uint )(p - s), |
| 22041 |
0); |
|
22111 |
0); |
| 22042 |
break; |
|
22112 |
break; |
| 22043 |
case 2L: |
|
22113 |
case 2L: |
| 22044 |
tmp___2 = _estrndup((char const *)s, (unsigned int )(p - s)); |
|
22114 |
tmp___2 = _estrndup((char const *)s, (unsigned int )(p - s)); |
| 22045 |
buf = (char *)tmp___2; |
|
22115 |
buf = (char *)tmp___2; |
| 22046 |
add_index_stringl(return_value, (ulong )(s - str), (char const *)buf, |
|
22116 |
add_index_stringl(return_value, (ulong )(s - str), (char const *)buf, |
| 22047 |
(uint )(p - s), 0); |
|
22117 |
(uint )(p - s), 0); |
| 22048 |
break; |
|
22118 |
break; |
| 22049 |
default: |
|
22119 |
default: |
| 22050 |
word_count ++; |
|
22120 |
word_count ++; |
| 22051 |
break; |
|
22121 |
break; |
| 22052 |
} |
|
22122 |
} |
| 22053 |
} else { |
|
22123 |
} else { |
| 22054 |
|
|
22124 |
|
| 22055 |
} |
|
22125 |
} |
| 22056 |
p ++; |
|
22126 |
p ++; |
| 22057 |
} |
|
22127 |
} |
| 22058 |
if (! type) { |
|
22128 |
if (! type) { |
| 22059 |
__z___1 = return_value; |
|
22129 |
__z___1 = return_value; |
| 22060 |
__z___1->value.lval = (long )word_count; |
|
22130 |
__z___1->value.lval = (long )word_count; |
| 22061 |
__z___1->type = (zend_uchar )1; |
|
22131 |
__z___1->type = (zend_uchar )1; |
| 22062 |
return; |
|
22132 |
return; |
| 22063 |
} else { |
|
22133 |
} else { |
| 22064 |
|
|
22134 |
|
| 22065 |
} |
|
22135 |
} |
| 22066 |
return; |
|
22136 |
return; |
| 22067 |
} |
|
22137 |
} |
| 22068 |
} |
|
22138 |
} |
| 22069 |
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , |
|
22139 |
void zif_money_format(int ht , zval *return_value , zval **return_value_ptr , |
| 22070 |
zval *this_ptr , int return_value_used ) |
|
22140 |
zval *this_ptr , int return_value_used ) |
| 22071 |
{ |
|
22141 |
{ |
| 22072 |
int format_len ; |
|
22142 |
int format_len ; |
| 22073 |
int str_len ; |
|
22143 |
int str_len ; |
| 22074 |
char *format ; |
|
22144 |
char *format ; |
| 22075 |
char *str ; |
|
22145 |
char *str ; |
| 22076 |
char *p ; |
|
22146 |
char *p ; |
| 22077 |
char *e ; |
|
22147 |
char *e ; |
| 22078 |
double value ; |
|
22148 |
double value ; |
| 22079 |
zend_bool check ; |
|
22149 |
zend_bool check ; |
| 22080 |
int __attribute__((__visibility__("default"))) tmp ; |
|
22150 |
int __attribute__((__visibility__("default"))) tmp ; |
| 22081 |
zval *__z ; |
|
22151 |
zval *__z ; |
| 22082 |
void *tmp___0 ; |
|
22152 |
void *tmp___0 ; |
| 22083 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
|
22153 |
void __attribute__((__visibility__("default"))) *tmp___1 ; |
| 22084 |
zval *__z___0 ; |
|
22154 |
zval *__z___0 ; |
| 22085 |
char const *__s ; |
|
22155 |
char const *__s ; |
| 22086 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
|
22156 |
void __attribute__((__visibility__("default"))) *tmp___2 ; |
| 22087 |
int __l ; |
|
22157 |
int __l ; |
| 22088 |
zval *__z___1 ; |
|
22158 |
zval *__z___1 ; |
| 22089 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
|
22159 |
char __attribute__((__visibility__("default"))) *tmp___3 ; |
| 22090 |
|
|
22160 |
|
| 22091 |
{ |
|
22161 |
{ |
| 22092 |
format_len = 0; |
|
22162 |
format_len = 0; |
| 22093 |
check = (zend_bool )0; |
|
22163 |
check = (zend_bool )0; |
| 22094 |
tmp = zend_parse_parameters(ht, "sd", & format, & format_len, & value); |
|
22164 |
tmp = zend_parse_parameters(ht, "sd", & format, & format_len, & value); |
| 22095 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
22165 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 22096 |
return; |
|
22166 |
return; |
| 22097 |
} else { |
|
22167 |
} else { |
| 22098 |
|
|
22168 |
|
| 22099 |
} |
|
22169 |
} |
| 22100 |
p = format; |
|
22170 |
p = format; |
| 22101 |
e = p + format_len; |
|
22171 |
e = p + format_len; |
| 22102 |
while (1) { |
|
22172 |
while (1) { |
| 22103 |
tmp___0 = memchr((void const *)p, '%', (size_t )(e - p)); |
|
22173 |
tmp___0 = memchr((void const *)p, '%', (size_t )(e - p)); |
| 22104 |
p = (char *)tmp___0; |
|
22174 |
p = (char *)tmp___0; |
| 22105 |
if (p) { |
|
22175 |
if (p) { |
| 22106 |
|
|
22176 |
|
| 22107 |
} else { |
|
22177 |
} else { |
| 22108 |
break; |
|
22178 |
break; |
| 22109 |
} |
|
22179 |
} |
| 22110 |
if ((int )*(p + 1) == 37) { |
|
22180 |
if ((int )*(p + 1) == 37) { |
| 22111 |
p += 2; |
|
22181 |
p += 2; |
| 22112 |
} else |
|
22182 |
} else |
| 22113 |
if (! check) { |
|
22183 |
if (! check) { |
| 22114 |
check = (zend_bool )1; |
|
22184 |
check = (zend_bool )1; |
| 22115 |
p ++; |
|
22185 |
p ++; |
| 22116 |
} else { |
|
22186 |
} else { |
| 22117 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22187 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 22118 |
"Only a single %%i or %%n token can be used"); |
|
22188 |
"Only a single %%i or %%n token can be used"); |
| 22119 |
while (1) { |
|
22189 |
while (1) { |
| 22120 |
__z = return_value; |
|
22190 |
__z = return_value; |
| 22121 |
__z->value.lval = 0L; |
|
22191 |
__z->value.lval = 0L; |
| 22122 |
__z->type = (zend_uchar )3; |
|
22192 |
__z->type = (zend_uchar )3; |
| 22123 |
break; |
|
22193 |
break; |
| 22124 |
} |
|
22194 |
} |
| 22125 |
return; |
|
22195 |
return; |
| 22126 |
} |
|
22196 |
} |
| 22127 |
} |
|
22197 |
} |
| 22128 |
str_len = format_len + 1024; |
|
22198 |
str_len = format_len + 1024; |
| 22129 |
tmp___1 = _emalloc((size_t )str_len); |
|
22199 |
tmp___1 = _emalloc((size_t )str_len); |
| 22130 |
str = (char *)tmp___1; |
|
22200 |
str = (char *)tmp___1; |
| 22131 |
str_len = strfmon((char *)str, (size_t )str_len, |
|
22201 |
str_len = strfmon((char *)str, (size_t )str_len, |
| 22132 |
(char const *)format, value); |
|
22202 |
(char const *)format, value); |
| 22133 |
if (str_len < 0) { |
|
22203 |
if (str_len < 0) { |
| 22134 |
_efree((void *)str); |
|
22204 |
_efree((void *)str); |
| 22135 |
while (1) { |
|
22205 |
while (1) { |
| 22136 |
__z___0 = return_value; |
|
22206 |
__z___0 = return_value; |
| 22137 |
__z___0->value.lval = 0L; |
|
22207 |
__z___0->value.lval = 0L; |
| 22138 |
__z___0->type = (zend_uchar )3; |
|
22208 |
__z___0->type = (zend_uchar )3; |
| 22139 |
break; |
|
22209 |
break; |
| 22140 |
} |
|
22210 |
} |
| 22141 |
return; |
|
22211 |
return; |
| 22142 |
} else { |
|
22212 |
} else { |
| 22143 |
|
|
22213 |
|
| 22144 |
} |
|
22214 |
} |
| 22145 |
*(str + str_len) = (char)0; |
|
22215 |
*(str + str_len) = (char)0; |
| 22146 |
while (1) { |
|
22216 |
while (1) { |
| 22147 |
tmp___2 = _erealloc((void *)str, (size_t )(str_len + 1), 0); |
|
22217 |
tmp___2 = _erealloc((void *)str, (size_t )(str_len + 1), 0); |
| 22148 |
__s = (char const *)tmp___2; |
|
22218 |
__s = (char const *)tmp___2; |
| 22149 |
__l = str_len; |
|
22219 |
__l = str_len; |
| 22150 |
__z___1 = return_value; |
|
22220 |
__z___1 = return_value; |
| 22151 |
__z___1->value.str.len = __l; |
|
22221 |
__z___1->value.str.len = __l; |
| 22152 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
|
22222 |
__z___1->value.str.val = (char *)((char __attribute__((__visibility__("default"))) *)((char *)__s)); |
| 22153 |
__z___1->type = (zend_uchar )6; |
|
22223 |
__z___1->type = (zend_uchar )6; |
| 22154 |
break; |
|
22224 |
break; |
| 22155 |
} |
|
22225 |
} |
| 22156 |
return; |
|
22226 |
return; |
| 22157 |
} |
|
22227 |
} |
| 22158 |
} |
|
22228 |
} |
| 22159 |
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , |
|
22229 |
void zif_str_split(int ht , zval *return_value , zval **return_value_ptr , |
| 22160 |
zval *this_ptr , int return_value_used ) |
|
22230 |
zval *this_ptr , int return_value_used ) |
| 22161 |
{ |
|
22231 |
{ |
| 22162 |
char *str ; |
|
22232 |
char *str ; |
| 22163 |
int str_len ; |
|
22233 |
int str_len ; |
| 22164 |
long split_length ; |
|
22234 |
long split_length ; |
| 22165 |
char *p ; |
|
22235 |
char *p ; |
| 22166 |
int n_reg_segments ; |
|
22236 |
int n_reg_segments ; |
| 22167 |
int __attribute__((__visibility__("default"))) tmp ; |
|
22237 |
int __attribute__((__visibility__("default"))) tmp ; |
| 22168 |
zval *__z ; |
|
22238 |
zval *__z ; |
| 22169 |
int tmp___0 ; |
|
22239 |
int tmp___0 ; |
| 22170 |
|
|
22240 |
|
| 22171 |
{ |
|
22241 |
{ |
| 22172 |
split_length = 1L; |
|
22242 |
split_length = 1L; |
| |
|
-+ |
22243 |
{ |
| 22173 |
tmp = zend_parse_parameters(ht, "s|l", & str, & str_len, & split_length); |
= |
22244 |
tmp = zend_parse_parameters(ht, "s|l", & str, & str_len, & split_length); |
| |
|
-+ |
22245 |
if (split_length < 0) { |
| |
|
|
22246 |
return; |
| |
|
|
22247 |
} |
| |
|
|
22248 |
if (str_len < 0) { |
| |
|
|
22249 |
return; |
| |
|
|
22250 |
} |
| |
|
|
22251 |
} |
| 22174 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
= |
22252 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 22175 |
return; |
|
22253 |
return; |
| 22176 |
} else { |
|
22254 |
} else { |
| 22177 |
|
|
22255 |
|
| 22178 |
} |
|
22256 |
} |
| 22179 |
if (split_length <= 0L) { |
|
22257 |
if (split_length <= 0L) { |
| 22180 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22258 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 22181 |
"The length of each segment must be greater than zero"); |
|
22259 |
"The length of each segment must be greater than zero"); |
| 22182 |
while (1) { |
|
22260 |
while (1) { |
| 22183 |
__z = return_value; |
|
22261 |
__z = return_value; |
| 22184 |
__z->value.lval = 0L; |
|
22262 |
__z->value.lval = 0L; |
| 22185 |
__z->type = (zend_uchar )3; |
|
22263 |
__z->type = (zend_uchar )3; |
| 22186 |
break; |
|
22264 |
break; |
| 22187 |
} |
|
22265 |
} |
| 22188 |
return; |
|
22266 |
return; |
| 22189 |
} else { |
|
22267 |
} else { |
| 22190 |
|
|
22268 |
|
| 22191 |
} |
|
22269 |
} |
| 22192 |
_array_init(return_value, (uint )((long )(str_len - 1) / split_length + 1L)); |
|
22270 |
_array_init(return_value, (uint )((long )(str_len - 1) / split_length + 1L)); |
| 22193 |
if (split_length >= (long )str_len) { |
|
22271 |
if (split_length >= (long )str_len) { |
| 22194 |
add_next_index_stringl(return_value, (char const *)str, (uint )str_len, 1); |
|
22272 |
add_next_index_stringl(return_value, (char const *)str, (uint )str_len, 1); |
| 22195 |
return; |
|
22273 |
return; |
| 22196 |
} else { |
|
22274 |
} else { |
| 22197 |
|
|
22275 |
|
| 22198 |
} |
|
22276 |
} |
| 22199 |
n_reg_segments = (int )((long )str_len / split_length); |
|
22277 |
n_reg_segments = (int )((long )str_len / split_length); |
| 22200 |
p = str; |
|
22278 |
p = str; |
| 22201 |
while (1) { |
|
22279 |
while (1) { |
| 22202 |
tmp___0 = n_reg_segments; |
|
22280 |
tmp___0 = n_reg_segments; |
| 22203 |
n_reg_segments --; |
|
22281 |
n_reg_segments --; |
| 22204 |
if (tmp___0 > 0) { |
|
22282 |
if (tmp___0 > 0) { |
| 22205 |
|
|
22283 |
|
| 22206 |
} else { |
|
22284 |
} else { |
| 22207 |
break; |
|
22285 |
break; |
| 22208 |
} |
|
22286 |
} |
| 22209 |
add_next_index_stringl(return_value, (char const *)p, (uint )split_length, |
|
22287 |
add_next_index_stringl(return_value, (char const *)p, (uint )split_length, |
| 22210 |
1); |
|
22288 |
1); |
| 22211 |
p += split_length; |
|
22289 |
p += split_length; |
| 22212 |
} |
|
22290 |
} |
| 22213 |
if ((unsigned int )p != (unsigned int )(str + str_len)) { |
|
22291 |
if ((unsigned int )p != (unsigned int )(str + str_len)) { |
| 22214 |
add_next_index_stringl(return_value, (char const *)p, |
|
22292 |
add_next_index_stringl(return_value, (char const *)p, |
| 22215 |
(uint )((str + str_len) - p), 1); |
|
22293 |
(uint )((str + str_len) - p), 1); |
| 22216 |
} else { |
|
22294 |
} else { |
| 22217 |
|
|
22295 |
|
| 22218 |
} |
|
22296 |
} |
| 22219 |
return; |
|
22297 |
return; |
| 22220 |
} |
|
22298 |
} |
| 22221 |
} |
|
22299 |
} |
| 22222 |
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , |
|
22300 |
void zif_strpbrk(int ht , zval *return_value , zval **return_value_ptr , |
| 22223 |
zval *this_ptr , int return_value_used ) |
|
22301 |
zval *this_ptr , int return_value_used ) |
| 22224 |
{ |
|
22302 |
{ |
| 22225 |
char *haystack ; |
|
22303 |
char *haystack ; |
| 22226 |
char *char_list ; |
|
22304 |
char *char_list ; |
| 22227 |
int haystack_len ; |
|
22305 |
int haystack_len ; |
| 22228 |
int char_list_len ; |
|
22306 |
int char_list_len ; |
| 22229 |
char *p ; |
|
22307 |
char *p ; |
| 22230 |
zval *__z ; |
|
22308 |
zval *__z ; |
| 22231 |
int __attribute__((__visibility__("default"))) tmp ; |
|
22309 |
int __attribute__((__visibility__("default"))) tmp ; |
| 22232 |
zval *__z___0 ; |
|
22310 |
zval *__z___0 ; |
| 22233 |
char const *__s ; |
|
22311 |
char const *__s ; |
| 22234 |
int __l ; |
|
22312 |
int __l ; |
| 22235 |
zval *__z___1 ; |
|
22313 |
zval *__z___1 ; |
| 22236 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
|
22314 |
char __attribute__((__visibility__("default"))) *tmp___0 ; |
| 22237 |
zval *__z___2 ; |
|
22315 |
zval *__z___2 ; |
| 22238 |
char __a0 ; |
|
22316 |
char __a0 ; |
| 22239 |
char __a1 ; |
|
22317 |
char __a1 ; |
| 22240 |
char __a2 ; |
|
22318 |
char __a2 ; |
| 22241 |
char *tmp___1 ; |
|
22319 |
char *tmp___1 ; |
| 22242 |
char *tmp___2 ; |
|
22320 |
char *tmp___2 ; |
| 22243 |
char *tmp___3 ; |
|
22321 |
char *tmp___3 ; |
| 22244 |
char *tmp___4 ; |
|
22322 |
char *tmp___4 ; |
| 22245 |
char *tmp___5 ; |
|
22323 |
char *tmp___5 ; |
| 22246 |
char *tmp___6 ; |
|
22324 |
char *tmp___6 ; |
| 22247 |
char *tmp___7 ; |
|
22325 |
char *tmp___7 ; |
| 22248 |
char *tmp___8 ; |
|
22326 |
char *tmp___8 ; |
| 22249 |
char *tmp___9 ; |
|
22327 |
char *tmp___9 ; |
| 22250 |
char *tmp___10 ; |
|
22328 |
char *tmp___10 ; |
| 22251 |
|
|
22329 |
|
| 22252 |
{ |
|
22330 |
{ |
| 22253 |
tmp = zend_parse_parameters(ht, "ss", & haystack, & haystack_len, & char_list, |
|
22331 |
tmp = zend_parse_parameters(ht, "ss", & haystack, & haystack_len, & char_list, |
| 22254 |
& char_list_len); |
|
22332 |
& char_list_len); |
| 22255 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
22333 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 22256 |
while (1) { |
|
22334 |
while (1) { |
| 22257 |
__z = return_value; |
|
22335 |
__z = return_value; |
| 22258 |
__z->value.lval = 0L; |
|
22336 |
__z->value.lval = 0L; |
| 22259 |
__z->type = (zend_uchar )3; |
|
22337 |
__z->type = (zend_uchar )3; |
| 22260 |
break; |
|
22338 |
break; |
| 22261 |
} |
|
22339 |
} |
| 22262 |
return; |
|
22340 |
return; |
| 22263 |
} else { |
|
22341 |
} else { |
| 22264 |
|
|
22342 |
|
| 22265 |
} |
|
22343 |
} |
| 22266 |
if (! char_list_len) { |
|
22344 |
if (! char_list_len) { |
| 22267 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22345 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 22268 |
"The character list cannot be empty"); |
|
22346 |
"The character list cannot be empty"); |
| 22269 |
while (1) { |
|
22347 |
while (1) { |
| 22270 |
__z___0 = return_value; |
|
22348 |
__z___0 = return_value; |
| 22271 |
__z___0->value.lval = 0L; |
|
22349 |
__z___0->value.lval = 0L; |
| 22272 |
__z___0->type = (zend_uchar )3; |
|
22350 |
__z___0->type = (zend_uchar )3; |
| 22273 |
break; |
|
22351 |
break; |
| 22274 |
} |
|
22352 |
} |
| 22275 |
return; |
|
22353 |
return; |
| 22276 |
} else { |
|
22354 |
} else { |
| 22277 |
|
|
22355 |
|
| 22278 |
} |
|
22356 |
} |
| 22279 |
tmp___10 = __builtin_strpbrk((char const *)haystack, |
|
22357 |
tmp___10 = __builtin_strpbrk((char const *)haystack, |
| 22280 |
(char const *)char_list); |
|
22358 |
(char const *)char_list); |
| 22281 |
p = tmp___10; |
|
22359 |
p = tmp___10; |
| 22282 |
if (p) { |
|
22360 |
if (p) { |
| 22283 |
while (1) { |
|
22361 |
while (1) { |
| 22284 |
__s = (char const *)p; |
|
22362 |
__s = (char const *)p; |
| 22285 |
__l = (haystack + haystack_len) - p; |
|
22363 |
__l = (haystack + haystack_len) - p; |
| 22286 |
__z___1 = return_value; |
|
22364 |
__z___1 = return_value; |
| 22287 |
__z___1->value.str.len = __l; |
|
22365 |
__z___1->value.str.len = __l; |
| 22288 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
|
22366 |
tmp___0 = _estrndup(__s, (unsigned int )__l); |
| 22289 |
__z___1->value.str.val = (char *)tmp___0; |
|
22367 |
__z___1->value.str.val = (char *)tmp___0; |
| 22290 |
__z___1->type = (zend_uchar )6; |
|
22368 |
__z___1->type = (zend_uchar )6; |
| 22291 |
break; |
|
22369 |
break; |
| 22292 |
} |
|
22370 |
} |
| 22293 |
return; |
|
22371 |
return; |
| 22294 |
} else { |
|
22372 |
} else { |
| 22295 |
while (1) { |
|
22373 |
while (1) { |
| 22296 |
__z___2 = return_value; |
|
22374 |
__z___2 = return_value; |
| 22297 |
__z___2->value.lval = 0L; |
|
22375 |
__z___2->value.lval = 0L; |
| 22298 |
__z___2->type = (zend_uchar )3; |
|
22376 |
__z___2->type = (zend_uchar )3; |
| 22299 |
break; |
|
22377 |
break; |
| 22300 |
} |
|
22378 |
} |
| 22301 |
return; |
|
22379 |
return; |
| 22302 |
} |
|
22380 |
} |
| 22303 |
} |
|
22381 |
} |
| 22304 |
} |
|
22382 |
} |
| 22305 |
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , |
|
22383 |
void zif_substr_compare(int ht , zval *return_value , zval **return_value_ptr , |
| 22306 |
zval *this_ptr , int return_value_used ) |
|
22384 |
zval *this_ptr , int return_value_used ) |
| 22307 |
{ |
|
22385 |
{ |
| 22308 |
char *s1 ; |
|
22386 |
char *s1 ; |
| 22309 |
char *s2 ; |
|
22387 |
char *s2 ; |
| 22310 |
int s1_len ; |
|
22388 |
int s1_len ; |
| 22311 |
int s2_len ; |
|
22389 |
int s2_len ; |
| 22312 |
long offset ; |
|
22390 |
long offset ; |
| 22313 |
long len ; |
|
22391 |
long len ; |
| 22314 |
zend_bool cs ; |
|
22392 |
zend_bool cs ; |
| 22315 |
uint cmp_len ; |
|
22393 |
uint cmp_len ; |
| 22316 |
zval *__z ; |
|
22394 |
zval *__z ; |
| 22317 |
int __attribute__((__visibility__("default"))) tmp ; |
|
22395 |
int __attribute__((__visibility__("default"))) tmp ; |
| 22318 |
zval *__z___0 ; |
|
22396 |
zval *__z___0 ; |
| 22319 |
zval *__z___1 ; |
|
22397 |
zval *__z___1 ; |
| 22320 |
long tmp___0 ; |
|
22398 |
long tmp___0 ; |
| 22321 |
long tmp___1 ; |
|
22399 |
long tmp___1 ; |
| 22322 |
zval *__z___2 ; |
|
22400 |
zval *__z___2 ; |
| 22323 |
int __attribute__((__visibility__("default"))) tmp___2 ; |
|
22401 |
int __attribute__((__visibility__("default"))) tmp___2 ; |
| 22324 |
zval *__z___3 ; |
|
22402 |
zval *__z___3 ; |
| 22325 |
int __attribute__((__visibility__("default"))) tmp___3 ; |
|
22403 |
int __attribute__((__visibility__("default"))) tmp___3 ; |
| 22326 |
|
|
22404 |
|
| 22327 |
{ |
|
22405 |
{ |
| 22328 |
len = 0L; |
|
22406 |
len = 0L; |
| 22329 |
cs = (zend_bool )0; |
|
22407 |
cs = (zend_bool )0; |
| 22330 |
tmp = zend_parse_parameters(ht, "ssl|lb", & s1, & s1_len, & s2, & s2_len, |
|
22408 |
tmp = zend_parse_parameters(ht, "ssl|lb", & s1, & s1_len, & s2, & s2_len, |
| 22331 |
& offset, & len, & cs); |
|
22409 |
& offset, & len, & cs); |
| 22332 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
|
22410 |
if (tmp == (int __attribute__((__visibility__("default"))) )-1) { |
| 22333 |
while (1) { |
|
22411 |
while (1) { |
| 22334 |
__z = return_value; |
|
22412 |
__z = return_value; |
| 22335 |
__z->value.lval = 0L; |
|
22413 |
__z->value.lval = 0L; |
| 22336 |
__z->type = (zend_uchar )3; |
|
22414 |
__z->type = (zend_uchar )3; |
| 22337 |
break; |
|
22415 |
break; |
| 22338 |
} |
|
22416 |
} |
| 22339 |
return; |
|
22417 |
return; |
| 22340 |
} else { |
|
22418 |
} else { |
| 22341 |
|
|
22419 |
|
| 22342 |
} |
|
22420 |
} |
| 22343 |
if (ht >= 4) { |
|
22421 |
if (ht >= 4) { |
| 22344 |
if (len <= 0L) { |
|
22422 |
if (len <= 0L) { |
| 22345 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22423 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 22346 |
"The length must be greater than zero"); |
|
22424 |
"The length must be greater than zero"); |
| 22347 |
while (1) { |
|
22425 |
while (1) { |
| 22348 |
__z___0 = return_value; |
|
22426 |
__z___0 = return_value; |
| 22349 |
__z___0->value.lval = 0L; |
|
22427 |
__z___0->value.lval = 0L; |
| 22350 |
__z___0->type = (zend_uchar )3; |
|
22428 |
__z___0->type = (zend_uchar )3; |
| 22351 |
break; |
|
22429 |
break; |
| 22352 |
} |
|
22430 |
} |
| 22353 |
return; |
|
22431 |
return; |
| 22354 |
} else { |
|
22432 |
} else { |
| 22355 |
|
|
22433 |
|
| 22356 |
} |
|
22434 |
} |
| 22357 |
} else { |
|
22435 |
} else { |
| 22358 |
|
|
22436 |
|
| 22359 |
} |
|
22437 |
} |
| 22360 |
if (offset < 0L) { |
|
22438 |
if (offset < 0L) { |
| 22361 |
offset = (long )s1_len + offset; |
|
22439 |
offset = (long )s1_len + offset; |
| 22362 |
if (offset < 0L) { |
|
22440 |
if (offset < 0L) { |
| 22363 |
offset = 0L; |
|
22441 |
offset = 0L; |
| 22364 |
} else { |
|
22442 |
} else { |
| 22365 |
offset = offset; |
|
22443 |
offset = offset; |
| 22366 |
} |
|
22444 |
} |
| 22367 |
} else { |
|
22445 |
} else { |
| 22368 |
|
|
22446 |
|
| 22369 |
} |
|
22447 |
} |
| 22370 |
if (offset >= (long )s1_len) { |
|
22448 |
if (offset >= (long )s1_len) { |
| 22371 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
|
22449 |
php_error_docref0((char const *)((void *)0), 1 << 1L, |
| 22372 |
"The start position cannot exceed initial string length"); |
|
22450 |
"The start position cannot exceed initial string length"); |
| 22373 |
while (1) { |
|
22451 |
while (1) { |
| 22374 |
__z___1 = return_value; |
|
22452 |
__z___1 = return_value; |
| 22375 |
__z___1->value.lval = 0L; |
|
22453 |
__z___1->value.lval = 0L; |
| 22376 |
__z___1->type = (zend_uchar )3; |
|
22454 |
__z___1->type = (zend_uchar )3; |
| 22377 |
break; |
|
22455 |
break; |
| 22378 |
} |
|
22456 |
} |
| 22379 |
return; |
|
22457 |
return; |
| 22380 |
} else { |
|
22458 |
} else { |
| 22381 |
|
|
22459 |
|
| 22382 |
} |
|
22460 |
} |
| 22383 |
if (len) { |
|
22461 |
if (len) { |
| 22384 |
tmp___1 = len; |
|
22462 |
tmp___1 = len; |
| 22385 |
} else { |
|
22463 |
} else { |
| 22386 |
if ((long )s2_len > (long )s1_len - offset) { |
|
22464 |
if ((long )s2_len > (long )s1_len - offset) { |
| 22387 |
tmp___0 = (long )s2_len; |
|
22465 |
tmp___0 = (long )s2_len; |
| 22388 |
} else { |
|
22466 |
} else { |
| 22389 |
tmp___0 = (long )s1_len - offset; |
|
22467 |
tmp___0 = (long )s1_len - offset; |
| 22390 |
} |
|
22468 |
} |
| 22391 |
tmp___1 = tmp___0; |
|
22469 |
tmp___1 = tmp___0; |
| 22392 |
} |
|
22470 |
} |
| 22393 |
cmp_len = (uint )tmp___1; |
|
22471 |
cmp_len = (uint )tmp___1; |
| 22394 |
if (! cs) { |
|
22472 |
if (! cs) { |
| 22395 |
__z___2 = return_value; |
|
22473 |
__z___2 = return_value; |
| 22396 |
tmp___2 = zend_binary_strncmp((char const *)(s1 + offset), |
|
22474 |
tmp___2 = zend_binary_strncmp((char const *)(s1 + offset), |
| 22397 |
(uint )((long )s1_len - offset), |
|
22475 |
(uint )((long )s1_len - offset), |
| 22398 |
(char const *)s2, (uint )s2_len, cmp_len); |
|
22476 |
(char const *)s2, (uint )s2_len, cmp_len); |
| 22399 |
__z___2->value.lval = (long )tmp___2; |
|
22477 |
__z___2->value.lval = (long )tmp___2; |
| 22400 |
__z___2->type = (zend_uchar )1; |
|
22478 |
__z___2->type = (zend_uchar )1; |
| 22401 |
return; |
|
22479 |
return; |
| 22402 |
} else { |
|
22480 |
} else { |
| 22403 |
__z___3 = return_value; |
|
22481 |
__z___3 = return_value; |
| 22404 |
tmp___3 = zend_binary_strncasecmp((char const *)(s1 + offset), |
|
22482 |
tmp___3 = zend_binary_strncasecmp((char const *)(s1 + offset), |
| 22405 |
(uint )((long )s1_len - offset), |
|
22483 |
(uint )((long )s1_len - offset), |
| 22406 |
(char const *)s2, (uint )s2_len, cmp_len); |
|
22484 |
(char const *)s2, (uint )s2_len, cmp_len); |
| 22407 |
__z___3->value.lval = (long )tmp___3; |
|
22485 |
__z___3->value.lval = (long )tmp___3; |
| 22408 |
__z___3->type = (zend_uchar )1; |
|
22486 |
__z___3->type = (zend_uchar )1; |
| 22409 |
return; |
|
22487 |
return; |
| 22410 |
} |
|
22488 |
} |
| 22411 |
} |
|
22489 |
} |
| 22412 |
} |
|
22490 |
} |